[][src]Function grin_core::core::pmmr::family_branch

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

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.