referrerpolicy=no-referrer-when-downgrade

Function polkadot_erasure_coding::branches

source ·
pub fn branches<'a, I>(chunks: &'a [I]) -> Branches<'a, I> 
where I: AsRef<[u8]> + 'a,
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.