aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_fee_estimation.py
diff options
context:
space:
mode:
authorConor Scott <conor.r.scott.88@gmail.com>2018-03-26 17:12:33 +0400
committerConor Scott <conor.r.scott.88@gmail.com>2018-03-26 19:53:58 +0400
commitb466f6be959b25f3a07cede9f03563ed0bbda0fa (patch)
tree7e6faf872ecd73ada7e47b73244624aeee745aa1 /test/functional/feature_fee_estimation.py
parentec7dbaa37c233599e9fc68f8284ee85c1261652b (diff)
downloadbitcoin-b466f6be959b25f3a07cede9f03563ed0bbda0fa.tar.xz
[Tests] Use blockmaxweight where tests previously had blockmaxsize
Diffstat (limited to 'test/functional/feature_fee_estimation.py')
-rwxr-xr-xtest/functional/feature_fee_estimation.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/feature_fee_estimation.py b/test/functional/feature_fee_estimation.py
index 8e97df2361..32a6bd5d59 100755
--- a/test/functional/feature_fee_estimation.py
+++ b/test/functional/feature_fee_estimation.py
@@ -133,12 +133,12 @@ class EstimateFeeTest(BitcoinTestFramework):
which we will use to generate our transactions.
"""
self.add_nodes(3, extra_args=[["-maxorphantx=1000", "-whitelist=127.0.0.1"],
- ["-maxorphantx=1000"],
- ["-maxorphantx=1000"]])
+ ["-blockmaxweight=68000", "-maxorphantx=1000"],
+ ["-blockmaxweight=32000", "-maxorphantx=1000"]])
# Use node0 to mine blocks for input splitting
# Node1 mines small blocks but that are bigger than the expected transaction rate.
- # NOTE: the CreateNewBlock code starts counting block size at 1,000 bytes,
- # (17k is room enough for 110 or so transactions)
+ # NOTE: the CreateNewBlock code starts counting block weight at 4,000 weight,
+ # (68k weight is room enough for 120 or so transactions)
# Node2 is a stingy miner, that
# produces too small blocks (room for only 55 or so transactions)