Permalink
Browse files

Update TX miner and relay fee defaults to 0.001 / 0.0005 BTC respecti…

…vely

Reflects growth of dust spam in unspent transaction output dataset.
  • Loading branch information...
1 parent 51b7fb9 commit 477acd1a11e238caf30c180c623f0999de26a2ac Jeff Garzik committed with Jeff Garzik Dec 12, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/main.h
View
@@ -42,10 +42,12 @@ static const unsigned int BLOCKFILE_CHUNK_SIZE = 0x1000000; // 16 MiB
static const unsigned int UNDOFILE_CHUNK_SIZE = 0x100000; // 1 MiB
/** Fake height value used in CCoins to signify they are only in the memory pool (since 0.8) */
static const unsigned int MEMPOOL_HEIGHT = 0x7FFFFFFF;
+
/** Fees smaller than this (in satoshi) are considered zero fee (for transaction creation) */
-static const int64 MIN_TX_FEE = 50000;
+static const int64 MIN_TX_FEE = 100000; // 0.001 BTC
/** Fees smaller than this (in satoshi) are considered zero fee (for relaying) */
-static const int64 MIN_RELAY_TX_FEE = 10000;
+static const int64 MIN_RELAY_TX_FEE = 50000; // 0.0005 BTC
+
/** No amount larger than this (in satoshi) is valid */
static const int64 MAX_MONEY = 21000000 * COIN;
inline bool MoneyRange(int64 nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }

0 comments on commit 477acd1

Please sign in to comment.