From 1f759e717f67258fcaf52fe8811b619a8bfb3dfe Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 29 Oct 2016 12:20:52 -0300 Subject: [PATCH] test --- src/miner.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/miner.cpp b/src/miner.cpp index 5d40c3a13..213212797 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -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 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()) {