#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.15.0)

16 major breaking releases

new 17.0.0 Jul 19, 2024
15.0.0 Jul 13, 2024
14.0.0 Jun 24, 2024
13.0.0 May 24, 2024
0.0.0 Nov 21, 2022

#225 in Magic Beans

Download history 539/week @ 2024-04-03 765/week @ 2024-04-10 552/week @ 2024-04-17 462/week @ 2024-04-24 685/week @ 2024-05-01 456/week @ 2024-05-08 836/week @ 2024-05-15 777/week @ 2024-05-22 837/week @ 2024-05-29 1026/week @ 2024-06-05 754/week @ 2024-06-12 634/week @ 2024-06-19 913/week @ 2024-06-26 316/week @ 2024-07-03 521/week @ 2024-07-10 426/week @ 2024-07-17

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

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

~93–135MB
~2.5M SLoC