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 1.6k
Generic request/response infrastructure for Polkadot #2352
Merged
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
f263943
Move NetworkBridgeEvent to subsystem::messages.
eskimor 3bb1e37
Request/response infrastructure is taking shape.
eskimor 0bbd8c1
Multiplexer variant not supported by Rusts type system.
eskimor b30ba0f
request_response::request type checks.
eskimor 0d23861
Cleanup.
eskimor 1de47ac
Minor fixes for request_response.
eskimor 92f47f2
Implement request sending + move multiplexer.
eskimor 4e53e79
Remove obsolete multiplexer.
eskimor 857ab9c
Initialize bridge with multiplexer.
eskimor 1204faf
Finish generic request sending/receiving.
eskimor 3ae3171
Doc update.
eskimor 06f9966
Fixes.
eskimor a6508ac
Link issue for not yet implemented code.
eskimor 5a718dd
Fixes suggested by @ordian - thanks!
eskimor d73b567
Update node/network/protocol/src/request_response/v1.rs
eskimor d018426
Update node/network/protocol/src/request_response.rs
eskimor 49d7814
Fix existing tests.
eskimor b441b60
Better avoidance of division by zoro errors.
eskimor 25cffbd
Doc fixes.
eskimor 8c442a4
send_request -> start_request.
eskimor bc61c99
Fix missing renamings.
eskimor f89b2d6
Update substrate.
eskimor f37a4d3
Pass TryConnect instead of true.
eskimor 36388b9
Actually import `IfDisconnected`.
eskimor ad85ebe
Fix wrong import.
eskimor c776c73
Update node/network/bridge/src/lib.rs
eskimor 77ad3e4
Update node/network/bridge/src/multiplexer.rs
eskimor 3c4eb2f
Stop doing tracing from within `From` instance.
eskimor b24ff8d
Get rid of redundant import.
eskimor dca2681
Formatting cleanup.
eskimor 10320ce
Fix tests.
eskimor e0c8545
Add link to issue.
eskimor bc76e28
Clarify comments some more.
eskimor 553b1e8
Fix tests.
eskimor 7600e96
Formatting fix.
eskimor 468ce7e
tabs
32cff58
Fix link
eskimor 9369937
Use map_err.
eskimor 3877c07
Improvements inspired by suggestions by @drahnr.
eskimor f39e040
Merge branch 'rk-req-resp-2306' of github.com:paritytech/polkadot int…
eskimor 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
Large diffs are not rendered by default.
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
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.
Uh oh!
There was an error while loading. Please reload this page.