Function massa_models::timeslots::slot_count_in_range
source · pub fn slot_count_in_range(
a: Slot,
b: Slot,
thread_count: u8,
) -> Result<u64, ModelsError>
Expand description
Counts the number of slots in a slot range [a, b)
§Arguments
a
: starting slot (included)b
: ending slot (excluded)thread_count
: number of threads