-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: Remove
BootstrapCache
and hard-coded contacts
This is another change intended to shed some cleverness from this library. It's likely that users will already be storing and maintaining a list of contacts, so rather than having to synchronise that with this library, we now just accept a list of contacts when `bootstrap` is called. BREAKING CHANGE: `Config::hard_coded_contacts` and `Config::bootstrap_cache_dir` have been removed. Additionally, `QuicP2p::with_config` no longer takes `bootstrap_nodes` – these should instead be passed to `QuicP2p::bootstrap`. Finally, the `Error::InvalidPath` and `Error::UserHomeDir` variants have been removed.
- Loading branch information
Showing
11 changed files
with
61 additions
and
491 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
Oops, something went wrong.