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

Gets timestamp in milliseconds for given slot.

Arguments

  • thread_count: number of threads.
  • t0: time in milliseconds between two periods in the same thread.
  • slot: the considered slot.