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

pub fn is_leaf(pos: u64) -> bool

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").