This repository has been archived by the owner on Oct 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 165
fix restore_bootstrappers doesn't enable content discovery #406
Merged
Conversation
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
I'll update this when the #400 is merged so that I can add this to changelog but unless the build fails I dont have anything to add. |
ljedrz
approved these changes
Oct 6, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👌
using the ipfs.restore_bootstrappers() should probably be the default way in order to set the default bootstrappers.
fixes rs-ipfs#405 while also changing the return value to be the restored values (at the moment 0 or 1 multiaddrs).
return all instead of returning only the delta, as required by the interface-http-core tests.
this might not be a complete solution to removing bootstrap peers, as we might need to disconnect from them as well but they shouldn't at least be considered for dht queries anymore.
koivunej
changed the title
fix restore_bootstrappers not enabling content discovery
fix restore_bootstrappers doesn't enable content discovery
Oct 7, 2020
Tested locally, this is great. What do we need to get it out of draft status? :) Also should we release 0.2.1 after this is merged? |
Tested manually that these still work ok:
|
Yeah it's probably best to cut a release soon but maybe wait for #409. |
ljedrz
reviewed
Oct 7, 2020
ljedrz
reviewed
Oct 7, 2020
ljedrz
reviewed
Oct 7, 2020
ljedrz
reviewed
Oct 7, 2020
ljedrz
reviewed
Oct 7, 2020
ljedrz
reviewed
Oct 7, 2020
Co-authored-by: ljedrz <ljedrz@users.noreply.github.com>
bors r+ |
Build succeeded: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #405 and also:
dht_popular_content_discovery
testadds some FIXMEs we couldn't decide yet on the other /bootstrap implhandled--default-bootstrappers
option/mode