Function sc_consensus_slots::time_until_next_slot
source · pub fn time_until_next_slot(slot_duration: Duration) -> Duration
Expand description
Returns the duration until the next slot from now.
pub fn time_until_next_slot(slot_duration: Duration) -> Duration
Returns the duration until the next slot from now.