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.

Return

the previous interval value, in milliseconds

Since

0.13.3

Parameters

interval

the time interval between blocks

See also