set_next_block_time_delta

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

Calling rell.time.set_next_block_time_delta(x) means the next block will have timestamp x milliseconds after the timestamp of the previous block.

rell.test.set_next_block_time_delta(delta) is equivalent to rell.test.set_next_block_time(rell.test.last_block_time + delta) if there is a previous block. Otherwise, this does nothing.

Since

0.13.3

Parameters

delta

the time delta between the previous and next block

See also

Throws

exception

if delta is less than 1