|
|
@ -601,6 +601,8 @@ void ThreadImport(std::vector<boost::filesystem::path> vImportFiles) |
|
|
|
{ |
|
|
|
{ |
|
|
|
const CChainParams& chainparams = Params(); |
|
|
|
const CChainParams& chainparams = Params(); |
|
|
|
RenameThread("bitcoin-loadblk"); |
|
|
|
RenameThread("bitcoin-loadblk"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
CImportingNow imp; |
|
|
|
CImportingNow imp; |
|
|
|
|
|
|
|
|
|
|
|
// -reindex
|
|
|
|
// -reindex
|
|
|
@ -660,7 +662,7 @@ void ThreadImport(std::vector<boost::filesystem::path> vImportFiles) |
|
|
|
LogPrintf("Stopping after block import\n"); |
|
|
|
LogPrintf("Stopping after block import\n"); |
|
|
|
StartShutdown(); |
|
|
|
StartShutdown(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} // End scope of CImportingNow
|
|
|
|
LoadMempool(); |
|
|
|
LoadMempool(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|