pub fn obtain_chunks<T: Encode>( n_validators: usize, data: &T) -> Result<Vec<Vec<u8>>, Error>
Obtain erasure-coded chunks, one for each validator.
Works only up to 65536 validators, and n_validators must be non-zero.
n_validators