feat(gossip-support) handle network bridge updates #4509
Labels
C-simple
Minor changes changes, no additional research needed. Good first issue/review.
S-subsystems-common
Description
The Gossip Support subsystem should be able to listen on any events from the network bridge. That's because the Gossip Support subsystem issue connection requests to other nodes and that is managed by
network bridge
that when the connection is stablished sends a eventNetworkBridgeEvent::PeerConnected
and when a node is disconnectedNetworkBridgeEvent::PeerDisconnected
.Gossip support keeps a list of connected peers so it should add or remove peers whenever they connect or disconnect
Links
https://github.com/paritytech/polkadot-sdk/blob/b30aa3193048d6bbdf21408bd0cc4503010fe3f8/polkadot/node/network/gossip-support/src/lib.rs#L189
The text was updated successfully, but these errors were encountered: