Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 1,119 Lines • ▼ Show 20 Lines | for (const std::pair<const std::string, fs::path> &item : mapBlockFiles) { | ||||
} | } | ||||
remove(item.second); | remove(item.second); | ||||
} | } | ||||
} | } | ||||
static void ThreadImport(const Config &config, | static void ThreadImport(const Config &config, | ||||
std::vector<fs::path> vImportFiles) { | std::vector<fs::path> vImportFiles) { | ||||
RenameThread("bitcoin-loadblk"); | RenameThread("bitcoin-loadblk"); | ||||
ScheduleBatchPriority(); | |||||
{ | { | ||||
CImportingNow imp; | CImportingNow imp; | ||||
// -reindex | // -reindex | ||||
if (fReindex) { | if (fReindex) { | ||||
int nFile = 0; | int nFile = 0; | ||||
while (true) { | while (true) { | ||||
▲ Show 20 Lines • Show All 1,358 Lines • Show Last 20 Lines |