Skip to main content

fold_linked

Function fold_linked 

Source
pub fn fold_linked(
    editions: &[Edition],
    floor: u64,
    floor_hash: Option<&[u8; 32]>,
    admit_rival: &dyn Fn(&Edition) -> bool,
    eligible: &dyn Fn(usize) -> bool,
) -> FoldResult
Expand description

fold_with_rivals with the head taken only among the editions eligible admits, while every served edition carries the chain: an edition the Roster refuses still links what was built on it.