2340 added additional sync conditions to startup, one of which is that InitialBlockDownload from getblockchaininfo must be true. A condition for InitialBlockDownload to be true is that the best header cannot be older than 24 hours.
In dcrdex, we use a simnet harness that starts with an archived chain with about 600 blocks. Building the chain from scratch takes substantial time, and we can't e.g. mine one block to get a fresh header, because the wallets can't vote.
This change forego's the check of InitialBlockDownload on test networks, leaving in place the condition info.Blocks >= minHeight.
2340 added additional sync conditions to startup, one of which is that
InitialBlockDownload
fromgetblockchaininfo
must betrue
. A condition forInitialBlockDownload
to be true is that the best header cannot be older than 24 hours.In dcrdex, we use a simnet harness that starts with an archived chain with about 600 blocks. Building the chain from scratch takes substantial time, and we can't e.g. mine one block to get a fresh header, because the wallets can't vote.
This change forego's the check of
InitialBlockDownload
on test networks, leaving in place the conditioninfo.Blocks >= minHeight
.