From 1eedbbb3a6bbb0070cf7f11929ea261a8d6c0b11 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Mon, 10 Mar 2014 18:59:12 +0100 Subject: Make mining fee policy match relay fee policy. This resolves a case in which a mismatch could be used to bloat up the mempool by sending transactions that pay enough fee to relay, but not to be mined, with the default policies. Rebased-From: 037b4f1 --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 3cbdc1427..b8f8afe60 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -51,7 +51,7 @@ unsigned int nCoinCacheSize = 5000; /** Fees smaller than this (in satoshi) are considered zero fee (for transaction creation) */ int64_t CTransaction::nMinTxFee = 10000; // Override with -mintxfee -/** Fees smaller than this (in satoshi) are considered zero fee (for relaying) */ +/** Fees smaller than this (in satoshi) are considered zero fee (for relaying and mining) */ int64_t CTransaction::nMinRelayTxFee = 1000; static CMedianFilter cPeerBlockCounts(8, 0); // Amount of blocks that other nodes claim to have -- cgit v1.2.3