Function grin_core::core::pmmr::is_leaf

source ·
pub fn is_leaf(pos0: u64) -> bool
Expand description

Is this position a leaf in the MMR? We know the positions of all leaves based on the postorder height of an MMR of any size (somewhat unintuitively but this is how the PMMR is “append only”).