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

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

Returns the path from the specified position up to its corresponding peak in the MMR. The size (and therefore the set of peaks) of the MMR is defined by last_pos.