aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@protonmail.com>2019-11-01 11:08:47 +0100
committerWladimir J. van der Laan <laanwj@protonmail.com>2019-11-01 11:08:58 +0100
commit462fbcd21238642bb4c4834879441740e9367be2 (patch)
tree361a00340fcfd5a7c9c6d05f1689bf23737703d2
parent222b7d0ca795c7306cd2103473c1c54c60e701f9 (diff)
parent8a0ca5e9de021ce2f722b321f27208a7bc7110f7 (diff)
Merge #17325: log: Fix log message for -par=1
8a0ca5e9de021ce2f722b321f27208a7bc7110f7 log: Fix log message for -par=1 (Hennadii Stepanov) Pull request description: Fix #17139 ACKs for top commit: jnewbery: Tested ACK 8a0ca5e9de021ce2f722b321f27208a7bc7110f7 laanwj: ACK 8a0ca5e9de021ce2f722b321f27208a7bc7110f7 Tree-SHA512: 09f5416c00cd3e4f85cd9040267dc825d5c5623f8903e9d2373013686dce7f6b3ba573648787adc1d58e6f1d5012e26c78700d585273d4b508cb25312b3fa06b
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 2a23f99b75..bbf26868c9 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -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); });