Function acceptable_reference_epoch_credits

Source
pub fn acceptable_reference_epoch_credits(
    epoch_credits: &[(Epoch, u64, u64)],
    current_epoch: Epoch,
) -> bool
Expand description

Check if the provided epoch_credits demonstrate active voting over the previous MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION.