pub fn bag_peaks(peaks: &[Hash]) -> HashExpand description
Bag the peaks (highest to lowest) with mmr_lib’s own bagging, so the result equals
MMR::get_root. Not a stream root: MmrRoot::from_bag binds the leaf count over it. No peaks
bag to zero.