22 major breaking releases
| 23.0.0 | Dec 18, 2025 |
|---|---|
| 22.0.0 | Oct 2, 2025 |
| 21.0.0 | Aug 1, 2025 |
| 20.0.0 | Jul 14, 2025 |
| 0.0.0 |
|
#14 in #erasure-coding
4,210 downloads per month
Used in 46 crates
(8 directly)
1MB
16K
SLoC
As part of Polkadot's availability system, certain pieces of data for each block are required to be kept available.
The way we accomplish this is by erasure coding the data into n pieces and constructing a merkle root of the data.
Each of n validators stores their piece of data. We assume n = 3f + k, 0 < k ≤ 3.
f is the maximum number of faulty validators in the system.
The data is coded so any f+1 chunks can be used to reconstruct the full data.
Dependencies
~43MB
~712K SLoC