[][src]Function geen::algos::family_branch

pub fn family_branch(pos: usize, last_pos: usize) -> Vec<(usize, usize)>

For a given starting position calculate the parent and sibling positions for the branch/path from that position to the peak of the tree. We will use the sibling positions to generate the "path" of a Merkle proof.