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