Skip to main content

REGTEST_SYNC_RESTART_DELAY

Constant REGTEST_SYNC_RESTART_DELAY 

Source
const REGTEST_SYNC_RESTART_DELAY: Duration;
Expand description

In regtest, use a much shorter restart delay so that downstream nodes pick up newly-mined blocks quickly (e.g. after generate(N) in integration tests). The default 67-second delay exceeds the typical sync_all timeout of 60 seconds.