FUNCTION

set_next_block_time

function set_next_block_time(time: integer): unit

Set the timestamp that the next block will have, once built, in milliseconds.

time is a Unix epoch timestamp, i.e. the number of milliseconds that will have elapsed since midnight on 1st January 1970.

Parameters

  • time — timestamp to use on next block

Throws

  • exception — if time is in older than rell.test.last_block_time, or negative

See Also

  1. rell.test.set_next_block_time_delta() - Rell Standard Library
  2. rell.test.block - Rell Standard Library

Since

0.13.3

© 2026 Chromia