Function polkadot_erasure_coding::branches [−][src]
pub fn branches<'a, I: 'a>(chunks: &'a [I]) -> Branches<'a, I>ⓘ where
I: AsRef<[u8]>,
Expand description
Construct a trie from chunks of an erasure-coded value. This returns the root hash and an iterator of merkle proofs, one for each validator.