File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -156,8 +156,8 @@ class CTxOut
156
156
// to spend something, then we consider it dust.
157
157
// A typical txout is 34 bytes big, and will
158
158
// need a CTxIn of at least 148 bytes to spend,
159
- // so dust is a txout less than 54 uBTC
160
- // (5460 satoshis) with default nMinRelayTxFee
159
+ // so dust is a txout less than 546 satoshis
160
+ // with default nMinRelayTxFee.
161
161
return ((nValue*1000 )/(3 *((int )GetSerializeSize (SER_DISK,0 )+148 )) < nMinRelayTxFee);
162
162
}
163
163
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ unsigned int nCoinCacheSize = 5000;
52
52
/* * Fees smaller than this (in satoshi) are considered zero fee (for transaction creation) */
53
53
int64_t CTransaction::nMinTxFee = 10000 ; // Override with -mintxfee
54
54
/* * Fees smaller than this (in satoshi) are considered zero fee (for relaying) */
55
- int64_t CTransaction::nMinRelayTxFee = 10000 ;
55
+ int64_t CTransaction::nMinRelayTxFee = 1000 ;
56
56
57
57
static CMedianFilter<int > cPeerBlockCounts (8 , 0 ); // Amount of blocks that other nodes claim to have
58
58
Original file line number Diff line number Diff line change @@ -271,10 +271,10 @@ BOOST_AUTO_TEST_CASE(test_IsStandard)
271
271
string reason;
272
272
BOOST_CHECK (IsStandardTx (t, reason));
273
273
274
- t.vout [0 ].nValue = 5011 ; // dust
274
+ t.vout [0 ].nValue = 501 ; // dust
275
275
BOOST_CHECK (!IsStandardTx (t, reason));
276
276
277
- t.vout [0 ].nValue = 6011 ; // not dust
277
+ t.vout [0 ].nValue = 601 ; // not dust
278
278
BOOST_CHECK (IsStandardTx (t, reason));
279
279
280
280
t.vout [0 ].scriptPubKey = CScript () << OP_1;
You can’t perform that action at this time.
0 commit comments