aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-12-23 09:59:28 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2017-12-23 10:00:24 +0100
commit9bad8d64721768953cb9c18f30d48ec8c2757879 (patch)
treee9933441ae9746a0f89fef12c4685ea439dcb622 /test
parent8f68fd281eecf7e3110033aa3956b2b40ce99d1a (diff)
parent149dffd3b2a137d575ad19b8c0b13345efe3ada1 (diff)
Merge #11475: [rpc] mempoolinfo should take ::minRelayTxFee into account
149dffd [rpc] mempoolinfo should take ::minRelayTxFee into account (Cristian Mircea Messel) Pull request description: Fixes #6941 following https://github.com/bitcoin/bitcoin/pull/11410#issuecomment-332991078 's suggestion This takes care of the mentioned ticket without changing the behavior of https://github.com/bitcoin/bitcoin/pull/11410/files#diff-24efdb00bfbe56b140fb006b562cc70bL629 By modifying https://github.com/bitcoin/bitcoin/blob/5a9da37fb3f4b53f556e1d46509b94dc3c661d75/src/txmempool.cpp#L984 the syncing mempools becomes problematic as per https://github.com/bitcoin/bitcoin/pull/11410#issuecomment-333868390 ~~Same code causes different tests to fail: https://travis-ci.org/bitcoin/bitcoin/jobs/286128241 https://travis-ci.org/bitcoin/bitcoin/jobs/286128241 . I can't reproduce the problems locally, am I doing something wrong?~~ travis sometimes fails unexpectedly Tree-SHA512: fd81628da6a3eff51bd09e5342d781bac0710f79d6b330b1df3662756ecaceb2e1682bf9768b5f8edbcba6479a3223dfa6604d37c9e9d37d00d077172da4f6ea
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/wallet.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/wallet.py b/test/functional/wallet.py
index db60df18ed..e0da5ce136 100755
--- a/test/functional/wallet.py
+++ b/test/functional/wallet.py
@@ -33,6 +33,9 @@ class WalletTest(BitcoinTestFramework):
assert_equal(len(self.nodes[1].listunspent()), 0)
assert_equal(len(self.nodes[2].listunspent()), 0)
+ self.log.info("Check for mempoolminfee in getmempoolinfo")
+ assert_equal(self.nodes[0].getmempoolinfo()['mempoolminfee'], Decimal('0.00001000'))
+
self.log.info("Mining blocks...")
self.nodes[0].generate(1)