#distribution #polkadot #bit-field #blockchain #substrate

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

20 major breaking releases

22.0.0 Apr 4, 2025
21.0.0 Jan 29, 2025
20.0.0 Jan 14, 2025
18.0.0 Oct 1, 2024
0.0.0 Nov 21, 2022

#869 in Magic Beans

Download history 962/week @ 2024-12-20 991/week @ 2024-12-27 1032/week @ 2025-01-03 1385/week @ 2025-01-10 1084/week @ 2025-01-17 1104/week @ 2025-01-24 1172/week @ 2025-01-31 1356/week @ 2025-02-07 1082/week @ 2025-02-14 1189/week @ 2025-02-21 1158/week @ 2025-02-28 1076/week @ 2025-03-07 1583/week @ 2025-03-14 1386/week @ 2025-03-21 1162/week @ 2025-03-28 1127/week @ 2025-04-04

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

GPL-3.0-only

600KB
11K 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

~97–135MB
~2.5M SLoC