#validation #session #gossip #track #connection #subsystem #request

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.

17 major breaking releases

18.0.0 Oct 1, 2024
17.0.0 Jul 19, 2024
15.0.0 Jul 13, 2024
14.0.0 Jun 24, 2024
0.0.0 Nov 21, 2022

#20 in #gossip

Download history 431/week @ 2024-08-26 446/week @ 2024-09-02 659/week @ 2024-09-09 630/week @ 2024-09-16 904/week @ 2024-09-23 1090/week @ 2024-09-30 714/week @ 2024-10-07 774/week @ 2024-10-14 896/week @ 2024-10-21 814/week @ 2024-10-28 982/week @ 2024-11-04 771/week @ 2024-11-11 1422/week @ 2024-11-18 1111/week @ 2024-11-25 1077/week @ 2024-12-02 1591/week @ 2024-12-09

5,285 downloads per month
Used in 3 crates (2 directly)

GPL-3.0-only

76KB
2K SLoC

Release

Polkadot SDK stable2409


lib.rs:

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

~99–140MB
~2.5M SLoC