#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. (polkadot v1.10.0)

11 major breaking releases

new 11.0.0 Apr 10, 2024
10.0.0 Mar 19, 2024
9.0.0 Feb 27, 2024
8.0.0 Feb 13, 2024
0.0.0 Nov 21, 2022

#6 in Magic Beans

Download history 98/week @ 2023-12-18 18/week @ 2023-12-25 154/week @ 2024-01-01 162/week @ 2024-01-08 99/week @ 2024-01-15 181/week @ 2024-01-22 126/week @ 2024-01-29 310/week @ 2024-02-05 381/week @ 2024-02-12 519/week @ 2024-02-19 1002/week @ 2024-02-26 468/week @ 2024-03-04 383/week @ 2024-03-11 835/week @ 2024-03-18 793/week @ 2024-03-25 977/week @ 2024-04-01

3,019 downloads per month
Used in 2 crates (via polkadot-service)

GPL-3.0-only

63KB
1.5K 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

~74–120MB
~2M SLoC