Function tc_consensus_slots::slot_lenience_linear[][src]

pub fn slot_lenience_linear(
    parent_slot: Slot,
    slot_info: &SlotInfo
) -> Option<Duration>

Calculate a slot duration lenience based on the number of missed slots from current to parent. If the number of skipped slots is greated than 0 this method will apply a linear backoff of at most 20 * slot_duration, if no slots were skipped this method will return None.