- 11 Dec, 2019 1 commit
-
-
Steven Allen authored
Otherwise, we could decide to _not_ add a peer, disconnect from most peers, and be unable to query the DHT even if we're technically connected to a peer in the DHT.
-
- 10 Dec, 2019 1 commit
-
-
Steven Allen authored
We'd like to be able to refresh then _wait_ for the refresh to finish in the testground DHT tests. That way, we can: 1. Start and disable _auto_ refresh. 2. Bootstrap. 3. Refresh a couple of times till we're stable. 4. Wait to _stop_ refreshing. 5. Disconnect from and forget about all peers _not_ in our routing tables. 6. Run the actual tests without interference from the bootstrapping logic.
-
- 05 Nov, 2019 3 commits
-
-
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
* 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
-
- 01 Nov, 2019 1 commit
-
-
Aarsh Shah authored
-
- 11 Oct, 2019 1 commit
-
-
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
-
- 26 May, 2019 1 commit
-
-
Raúl Kripalani authored
-
- 05 Jun, 2018 1 commit
-
-
Steven Allen authored
That is, actually wait for the other end to send us an EOF.
-
- 01 Jun, 2018 1 commit
-
-
Erin Swenson-Healey authored
-
- 01 Apr, 2018 1 commit
-
-
Michael Muré authored
-
- 08 Jan, 2018 2 commits
-
-
Steven Allen authored
-
Steven Allen 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
-
- 28 Oct, 2017 1 commit
-
-
Jeromy authored
-
- 19 Oct, 2017 1 commit
-
-
Steven Allen authored
Not really an error.
-
- 19 Sep, 2017 1 commit
-
-
Jeromy authored
-
- 27 Jul, 2017 4 commits
-
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
fixes #70
-
- 26 Jul, 2017 1 commit
-
-
Steven Allen authored
This isn't the correct fix but the correct fix is probably not worth it. introduces #70
-
- 18 Jan, 2017 1 commit
-
-
Jeromy authored
-
- 10 Jan, 2017 1 commit
-
-
Jeromy authored
-
- 05 Oct, 2016 1 commit
-
-
Jeromy authored
-
- 24 Sep, 2016 1 commit
-
-
Jeromy authored
-
- 02 Sep, 2016 1 commit
-
-
George Antoniadis authored
-
- 21 Aug, 2016 1 commit
-
-
George Antoniadis authored
-
- 04 Jul, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 24 Jun, 2016 1 commit
-
-
Jakub Sztandera authored
* Update golog in go-ipfs License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch> * Update go-libp2p for go-log License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch> * Update go-libp2p-secio for go-log License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch> * Update go-libp2p-crypto for go-log License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch> * Update go-libp2p-peer for go-log License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch> * Import peersore, it wasn't imported License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch> * Update peerstore License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch> * Update peer License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch> * Update secio License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch> * Update go-libp2p License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
- 15 Jun, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 11 Jun, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 07 Jun, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 01 Jun, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 31 May, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 17 May, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 16 May, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 13 May, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 10 May, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-
- 27 Apr, 2016 1 commit
-
-
Jeromy authored
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
-