-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: do not use bootstrap list with kademlia (#199)
* fix: do not use bootstrap list with kademlia Prior to the peer_manager connecting to bootstrap peers we relied on kademlia to connect to them. Now not only is it not necessary but the peer_manager applies an appropriate backoff for redials where kademlia does not. There should be no change in external behavior except that we no longer spam dials to disconnected bootstrap peers. Now the peer_manager (renamed to ceramic_peer_manager) can report of a peer id is a ceramic peer. If we connect to a ceramic peer we add it to the kademlia routing table regardless of its reported protocols. This is because we discovered that peers sometimes do not report they support the kademlia protocol. * fix: typo
- Loading branch information
1 parent
1e9cba6
commit ad65ccc
Showing
6 changed files
with
158 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.