FUNCTION

set_block_interval

function set_block_interval(interval: integer): integer

Set the time interval between future blocks in the blockchain, in milliseconds.

If the timestamp for the next block has been explicitly set by calling rell.test.set_next_block_time() or `rell.test.set_next_block_time_delta(), the new interval does not take effect until after the next block.

Parameters

  • interval — the time interval between blocks

Returns

the previous interval value, in milliseconds

See Also

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

Since

0.13.3

© 2026 Chromia