diff options
| author | Jonas Schnelli <[email protected]> | 2018-04-13 21:20:29 +0200 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2018-08-02 08:10:49 +0200 |
| commit | af5fa82b676a36e60eda080ca0a946bdfffefd49 (patch) | |
| tree | b2812f7f0877c3a4a762bda5995b480f193b3c47 /src/init.cpp | |
| parent | Merge #13697: Support output descriptors in scantxoutset (diff) | |
| download | discoin-af5fa82b676a36e60eda080ca0a946bdfffefd49.tar.xz discoin-af5fa82b676a36e60eda080ca0a946bdfffefd49.zip | |
Allow quicker shutdowns during LoadBlockIndex()
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index 18402ef5d..feb5ff2c5 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1468,6 +1468,7 @@ bool AppInitMain() // Note that it also sets fReindex based on the disk flag! // From here on out fReindex and fReset mean something different! if (!LoadBlockIndex(chainparams)) { + if (ShutdownRequested()) break; strLoadError = _("Error loading block database"); break; } |