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

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

#16 in #gossip

Download history 339/week @ 2024-07-02 488/week @ 2024-07-09 470/week @ 2024-07-16 431/week @ 2024-07-23 368/week @ 2024-07-30 481/week @ 2024-08-06 591/week @ 2024-08-13 667/week @ 2024-08-20 432/week @ 2024-08-27 443/week @ 2024-09-03 747/week @ 2024-09-10 641/week @ 2024-09-17 955/week @ 2024-09-24 1004/week @ 2024-10-01 775/week @ 2024-10-08 643/week @ 2024-10-15

3,533 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

~96–135MB
~2.5M SLoC