pub fn get_current_latest_block_slot(
    thread_count: u8,
    t0: MassaTime,
    genesis_timestamp: MassaTime
) -> Result<Option<Slot>, ModelsError>
Expand description

Returns the thread and block slot index of the current block slot (inclusive), if any happened yet

Arguments

  • thread_count: number of threads.
  • t0: time in milliseconds between two periods in the same thread.
  • genesis_timestamp: when the blockclique first started, in milliseconds.