From ada693f7d3912f8bc50bb7682530ae658e88a346 Mon Sep 17 00:00:00 2001 From: blackjok3r Date: Thu, 1 Nov 2018 19:09:26 +0800 Subject: [PATCH] add prints back --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 938cfdfe0..957060373 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4259,7 +4259,7 @@ bool CheckBlock(int32_t *futureblockp,int32_t height,CBlockIndex *pindex,const C const CTransaction &tx = e.GetTx(); const uint256 &hash = tx.GetHash(); tmpmempool.addUnchecked(hash,e,!IsInitialBlockDownload()); - //fprintf(stderr, "added mempool tx to temp mempool\n"); + fprintf(stderr, "added mempool tx to temp mempool\n"); } // clear the mempool before importing all block txs to mempool. mempool.clear(); @@ -4320,7 +4320,7 @@ bool CheckBlock(int32_t *futureblockp,int32_t height,CBlockIndex *pindex,const C CValidationState state; bool fMissingInputs,fOverrideFees = false; if (AcceptToMemoryPool(mempool, state, tx, false, &fMissingInputs, !fOverrideFees,true) == false ) invalidtxs++; - //else fprintf(stderr, "added mempool tx back to mempool\n"); + else fprintf(stderr, "added mempool tx back to mempool\n"); } if ( 0 && invalidtxs > 0 ) fprintf(stderr, "number of invalid txs: %d\n",invalidtxs );