#gossip #track #polkadot #connection #request #responsible #keeping #topology #issuing #session

polkadot-gossip-support

Polkadot Gossip Support subsystem. Responsible for keeping track of session changes and issuing a connection request to the relevant validators on every new session.

20 major breaking releases

22.0.0 Apr 4, 2025
21.0.0 Jan 29, 2025
20.0.0 Jan 14, 2025
18.0.0 Oct 1, 2024
0.0.0 Nov 21, 2022

#5 in #issuing

Download history 1336/week @ 2025-02-10 1078/week @ 2025-02-17 1159/week @ 2025-02-24 1061/week @ 2025-03-03 1373/week @ 2025-03-10 1373/week @ 2025-03-17 1474/week @ 2025-03-24 1187/week @ 2025-03-31 1117/week @ 2025-04-07 1086/week @ 2025-04-14 2034/week @ 2025-04-21 1508/week @ 2025-04-28 1254/week @ 2025-05-05 1187/week @ 2025-05-12 985/week @ 2025-05-19 901/week @ 2025-05-26

4,497 downloads per month
Used in 3 crates (2 directly)

GPL-3.0-only

2MB
44K SLoC

This subsystem is responsible for keeping track of session changes and issuing a connection request to the relevant validators on every new session.

In addition to that, it creates a gossip overlay topology which limits the amount of messages sent and received to be an order of sqrt of the validators. Our neighbors in this graph will be forwarded to the network bridge with the NetworkBridgeRxMessage::NewGossipTopology message.

Dependencies

~95–135MB
~2.5M SLoC