Skip to content

Commit 6a4c196

Browse files
Mike Hearnmikehearn
authored andcommitted
Drop fees by 10x due to the persistently higher exchange rate.
The last fee drop was by 5x (from 50k satoshis to 10k satoshis) in the 0.8.2 release which was about 6 months ago. The current fee is (assuming a $500 exchange rate) about 5 dollar cents. The new fee after this patch is 0.5 cents. Miners who prefer the higher fees are obviously still able to use the command line flags to override this setting. Miners who choose to create smaller blocks will select the highest-fee paying transactions anyway. This would hopefully be the last manual adjustment ever required before floating fees become normal.
1 parent 03b6a1c commit 6a4c196

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/core.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ class CTxOut
152152
// to spend something, then we consider it dust.
153153
// A typical txout is 34 bytes big, and will
154154
// need a CTxIn of at least 148 bytes to spend,
155-
// so dust is a txout less than 54 uBTC
156-
// (5460 satoshis) with default nMinRelayTxFee
155+
// so dust is a txout less than 546 satoshis
156+
// with default nMinRelayTxFee.
157157
return ((nValue*1000)/(3*((int)GetSerializeSize(SER_DISK,0)+148)) < nMinRelayTxFee);
158158
}
159159

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ unsigned int nCoinCacheSize = 5000;
4848
/** Fees smaller than this (in satoshi) are considered zero fee (for transaction creation) */
4949
int64_t CTransaction::nMinTxFee = 10000; // Override with -mintxfee
5050
/** Fees smaller than this (in satoshi) are considered zero fee (for relaying) */
51-
int64_t CTransaction::nMinRelayTxFee = 10000;
51+
int64_t CTransaction::nMinRelayTxFee = 1000;
5252

5353
static CMedianFilter<int> cPeerBlockCounts(8, 0); // Amount of blocks that other nodes claim to have
5454

src/test/transaction_tests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,10 @@ BOOST_AUTO_TEST_CASE(test_IsStandard)
271271
string reason;
272272
BOOST_CHECK(IsStandardTx(t, reason));
273273

274-
t.vout[0].nValue = 5011; // dust
274+
t.vout[0].nValue = 501; // dust
275275
BOOST_CHECK(!IsStandardTx(t, reason));
276276

277-
t.vout[0].nValue = 6011; // not dust
277+
t.vout[0].nValue = 601; // not dust
278278
BOOST_CHECK(IsStandardTx(t, reason));
279279

280280
t.vout[0].scriptPubKey = CScript() << OP_1;

0 commit comments

Comments
 (0)