Replace CENT with new constant MIN_TX_FEE, where appropriate.

MIN_TX_FEE==CENT remains true (until next commit).
This commit is contained in:
Jeff Garzik
2011-05-11 16:48:51 -04:00
committed by Jeff Garzik
parent 04a667b076
commit a630da6400
3 changed files with 7 additions and 6 deletions

View File

@@ -741,7 +741,7 @@ bool CTransaction::AcceptToMemoryPool(CTxDB& txdb, bool fCheckInputs, bool* pfMi
// Continuously rate-limit free transactions
// This mitigates 'penny-flooding' -- sending thousands of free transactions just to
// be annoying or make other's transactions take longer to confirm.
if (nFees < CENT)
if (nFees < MIN_TX_FEE)
{
static CCriticalSection cs;
static double dFreeCount;