-
Notifications
You must be signed in to change notification settings - Fork 26
kademlia: Track success of ADD_PROVIDER queries
#432
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 all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
05318b9
minor: fix warnings in transport/manager
dmitry-markin f4259c8
Add `QueryId` field to `QueryAction::PutRecordToFoundNodes`
dmitry-markin 0874d72
Introduce `QueryType::PutRecordToFoundNodes`
dmitry-markin 269a807
Track `PUT_VALUE` responses and emit `PutRecordSucceeded`
dmitry-markin 7b2b2b4
Merge branch 'master' into dm-put-record-success
dmitry-markin de6e235
Send ACK responses to `PUT_VALUE` requests
dmitry-markin 22fad0b
Extend tests
dmitry-markin 5dc45cc
Clamp `Quorum::N` by number of discovered peers during `PUT_VALUE`
dmitry-markin 2459646
minor: typo
dmitry-markin 765883c
minor: revert feature flag fix now in master
dmitry-markin 6644f83
minor: make clippy happy
dmitry-markin 09317fc
Apply review suggestions
dmitry-markin 531926f
Apply more review suggestions
dmitry-markin 2bb7e88
Merge remote-tracking branch 'origin/master' into dm-put-record-success
dmitry-markin 988270b
Omit sending optional fields in `PUT_VALUE` ACK response
dmitry-markin 129a3f3
Rename `PutRecordToFoundNodesContext`->`ContactFoundNodesContext`
dmitry-markin 74c2cd9
Track success/failure of sending a message to peers
dmitry-markin 16a9683
minor: naming
dmitry-markin 9a2f09c
Polish query success/failure reporting
dmitry-markin ecb137f
Update tests
dmitry-markin ddadb2e
Correctly track send successes as part of send/read requests
dmitry-markin 9701164
Eat `PUT_VALUE` ACKs
dmitry-markin 3cb8b95
Simplify `QueryResult`
dmitry-markin 89d0ee2
Handle peers not receiving ACKs
dmitry-markin a001b3e
Reference issue #429 in TODOs
dmitry-markin 858c54d
Pass `Quorum` for local providers
dmitry-markin 4f1d471
Update tests to include quorum for local providers
dmitry-markin e1127c4
Track `ADD_PROVIDER` query success
dmitry-markin cdb007a
Add `QueryEngine` tests for `ADD_PROVIDER` progress tracking
dmitry-markin 8a573c9
Update Kademlia e2e tests
dmitry-markin e6aad45
Make `RemotePublicKey` public to enable signature verification
dmitry-markin 47746a6
Silently ignore send success for request-response requests
dmitry-markin d64e3b9
Merge branch 'dm-put-record-substream-tracking' into dm-add-provider-…
dmitry-markin 0307643
Handle remote responding with incorrect message
dmitry-markin b2586d4
Merge remote-tracking branch 'origin/master' into dm-put-record-success
dmitry-markin 7391ba3
Merge branch 'dm-put-record-success' into dm-put-record-substream-tra…
dmitry-markin b42583f
Merge branch 'dm-put-record-substream-tracking' into dm-add-provider-…
dmitry-markin 1a0969a
Merge remote-tracking branch 'origin/master' into dm-put-record-success
dmitry-markin 772797d
Merge branch 'dm-put-record-success' into dm-put-record-substream-tra…
dmitry-markin 812eaed
Merge branch 'dm-put-record-substream-tracking' into dm-add-provider-…
dmitry-markin ae072a8
monor: return copyright notice
dmitry-markin fc1186e
Merge remote-tracking branch 'origin/master' into dm-add-provider-suc…
dmitry-markin 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
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.
Uh oh!
There was an error while loading. Please reload this page.