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

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. (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

#1551 in Magic Beans

Download history 952/week @ 2024-03-29 702/week @ 2024-04-05 466/week @ 2024-04-12 531/week @ 2024-04-19 631/week @ 2024-04-26 500/week @ 2024-05-03 532/week @ 2024-05-10 778/week @ 2024-05-17 838/week @ 2024-05-24 830/week @ 2024-05-31 1127/week @ 2024-06-07 530/week @ 2024-06-14 893/week @ 2024-06-21 733/week @ 2024-06-28 265/week @ 2024-07-05 374/week @ 2024-07-12

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

GPL-3.0-only

72KB
2K SLoC

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

~91–130MB
~2.5M SLoC