Skip to main content

keeps_checkpoint

Function keeps_checkpoint 

Source
pub fn keeps_checkpoint(
    checkpoint_floor: BlockHeight,
    anchor_retention: Option<&AnchorRetention>,
    height: BlockHeight,
) -> bool
Expand description

Whether a block end at height keeps its own checkpoint: it does inside the checkpoint window (above checkpoint_floor, see checkpoint_floor), and at a height the anchor-retention policy retains.