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.7k
Get rid of Peerset compatibility layer
#14337
Merged
Merged
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
6e38b7e
Move bootnodes from individual `SetConfig`s to `PeersetConfig`
dmitry-markin dae075d
Move `SetId` & `SetConfig` from `peerset` to `protocol_controller`
dmitry-markin 5a4f6a4
Remove unused `DropReason`
dmitry-markin 7acf0e3
Move `Message` & `IncomingIndex` from `peerset` to `protocol_controller`
dmitry-markin 037ead4
Restore running fuzz test
dmitry-markin efba474
Get rid of `Peerset` in `fuzz` test
dmitry-markin 911d26f
Spawn runners instead of manual polling in `fuzz` test
dmitry-markin 25b63cd
Migrate `Protocol` from `Peerset` to `PeerStore` & `ProtocolController`
dmitry-markin 1fbff99
Migrate `NetworkService` from `Peerset` to `PeerStore` & `ProtocolCon…
dmitry-markin 8923fb5
Migrate `Notifications` from `Peerset` to `ProtocolController`s
dmitry-markin 1350193
Migrate `Notifications` tests from `Peerset` to `ProtocolController`
dmitry-markin e0cae7e
Fix compilation of `NetworkService` & `Protocol`
dmitry-markin 10ec8b4
Fix borrowing issues in `Notifications`
dmitry-markin b92ed07
Migrate `RequestResponse`from `Peerset` to `PeerStore`
dmitry-markin b265eb8
rustfmt
dmitry-markin 5339b2e
Migrate request-response tests from `Peerset` to `PeerStore`
dmitry-markin 71ca009
Migrate `reconnect_after_disconnect` test to `PeerStore` & `ProtocolC…
dmitry-markin 8b64997
Fix `Notifications` tests
dmitry-markin eb2693e
Remove `Peerset` completely
dmitry-markin cb3b12c
Fix bug with counting sync peers in `Protocol`
dmitry-markin 649b6c1
Eliminate indirect calls to `PeerStore` via `Protocol`
dmitry-markin 094ffe5
Eliminate indirect calls to `ProtocolController` via `Protocol`
dmitry-markin dd77fba
Handle `Err` outcome from `remove_peers_from_reserved_set`
dmitry-markin 5cddda0
Add note about disconnecting sync peers in `Protocol`
dmitry-markin 84fb33d
minor: remove unneeded `clone()`
dmitry-markin 7588e32
minor: extra comma removed
dmitry-markin 7a84efc
minor: use `Stream` API of `from_protocol_controllers` channel
dmitry-markin 7b39689
minor: remove TODO
dmitry-markin a9b65dc
minor: replace `.map().flatten()` with `.flat_map()`
dmitry-markin ac22673
minor: update `ProtocolController` docs
dmitry-markin c637260
rustfmt
dmitry-markin ab05cf0
Merge remote-tracking branch 'origin/master' into dm-get-rid-of-peers…
dmitry-markin 6f17714
Apply suggestions from code review
dmitry-markin b5ec102
Extract `MockPeerStore` to `mock.rs`
dmitry-markin 1e89b2a
Merge remote-tracking branch 'origin/master' into dm-get-rid-of-peers…
dmitry-markin 0520230
Move `PeerStore` initialization to `build_network`
dmitry-markin e46fa49
minor: remove unused import
dmitry-markin 2d336a5
Merge remote-tracking branch 'origin/master' into dm-get-rid-of-peers…
dmitry-markin 02334a8
Merge remote-tracking branch 'origin/master' into dm-get-rid-of-peers…
dmitry-markin bbea1d4
minor: clarify error message
dmitry-markin c516194
Convert `syncs_header_only_forks` test into single-threaded
dmitry-markin 3c37275
Merge remote-tracking branch 'origin/master' into dm-get-rid-of-peers…
dmitry-markin 78f8884
Merge remote-tracking branch 'origin/master' into dm-get-rid-of-peers…
dmitry-markin 70d5a11
Merge remote-tracking branch 'origin/master' into dm-get-rid-of-peers…
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
rustfmt
- Loading branch information
commit b265eb8cf85ad76bc4a4351000126f08063eca71
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
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.