mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-19 13:32:44 +02:00
Merge #17325: log: Fix log message for -par=1
8a0ca5e9de
log: Fix log message for -par=1 (Hennadii Stepanov) Pull request description: Fix #17139 ACKs for top commit: jnewbery: Tested ACK8a0ca5e9de
laanwj: ACK8a0ca5e9de
Tree-SHA512: 09f5416c00cd3e4f85cd9040267dc825d5c5623f8903e9d2373013686dce7f6b3ba573648787adc1d58e6f1d5012e26c78700d585273d4b508cb25312b3fa06b
This commit is contained in:
@ -1256,7 +1256,7 @@ bool AppInitMain(NodeContext& node)
|
|||||||
InitSignatureCache();
|
InitSignatureCache();
|
||||||
InitScriptExecutionCache();
|
InitScriptExecutionCache();
|
||||||
|
|
||||||
LogPrintf("Using %u threads for script verification\n", nScriptCheckThreads);
|
LogPrintf("Script verification uses %d additional threads\n", std::max(nScriptCheckThreads - 1, 0));
|
||||||
if (nScriptCheckThreads) {
|
if (nScriptCheckThreads) {
|
||||||
for (int i=0; i<nScriptCheckThreads-1; i++)
|
for (int i=0; i<nScriptCheckThreads-1; i++)
|
||||||
threadGroup.create_thread([i]() { return ThreadScriptCheck(i); });
|
threadGroup.create_thread([i]() { return ThreadScriptCheck(i); });
|
||||||
|
Reference in New Issue
Block a user