From f92cbc543dbbbce215609bebcf68398ab0eb862f Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 4 Jan 2017 14:07:09 +0200 Subject: [PATCH] test --- src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index f24cfedbd..89d0338f4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1124,8 +1124,10 @@ bool AcceptToMemoryPool(CTxMemPool& pool, CValidationState &state, const CTransa COutPoint outpoint = tx.vin[i].prevout; if (pool.mapNextTx.count(outpoint)) { + static uint32_t counter; // Disable replacement feature for now - fprintf(stderr,"Disable replacement feature for now\n"); + if ( counter++ < 100 ) + fprintf(stderr,"Disable replacement feature for now\n"); return false; } }