#validation #session #gossip #track #subsystem #connection #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.

18 major breaking releases

new 20.0.0 Jan 14, 2025
18.0.0 Oct 1, 2024
17.0.0 Jul 19, 2024
15.0.0 Jul 13, 2024
0.0.0 Nov 21, 2022

#597 in Magic Beans

Download history 1098/week @ 2024-09-25 815/week @ 2024-10-02 775/week @ 2024-10-09 738/week @ 2024-10-16 837/week @ 2024-10-23 993/week @ 2024-10-30 803/week @ 2024-11-06 1100/week @ 2024-11-13 1294/week @ 2024-11-20 1033/week @ 2024-11-27 1369/week @ 2024-12-04 1475/week @ 2024-12-11 1328/week @ 2024-12-18 922/week @ 2024-12-25 925/week @ 2025-01-01 1284/week @ 2025-01-08

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

GPL-3.0-only

77KB
2K SLoC

Release

Polkadot SDK Stable 2412


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

~93–130MB
~2.5M SLoC