Function polkadot_erasure_coding::obtain_chunks_v1
source · pub fn obtain_chunks_v1(
n_validators: usize,
data: &AvailableData,
) -> Result<Vec<Vec<u8>>, Error>
Expand description
Obtain erasure-coded chunks for v1 AvailableData
, one for each validator.
Works only up to 65536 validators, and n_validators
must be non-zero.