aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMike Hearn <[email protected]>2014-03-10 18:59:12 +0100
committerWladimir J. van der Laan <[email protected]>2014-03-11 16:45:54 +0100
commit1eedbbb3a6bbb0070cf7f11929ea261a8d6c0b11 (patch)
tree5458261bc87df8a715b8443c9a427c4b6eec49ce /src/main.cpp
parentAdd progress to initial display of latest block downloaded. (diff)
downloadarchived-discoin-1eedbbb3a6bbb0070cf7f11929ea261a8d6c0b11.tar.xz
archived-discoin-1eedbbb3a6bbb0070cf7f11929ea261a8d6c0b11.zip
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
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
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<int> cPeerBlockCounts(8, 0); // Amount of blocks that other nodes claim to have