referrerpolicy=no-referrer-when-downgrade

Function polkadot_erasure_coding::branch_hash

source ·
pub fn branch_hash(
    root: &Hash,
    branch_nodes: &Proof,
    index: usize,
) -> Result<Hash, Error>
Expand description

Verify a merkle branch, yielding the chunk hash meant to be present at that index.