- 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
-
- 02 Dec, 2020 3 commits
-
-
Adin Schmahmann authored
reorder startup events so that everything but the refresh manager starts before we add already connected peers to our routing table
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
- 12 Nov, 2020 2 commits
-
-
Steven Allen authored
feat: update to go-libp2p-core 0.7.0
-
Steven Allen authored
Update for stream interface changes. See https://github.com/libp2p/go-libp2p-core/releases/tag/v0.7.0 for details.
-
- 20 Oct, 2020 1 commit
-
-
Adin Schmahmann authored
Run fixLowPeers on startup
-
- 08 Oct, 2020 1 commit
-
-
Sam authored
-
- 17 Sep, 2020 2 commits
- 02 Sep, 2020 2 commits
-
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-