Skip to main content

validation_range

Function validation_range 

Source
fn validation_range(
    current: ChainEpoch,
    from: ChainEpoch,
) -> Result<RangeInclusive<ChainEpoch>>
Expand description

Returns the range of epochs to validate. This includes special handling for negative from values, which are interpreted as offsets from the current epoch.