v31.1-roots.1 · Commit 2: [PATCH 02/17] feat(policy): preserve Roots parsing and local transaction checks
test/functional/feature_fee_estimation.py
Before: test/functional/feature_fee_estimation.py · After: test/functional/feature_fee_estimation.py
File metadata
index 24a9baaa2295b1a22453aa59415331d05e0a95a8..c6852dee7733dbcdbe46ff9203c6826144129d1d 100755
Download original patch · Release notes
Diff rows 1–17 of 17. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.
test/functional/feature_fee_estimation.py
CHANGED
|
@@ -151,6 +151,9 @@ class EstimateFeeTest(BitcoinTestFramework):
|
|
|
151
151
|
["-blockmaxweight=36000"],
|
|
152
152
|
]
|
|
153
153
|
|
|
154
|
+
# Preserve the estimator's native low-feerate sampling range explicitly.
|
|
155
|
+
self.extra_args = [args + ["-minrelaytxfee=0.000001"] for args in self.extra_args]
|
|
156
|
+
|
|
154
157
|
def setup_network(self):
|
|
155
158
|
"""
|
|
156
159
|
We'll setup the network to have 3 nodes that all mine with different parameters.
|
|
@@ -398,7 +401,7 @@ class EstimateFeeTest(BitcoinTestFramework):
|
|
|
398
401
|
os.utime(fee_dat, (last_modified_time, last_modified_time))
|
|
399
402
|
|
|
400
403
|
# Restart node with -acceptstalefeeestimates option to ensure fee_estimate.dat file is read
|
|
401
|
-
self.start_node(0,extra_args=["-acceptstalefeeestimates"])
|
|
404
|
+
self.start_node(0,extra_args=self.extra_args[0] + ["-acceptstalefeeestimates"])
|
|
402
405
|
assert_equal(self.nodes[0].estimatesmartfee(1)["feerate"], fee_rate)
|
|
403
406
|
|
|
404
407
|
def clear_estimates(self):
|