This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
authority-discovery: Support multiple authority ids per peer id #10259
Merged
Merged
Changes from 6 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
edf2710
authority-discovery: Support multiple authority ids per peer id
bkchr 3074710
Merge remote-tracking branch 'origin/master' into bkchr-authority-dis…
bkchr 45b388a
Review feedback
bkchr c4f78da
Merge remote-tracking branch 'origin/master' into bkchr-authority-dis…
bkchr 75c4b44
Update client/authority-discovery/src/worker/addr_cache.rs
bkchr 960e2ff
Early return on no peer ids
bkchr 358bd85
Update client/authority-discovery/src/worker/addr_cache.rs
bkchr e4d76f7
Update types in comment
bkchr 1e87690
FMT
bkchr 24bb824
Add warning
bkchr 7feed91
Update client/authority-discovery/src/worker/addr_cache.rs
bkchr bd9423a
Feedback
bkchr 4779981
Merge branch 'bkchr-authority-discovery-multiple-peer-ids' of github.…
bkchr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
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.
Isn't the
Optionredundant here?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.
Depends on how you see it.
Nonetells you that the peer id is unknown.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.
We would also know that, if the set is empty - no? Like if there is an entry for the
PeerIdthe set should not be empty, otherwise, why would we keep the entry?