#relay #subsystem #bit-fields #distribution #peer #availability #signed

polkadot-availability-bitfield-distribution

Polkadot Bitfiled Distribution subsystem, which gossips signed availability bitfields used to compactly determine which backed candidates are available or not based on a 2/3+ quorum

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

#15 in #availability

Download history 451/week @ 2024-07-23 372/week @ 2024-07-30 484/week @ 2024-08-06 598/week @ 2024-08-13 670/week @ 2024-08-20 433/week @ 2024-08-27 446/week @ 2024-09-03 747/week @ 2024-09-10 629/week @ 2024-09-17 932/week @ 2024-09-24 1011/week @ 2024-10-01 775/week @ 2024-10-08 712/week @ 2024-10-15 878/week @ 2024-10-22 869/week @ 2024-10-29 876/week @ 2024-11-05

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

GPL-3.0-only

72KB
2K SLoC

Release

Polkadot SDK stable2409


lib.rs:

The bitfield distribution

In case this node is a validator, gossips its own signed availability bitfield for a particular relay parent. Independently of that, gossips on received messages from peers to other interested peers.

Dependencies

~99–140MB
~2.5M SLoC