Skip to main content

child_values

Function child_values 

Source
fn child_values(
    node: &MerkleNode<Commitment<Header>, u64, Sha3Node>,
    parent: u64,
    edge: u64,
    edge_value: Sha3Node,
) -> Result<Vec<Sha3Node>>
Expand description

Child values of node, whose children have indices parent * ARITY + n at their level, in the tree where the rightmost non-empty node of that level is edge with value edge_value.