referrerpolicy=no-referrer-when-downgrade

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.