#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

#17 in #gossip

Download history 454/week @ 2024-07-20 404/week @ 2024-07-27 407/week @ 2024-08-03 516/week @ 2024-08-10 748/week @ 2024-08-17 462/week @ 2024-08-24 443/week @ 2024-08-31 654/week @ 2024-09-07 604/week @ 2024-09-14 852/week @ 2024-09-21 1128/week @ 2024-09-28 681/week @ 2024-10-05 774/week @ 2024-10-12 925/week @ 2024-10-19 764/week @ 2024-10-26 996/week @ 2024-11-02

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

~98–140MB
~2.5M SLoC