Function sc_consensus_slots::slot_lenience_exponential [−][src]
pub fn slot_lenience_exponential(
parent_slot: u64,
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
an exponential backoff of at most 2^7 * slot_duration
, if no slots were skipped
this method will return None.