aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2018-02-06 13:38:54 -0500
committerMatt Corallo <[email protected]>2018-02-06 15:14:02 -0500
commitdd2de47c6288654abb2c3eef29edcd1cc5f39fc9 (patch)
tree9f20e429cda9976828ac8ffbd30f21d64b025018 /src/httpserver.cpp
parentFix fast-shutdown hang on ThreadImport+GenesisWait (diff)
downloaddiscoin-dd2de47c6288654abb2c3eef29edcd1cc5f39fc9.tar.xz
discoin-dd2de47c6288654abb2c3eef29edcd1cc5f39fc9.zip
Fix fast-shutdown crash if genesis block was not loaded
If the ShutdownRequested() check at the top of ActivateBestChain() returns false during initial genesis block load we will fail an assertion in UTXO DB flush as the best block hash IsNull(). To work around this, we move the check until after one round of ActivateBestChainStep(), ensuring the genesis block gets connected.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions