- 15 Jun, 2021 2 commits
- 14 Jun, 2021 2 commits
-
-
Marten Seemann authored
fix staticcheck
-
Marten Seemann authored
-
- 27 May, 2021 7 commits
-
-
Adin Schmahmann authored
fix: fullrt dht bug fixes
-
gammazero authored
The execOnMany function was able to exit prematurely, leaving its child goroutines running. These would write to a channel that closed after execOnMany returned in findProvidersAsyncRoutine. The function is now able to run both in a sloppy mode where it allows goroutines to be cleaned up after the function has completed as well a safer non-sloppy mode where goroutines will complete before the function returns. The sloppy mode is used for DHT "get" operations like FindProviders and SearchValues whereas the non-sloppy mode is used for "put" operations like PutValue and Provide (along with their bulk operation equivalents). This fixes https://github.com/ipfs/go-ipfs/issues/8146
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
- 14 May, 2021 1 commit
-
-
Adin Schmahmann authored
* fullrt: add experimental FullRT DHT client The FullRT client periodically crawls the network to fill its local routing table and uses that to perform queries. It supports performing many provides or puts together taking advantage of efficiencies of grouping the DHT operations by where they will occur in the Kademlia space. Additionally, it has a more tunable function for determining when a query is complete that does not require waiting on any individual peer (which could be offline) to respond. This client is experimental and its exposed interfaces should be expected to change and break over time. * crawler: starting peers with addresses and peers found during a crawl have their addresses extended. logging improved * dht: move IpfsDHT options to the internal package. Make a breaking change to the filter interfaces to support more DHT implementations * dht: GetClosestPeers now returns a slice of peers instead of a channel of peers since we have to wait for the query to complete to return the closest peers anyway * dht: the subscriberNotifiee has been refactored to work more independently of the underlying message sender implementation
-
- 30 Apr, 2021 4 commits
-
-
Steven Allen authored
test: fix unique addr check
-
Steven Allen authored
If we have, e.g., multiple transports, we'll have multiple addresses. Really, we were just trying to make sure the DHT returned unique addresses.
-
Steven Allen authored
chore: update deps
-
Steven Allen authored
- go-libp2p - protobuf (and regen)
-
- 22 Apr, 2021 1 commit
-
-
Adin Schmahmann authored
* feat: added a simple dht crawler Co-authored-by: Will Scott <will@cypherpunk.email>
-
- 08 Apr, 2021 2 commits
-
-
Marten Seemann authored
various staticcheck fixes
-
Marten Seemann authored
-
- 05 Apr, 2021 1 commit
-
-
Adin Schmahmann authored
findpeer should work even on peers that are not part of DHT queries
-
- 01 Apr, 2021 3 commits
-
-
Adin Schmahmann authored
When performing queries query the next peer if it happens to match the target even if it would normally be excluded by the queryfilter. This is meant for fixing FindPeer, but for ease of implementation is applying more broadly to queries like GetClosestPeers as well.
-
Adin Schmahmann authored
-
Adin Schmahmann authored
test: add test for findpeer query on node that does not qualify to be dialed as part of the query under the queryfilter
-
- 04 Jan, 2021 16 commits
-
-
Adin Schmahmann authored
Extract DHT message sender from the DHT
-
Adin Schmahmann authored
dht.msgSender
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
Adin Schmahmann authored
refactor: rename messageSender to peerMessageSender and added comments to clarify what peerMessageSender and messageManager do
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
Adin Schmahmann authored
refactor: extract messaging components from IpfsDHT into its own struct. create a new struct that manages sending DHT messages that can be used independently from the DHT.
-
- 09 Dec, 2020 1 commit
-
-
Adin Schmahmann authored
Fix constructor ordering
-