This commit is contained in:
jl777
2017-01-04 14:05:46 +02:00
parent 6d45a66360
commit 68b868fd6d

View File

@@ -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++ < 10 )
fprintf(stderr,"Disable replacement feature for now\n");
return false;
}
}