Skip to main content

validation_range

Function validation_range 

Source
fn validation_range(current: i64, from: i64) -> Result<RangeInclusive<i64>>
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.