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

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

19 major breaking releases

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

#216 in Magic Beans

Download history 775/week @ 2024-10-09 740/week @ 2024-10-16 836/week @ 2024-10-23 990/week @ 2024-10-30 800/week @ 2024-11-06 1098/week @ 2024-11-13 1294/week @ 2024-11-20 1031/week @ 2024-11-27 1374/week @ 2024-12-04 1480/week @ 2024-12-11 1331/week @ 2024-12-18 928/week @ 2024-12-25 925/week @ 2025-01-01 1285/week @ 2025-01-08 1203/week @ 2025-01-15 898/week @ 2025-01-22

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

GPL-3.0-only

71KB
2K SLoC

Release

Polkadot SDK Stable 2412


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

~93–130MB
~2.5M SLoC