mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 06:52:36 +01: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:
commit
462fbcd212
1 changed files with 1 additions and 1 deletions
|
@ -1256,7 +1256,7 @@ bool AppInitMain(NodeContext& node)
|
|||
InitSignatureCache();
|
||||
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) {
|
||||
for (int i=0; i<nScriptCheckThreads-1; i++)
|
||||
threadGroup.create_thread([i]() { return ThreadScriptCheck(i); });
|
||||
|
|
Loading…
Add table
Reference in a new issue