mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Merge 462fbcd212 into merged_master (Bitcoin PR #17325)
This commit is contained in:
commit
971870ffd5
1 changed files with 1 additions and 1 deletions
|
|
@ -1308,7 +1308,7 @@ bool AppInitMain(NodeContext& node)
|
|||
InitSurjectionproofCache();
|
||||
|
||||
|
||||
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
Add a link
Reference in a new issue