Merge pull request #2060 from sipa/parallel
Parallel script verification
This commit is contained in:
@@ -33,9 +33,13 @@ struct TestingSetup {
|
||||
pwalletMain = new CWallet("wallet.dat");
|
||||
pwalletMain->LoadWallet(fFirstRun);
|
||||
RegisterWallet(pwalletMain);
|
||||
nScriptCheckThreads = 3;
|
||||
for (int i=0; i < nScriptCheckThreads-1; i++)
|
||||
NewThread(ThreadScriptCheck, NULL);
|
||||
}
|
||||
~TestingSetup()
|
||||
{
|
||||
ThreadScriptCheckQuit();
|
||||
delete pwalletMain;
|
||||
pwalletMain = NULL;
|
||||
delete pcoinsTip;
|
||||
|
||||
Reference in New Issue
Block a user