#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

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

#16 in #availability

Download history 625/week @ 2024-09-06 674/week @ 2024-09-13 785/week @ 2024-09-20 1167/week @ 2024-09-27 697/week @ 2024-10-04 736/week @ 2024-10-11 928/week @ 2024-10-18 700/week @ 2024-10-25 1037/week @ 2024-11-01 753/week @ 2024-11-08 1210/week @ 2024-11-15 1251/week @ 2024-11-22 1106/week @ 2024-11-29 1425/week @ 2024-12-06 1586/week @ 2024-12-13 924/week @ 2024-12-20

5,184 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