- 23 Jul, 2019 1 commit
-
-
Aarsh Shah authored
Implement striped locking for datastore puts.
-
- 26 May, 2019 1 commit
-
-
Raúl Kripalani authored
-
- 15 Apr, 2019 1 commit
-
-
Adrian Lanzafame authored
Add initial set of metrics exposed via OpenCensus.
-
- 14 Mar, 2019 1 commit
-
-
Matt Joiner authored
-
- 05 Mar, 2019 1 commit
-
-
Matt Joiner authored
* Add IpfsDHT.{Bootstrap{Random,Self},Peer{Id,Key}} * Include client mode tests, support for Ping, and uncruft setupDHTs * Include xerrors in deps
-
- 12 Feb, 2019 2 commits
-
-
Raúl Kripalani authored
This reverts commit 7e68ac3c.
-
Adrian Lanzafame authored
-
- 03 Feb, 2019 1 commit
-
-
Matt Joiner authored
-
- 30 Jan, 2019 1 commit
-
-
Matt Joiner authored
* Remove signal bootstrapping Remove IpfsDHT.BootstrapOnSignal. * Type check expected interfaces on IpfsDHT * Simplify the bootstrap logic * Tidy up a few other things * Include BootstrapOnce * Add comment about duplicating sanity checks * Use existing import naming convention * Defer error wrapping until we need it * Restore existing query count behaviour
-
- 24 Jan, 2019 1 commit
-
-
Steven Allen authored
-
- 23 Jan, 2019 1 commit
-
-
Matt Joiner authored
-
- 22 Jan, 2019 1 commit
-
-
ZhengQi authored
* add RoutingTable func * fix gofmt
-
- 09 Jan, 2019 1 commit
-
-
Gustvo Chain authored
Both, dht.go and dht_bootstrap.go duplicate the package documentation. The whole block had been moved to doc.go Also query.go provides documentation for query package but now it belongs to dht package, so it's been removed.
-
- 15 Nov, 2018 2 commits
-
-
Marcin Tojek authored
-
Marcin Tojek authored
-
- 12 Sep, 2018 1 commit
-
-
Kevin Atkinson authored
-
- 08 Aug, 2018 1 commit
-
-
Steven Allen authored
fixes #177
-
- 03 Aug, 2018 1 commit
-
-
gpestana authored
-
- 02 Aug, 2018 1 commit
-
-
gpestana authored
-
- 15 Jun, 2018 1 commit
-
-
Steven Allen authored
This way, users who are actually trying to find a peer (not just nodes near a key in the DHT) can find that peer, even if they aren't a DHT server and/or aren't in anyone's routing table. fixes #161
-
- 14 Jun, 2018 1 commit
-
-
Steven Allen authored
-
- 13 Jun, 2018 1 commit
-
-
Steven Allen authored
Also, double check the key (should be impossible but the check is cheep).
-
- 03 Jun, 2018 1 commit
-
-
Steven Allen authored
fixes #154
-
- 01 Jun, 2018 4 commits
-
-
Erin Swenson-Healey authored
-
Erin Swenson-Healey authored
-
Steven Allen authored
Instead of changing the existing constructors, add a new DHT constructor that takes options (and add DHT options).
-
Steven Allen authored
Note: this does mean that the DHT won't work with peer keys by default and that the constructor signature changes. Given all the changes that'll come with the libp2p refactor, I don't feel too bad about this.
-
- 21 May, 2018 1 commit
-
-
Cole Brown authored
-
- 28 Mar, 2018 1 commit
-
-
Lars Gierth authored
-
- 27 Mar, 2018 1 commit
-
-
ForrestWeston authored
License: MIT Signed-off-by: ForrestWeston <forrest@protocol.ai>
-
- 07 Feb, 2018 1 commit
-
-
Dirk McCormick authored
-
- 07 Jan, 2018 1 commit
-
-
Steven Allen authored
Before, we could end up (e.g.): 1. Creating two connections (both sides connect at the same time). 2. Try to test with the first one. 3. The first connection dies. 4. Get a stream reset and think that the other side doesn't support the DHT protocol. We tried to fix this by checking for an EOF. Unfortunately, reset streams don't return EOFs. This commit also simplifies peer tracking (and saves a bit of memory). fixes #99
-
- 11 Dec, 2017 1 commit
-
-
ForrestWeston authored
License: MIT Signed-off-by: ForrestWeston <forrest@protocol.ai>
-
- 05 Dec, 2017 1 commit
-
-
Steven Allen authored
Try to preallocate slices up-front instead of repeatedly reallocating.
-
- 08 Oct, 2017 1 commit
-
-
Jeromy authored
-
- 27 Jul, 2017 1 commit
-
-
Steven Allen authored
fixes #70
-
- 06 Mar, 2017 2 commits
-
-
Jeromy authored
First, we use Alpha instead of K as the number of peers we grab from the routing table (as per the kademlia paper). Second, we don't use a size limited set for the 'GetClosestPeers' query. We're going to process more than K peers before we find the K closest peers. Third, Change GetClosestPeers to actually return the K Closest peers, not a hodge podge of peers that it found on the way to finding the closest peers.
-
Jeromy authored
-
- 22 Nov, 2016 1 commit
-
-
Jeromy authored
-
- 16 Nov, 2016 1 commit
-
-
Jeromy authored
-