Skip to content

Commit 4ca6dde

Browse files
committed
Merge pull request #6793
4e2efb3 tests: update transaction_tests for new dust threshold (Wladimir J. van der Laan) 28e3249 Bump minrelaytxfee default (Wladimir J. van der Laan)
2 parents b94ae81 + 4e2efb3 commit 4ca6dde

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ uint64_t nPruneTarget = 0;
7575
bool fAlerts = DEFAULT_ALERTS;
7676

7777
/** Fees smaller than this (in satoshi) are considered zero fee (for relaying and mining) */
78-
CFeeRate minRelayTxFee = CFeeRate(1000);
78+
CFeeRate minRelayTxFee = CFeeRate(5000);
7979

8080
CTxMemPool mempool(::minRelayTxFee);
8181

src/test/transaction_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ BOOST_AUTO_TEST_CASE(test_IsStandard)
345345
t.vout[0].nValue = 501; // dust
346346
BOOST_CHECK(!IsStandardTx(t, reason));
347347

348-
t.vout[0].nValue = 601; // not dust
348+
t.vout[0].nValue = 2730; // not dust
349349
BOOST_CHECK(IsStandardTx(t, reason));
350350

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

0 commit comments

Comments
 (0)