Browse Source

Always log number of threads for script verification

Helps for troubleshooting.
0.10
Wladimir J. van der Laan 10 years ago
parent
commit
9bdec76037
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/init.cpp

2
src/init.cpp

@ -746,8 +746,8 @@ bool AppInit2(boost::thread_group& threadGroup) @@ -746,8 +746,8 @@ bool AppInit2(boost::thread_group& threadGroup)
LogPrintf("Using at most %i connections (%i file descriptors available)\n", nMaxConnections, nFD);
std::ostringstream strErrors;
LogPrintf("Using %u threads for script verification\n", nScriptCheckThreads);
if (nScriptCheckThreads) {
LogPrintf("Using %u threads for script verification\n", nScriptCheckThreads);
for (int i=0; i<nScriptCheckThreads-1; i++)
threadGroup.create_thread(&ThreadScriptCheck);
}

Loading…
Cancel
Save