#polkadot #bitfield #peer #validation #list #metrics #distribution

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

8 major breaking releases

new 8.0.0 Feb 13, 2024
7.0.0 Jan 24, 2024
6.0.0 Dec 13, 2023
5.0.0 Nov 21, 2023
0.0.0 Nov 21, 2022

#2868 in Magic Beans

Download history 115/week @ 2023-10-30 89/week @ 2023-11-06 152/week @ 2023-11-13 295/week @ 2023-11-20 382/week @ 2023-11-27 165/week @ 2023-12-04 279/week @ 2023-12-11 199/week @ 2023-12-18 135/week @ 2023-12-25 232/week @ 2024-01-01 258/week @ 2024-01-08 203/week @ 2024-01-15 288/week @ 2024-01-22 237/week @ 2024-01-29 416/week @ 2024-02-05 489/week @ 2024-02-12

1,439 downloads per month
Used in 3 crates (via polkadot-service)

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

~69–115MB
~2M SLoC