-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(dot/parachain): handle view update message network bridge
Over the network through collation and validation protocol, as part of WireMessage we could get a PeerMessage or a ViewUpdate. ViewUpdate tells us about latest blocks (heads) and finalized number with our peers. We are supposed to be update our peer data with these views. This commit, reads ViewUpdate from both collation and validation protocol and handles them inside network bridge by updating our peer data. Later, it sends that view to other subsystems so that each subsystem can update their view too. Fixes #3864
- Loading branch information
1 parent
cf75d6e
commit 6f4fb63
Showing
2 changed files
with
56 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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 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