add prints back
This commit is contained in:
@@ -4259,7 +4259,7 @@ bool CheckBlock(int32_t *futureblockp,int32_t height,CBlockIndex *pindex,const C
|
|||||||
const CTransaction &tx = e.GetTx();
|
const CTransaction &tx = e.GetTx();
|
||||||
const uint256 &hash = tx.GetHash();
|
const uint256 &hash = tx.GetHash();
|
||||||
tmpmempool.addUnchecked(hash,e,!IsInitialBlockDownload());
|
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.
|
// clear the mempool before importing all block txs to mempool.
|
||||||
mempool.clear();
|
mempool.clear();
|
||||||
@@ -4320,7 +4320,7 @@ bool CheckBlock(int32_t *futureblockp,int32_t height,CBlockIndex *pindex,const C
|
|||||||
CValidationState state; bool fMissingInputs,fOverrideFees = false;
|
CValidationState state; bool fMissingInputs,fOverrideFees = false;
|
||||||
if (AcceptToMemoryPool(mempool, state, tx, false, &fMissingInputs, !fOverrideFees,true) == false )
|
if (AcceptToMemoryPool(mempool, state, tx, false, &fMissingInputs, !fOverrideFees,true) == false )
|
||||||
invalidtxs++;
|
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 )
|
if ( 0 && invalidtxs > 0 )
|
||||||
fprintf(stderr, "number of invalid txs: %d\n",invalidtxs );
|
fprintf(stderr, "number of invalid txs: %d\n",invalidtxs );
|
||||||
|
|||||||
Reference in New Issue
Block a user