[−][src]Function grin_core::core::pmmr::peak_sizes_height
pub fn peak_sizes_height(size: u64) -> (Vec<u64>, u64)
sizes of peaks and height of next node in mmr of given size
Example: on input 5 returns ([3,1], 1) as mmr state before adding 5 was
2
/
0 1 3 4