- 05 Nov, 2019 9 commits
-
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
As pointed out by raul, bootstrapping and refreshing are not the same thing. Bootstrapping is the initial setup (i.e., connect to some initial nodes to get started). Refreshing is the process of refreshing the routing table.
-
Steven Allen authored
We can't generate target IDs in buckets beyond bucket 15 so there's no point.
-
Steven Allen authored
The default timeout is 10s so this won't take that long anyways. On the other hand, if we do this all at once, we max the swarms dial queue.
-
Steven Allen authored
* Rename triggerAutoBootstrap to autoBootstrap. This variable used to control _triggering_ only but now completely disables automatic bootstrapping. * Remove the BootstrapConfig. We introduced this before we switched to functional options. Now that we're breaking the interfaces anyways, we might as well use functional options all the way (easier to extend). * Always query self (feedback from @raulk). * Important: don't abort the bootstrap process if we timeout finding ourselves.
-
Steven Allen authored
-
Steven Allen authored
-
- 03 Nov, 2019 1 commit
-
-
Aarsh Shah authored
-
- 02 Nov, 2019 1 commit
-
-
Aarsh Shah authored
-
- 01 Nov, 2019 2 commits
-
-
Aarsh Shah authored
-
Steven Allen authored
1. Auto bootstrap on start. 2. Make `Bootstrap(ctx)` trigger a bootstrap but not _start_ the bootstrapping process.
-
- 11 Oct, 2019 5 commits
-
-
Aarsh Shah authored
1) on connecting to a new peer -> trigger self & bucket bootstrap if RT size goes below thereshold 2) accept formatting & doc suggestions in the review 3) remove RT recovery code for now -> will address in a separate PR once #383 goes in changes as per review
-
Aarsh Shah authored
2) seed RT if empty before starting bootstrap incase 1 hasn't fired 3) pass bootstrap config as option while creating Dht 4) replace all bootstrap function with 1 function
-
Steven Allen authored
-
Aarsh Shah authored
-
Aarsh Shah authored
-
- 26 May, 2019 1 commit
-
-
Raúl Kripalani authored
-
- 14 Mar, 2019 1 commit
-
-
Anatoliy Basov authored
It's impossible to find the self ID in the DHT because of this statement https://github.com/libp2p/go-libp2p-kad-dht/blob/ac6772539b80d687c8ed711024b104aaa881c1d6/handlers.go#L257 So maybe we should ignore the "not found" error in this case, like we do it for the random walk.
-
- 12 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
-
- 27 Feb, 2019 1 commit
-
-
Hector Sanjuan authored
-
- 26 Feb, 2019 1 commit
-
-
Hector Sanjuan authored
-
- 15 Feb, 2019 2 commits
-
-
Matt Joiner authored
-
Matt Joiner authored
-
- 03 Feb, 2019 1 commit
-
-
Matt Joiner authored
-
- 01 Feb, 2019 1 commit
-
-
Anatoliy Basov 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 8 commits
-
-
Matt Joiner authored
-
Matt Joiner authored
-
Matt Joiner authored
-
Matt Joiner authored
-
Matt Joiner authored
-
Matt Joiner authored
Remove IpfsDHT.BootstrapOnSignal.
-
Hector Sanjuan authored
-
Matt Joiner authored
-
- 22 Jan, 2019 1 commit
-
-
Matt Joiner authored
Remove IpfsDHT.BootstrapOnSignal.
-
- 26 Dec, 2018 1 commit
-
-
Dominic Della Valle authored
Also contained in "dht.go" and prints twice in godoc.
-