Function solana_sdk::timing::years_as_slots
source · pub fn years_as_slots(
years: f64,
tick_duration: &Duration,
ticks_per_slot: u64
) -> f64
Expand description
from years to slots
pub fn years_as_slots(
years: f64,
tick_duration: &Duration,
ticks_per_slot: u64
) -> f64
from years to slots