- 14 Apr, 2020 1 commit
-
-
Steven Allen authored
This function is called frequently, let's avoid allocating as much as possible.
-
- 10 Apr, 2020 5 commits
-
-
Steven Allen authored
feat: expose WANActive
-
Steven Allen authored
fix: improve error handling in dual dht
-
Steven Allen authored
1. FindPeer should succeed as long as we find the peer in one DHT. 2. If we get a kbucket error from one DHT, return the error from the other DHT. 3. Avoid returning the same error twice.
-
Steven Allen authored
fix: dedup addresses
-
Steven Allen authored
-
- 09 Apr, 2020 29 commits
-
-
Steven Allen authored
That way, external users can easily determine which DHT they should use. E.g., in go-ipfs, I'd like to call GetClosestPeers in the `ipfs dht` commands based on the "active" DHT.
-
Steven Allen authored
Fix bug in periodic peer pinging
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
Dual DHT scaffold
-
Will Scott authored
-
Aarsh Shah authored
-
Aarsh Shah authored
-
Will Scott authored
-
Will Scott authored
-
Steven Allen authored
chore: linting fixes
-
Aarsh Shah authored
-
Alan Shaw authored
-
Alan Shaw authored
-
Alan Shaw authored
-
Alan Shaw authored
-
Alan Shaw authored
-
Alan Shaw authored
-
Will Scott authored
-
Will Scott authored
-
Will Scott authored
-
Will Scott authored
-
Steven Allen authored
fix: remove local provider check
-
Will Scott authored
-
Will authored
fix: use the routing table filter
-
Will Scott authored
-
Will Scott authored
-
Will Scott authored
-
Steven Allen authored
It doesn't actually work. Blocks are stored under /blocks and have been since 2015. Furthermore, this is just wrong. We shouldn't go digging through the datastore to see if we happen to have the block. If we want something like this, we should include a blockstore in the provider manager.
-
- 08 Apr, 2020 5 commits
-
-
Steven Allen authored
Unfortunately, constructing a router is _not_ cheap. Cache it so we don't have to re-compute it every time we get a query.
-
Steven Allen authored
fixes #575
-
Will Scott authored
-
Will Scott authored
-
Will Scott authored
-