Skip to content
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

feat(gossip-support) handle network bridge updates #4509

Open
EclesioMeloJunior opened this issue Jan 27, 2025 · 0 comments
Open

feat(gossip-support) handle network bridge updates #4509

EclesioMeloJunior opened this issue Jan 27, 2025 · 0 comments
Labels
C-simple Minor changes changes, no additional research needed. Good first issue/review. S-subsystems-common

Comments

@EclesioMeloJunior
Copy link
Member

EclesioMeloJunior commented Jan 27, 2025

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 event NetworkBridgeEvent::PeerConnected and when a node is disconnected NetworkBridgeEvent::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

@EclesioMeloJunior EclesioMeloJunior added C-simple Minor changes changes, no additional research needed. Good first issue/review. S-subsystems-common labels Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-simple Minor changes changes, no additional research needed. Good first issue/review. S-subsystems-common
Projects
None yet
Development

No branches or pull requests

1 participant