diff options
| author | Mike Hearn <[email protected]> | 2014-03-10 18:59:12 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-03-11 16:45:54 +0100 |
| commit | 1eedbbb3a6bbb0070cf7f11929ea261a8d6c0b11 (patch) | |
| tree | 5458261bc87df8a715b8443c9a427c4b6eec49ce /src/main.cpp | |
| parent | Add progress to initial display of latest block downloaded. (diff) | |
| download | archived-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.cpp | 2 |
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 |