-
Notifications
You must be signed in to change notification settings - Fork 1.2k
protocols/kad: Improve options to efficiently retrieve #2712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
7ce7057
feat(kad): add limit option for getting providers
dignifiedquire 769ce4b
feat(kad): report get_providers call event based
dignifiedquire f68c903
change `GetRecord`api
dignifiedquire baf3e60
apply cr
dignifiedquire 5db1bfa
tests and fixups for getclosestpeers
dignifiedquire 91b5f59
remove KademliaCaching
dignifiedquire 30eb56c
apply cr: move to nonzerousize
dignifiedquire 0720deb
fix example
dignifiedquire a0b26b0
happy clippy
dignifiedquire e0e79fd
protocols/kad: Refactor step tracking
mxinden a4f0210
cr feedback round 1
dignifiedquire 4e448c4
cr: improve api for GetRecordOk and GetProvidersOk
dignifiedquire 96a952e
fixup rebase of examples
dignifiedquire 2724afd
switch to counter for number of observed record
dignifiedquire 83a2a86
bring back kademliacaching
dignifiedquire b483983
examples/file-sharing: Revert usage of HashSet
mxinden aa8a6ce
examples/file-sharing: Finish query once provider is found
mxinden 3912acc
protocols/kad: Remove pub(crate) from replication_factor
mxinden e339cdf
protocols/kad: Refactor get_record
mxinden 3ced598
protocols/kad: Refactor get_providers step instantiation
mxinden ac2e525
protocols/kad: Remove pub from ProgressStep methods
mxinden 5ca8d70
remove unused as_intermediary_result
dignifiedquire bd05da6
fix test cr comments
dignifiedquire c7c4341
fixup: rebase
dignifiedquire 5ecf9cb
use get instead of checked_add
dignifiedquire 055636e
Update protocols/kad/src/behaviour.rs
dignifiedquire d5cb7e9
Merge branch 'master' into feat-kad-count
dignifiedquire 0e443d4
Merge remote-tracking branch 'upstream/master' into feat-kad-count
dignifiedquire c9c00df
add changelog
dignifiedquire 05e29d4
Update protocols/kad/CHANGELOG.md
dignifiedquire 1223f02
Update protocols/kad/CHANGELOG.md
dignifiedquire 9c28d98
Update protocols/kad/CHANGELOG.md
dignifiedquire cfd5461
Merge branch 'master' into feat-kad-count
dignifiedquire 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
add changelog
- Loading branch information
commit c9c00df33c40052fa56b7108ebf7d79f6e533595
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
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.
Uh oh!
There was an error while loading. Please reload this page.