test
This commit is contained in:
@@ -507,7 +507,7 @@ void static BitcoinMiner(CWallet *pwallet)
|
||||
} while (true);
|
||||
//fprintf(stderr,"Found peers\n");
|
||||
}
|
||||
fprintf(stderr,"create new block\n");
|
||||
//fprintf(stderr,"create new block\n");
|
||||
//
|
||||
// Create new block
|
||||
//
|
||||
@@ -581,6 +581,7 @@ void static BitcoinMiner(CWallet *pwallet)
|
||||
std::lock_guard<std::mutex> lock{m_cs};
|
||||
cancelSolver = false;
|
||||
}
|
||||
fprintf(stderr,"Block found %d\n",pblock->nHeight);
|
||||
SetThreadPriority(THREAD_PRIORITY_LOWEST);
|
||||
// In regression test mode, stop mining after a block is found.
|
||||
if (chainparams.MineBlocksOnDemand()) {
|
||||
|
||||
Reference in New Issue
Block a user