feat(gossip-support) update gossip topology #4510
Labels
C-complex
Complex changes across multiple modules. Possibly will require additional research.
S-subsystems-common
Description
When handling active leaves, Gossip Support checks if the session changes, in such case we should update the topology given that a new session means new authorities. To create the new gossip topology we need:
Vec<AuthorityDiscoveryId>
), that is retrieved from the session infofisher_yates
shuffle function to shuffle these list of authoritiesNetworkBridgeRxMessage::NewGossipTopology
to the overseer with the shuffled authoritiesLinks
https://github.com/paritytech/polkadot-sdk/blob/b30aa3193048d6bbdf21408bd0cc4503010fe3f8/polkadot/node/network/gossip-support/src/lib.rs#L674
Acceptance Criteria
The text was updated successfully, but these errors were encountered: