aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-10-11 10:32:30 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-10-11 10:33:12 +0200
commit4ca6ddec4d7918b47f0e4747c5647daf54675306 (patch)
treec8b16cf160fdf2c38adf186f58429ace68d6c15e
parentb94ae81576c199c9a44453b8c9b17e8303f67b72 (diff)
parent4e2efb3c5fde4b1e332cc032e3dc4082ec4e3cac (diff)
downloadbitcoin-4ca6ddec4d7918b47f0e4747c5647daf54675306.tar.xz
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)
-rw-r--r--src/main.cpp2
-rw-r--r--src/test/transaction_tests.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5cfb05b0d2..baad7fc050 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -75,7 +75,7 @@ uint64_t nPruneTarget = 0;
bool fAlerts = DEFAULT_ALERTS;
/** Fees smaller than this (in satoshi) are considered zero fee (for relaying and mining) */
-CFeeRate minRelayTxFee = CFeeRate(1000);
+CFeeRate minRelayTxFee = CFeeRate(5000);
CTxMemPool mempool(::minRelayTxFee);
diff --git a/src/test/transaction_tests.cpp b/src/test/transaction_tests.cpp
index 9847f6512e..f9423bc0de 100644
--- a/src/test/transaction_tests.cpp
+++ b/src/test/transaction_tests.cpp
@@ -345,7 +345,7 @@ BOOST_AUTO_TEST_CASE(test_IsStandard)
t.vout[0].nValue = 501; // dust
BOOST_CHECK(!IsStandardTx(t, reason));
- t.vout[0].nValue = 601; // not dust
+ t.vout[0].nValue = 2730; // not dust
BOOST_CHECK(IsStandardTx(t, reason));
t.vout[0].scriptPubKey = CScript() << OP_1;