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

pub fn peaks(num: u64) -> Vec<u64>

Gets the postorder traversal index of all peaks in a MMR given its size. Starts with the top peak, which is always on the left side of the range, and navigates toward lower siblings toward the right of the range.