-
-
Notifications
You must be signed in to change notification settings - Fork 402
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle failures of individual dht routers
If a single dht router is offline/unavailable, we should still be able to successfully resolve the remainder and bootstrap. Additionally, tweak how initialisation is handled. The list of initial nodes and the DHT bootstrap nodes must be provided at the start. If both are provided then the initial nodes will be used for bootstrapping prior to attempting to resolve/use the DHT bootstrap nodes. If an empty list of bootstrap nodes is provided, then no lookup will be performed and only the 'initial nodes' will be used for bootstrapping. If an empty list of initial nodes and an empty list of bootstrap nodes are provided, then the engine will fail to initialise.
- Loading branch information
1 parent
24877e7
commit 9e98a44
Showing
4 changed files
with
29 additions
and
22 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
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