aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorstickies-v <stickies-v@protonmail.com>2022-09-03 00:39:56 +0100
committerstickies-v <stickies-v@protonmail.com>2022-09-03 00:49:14 +0100
commit2186608172b0e6c3a9907e06fed27dfd927abd45 (patch)
treeb3c2f0e20563c9ae79e6cb0f8e7c9b31ff689f42 /test
parentea67232cdb80c4bc3f16fcd823f6f811fd8903e1 (diff)
test: apply fixed feerate to avoid variable dynamic fees
Without specifying a feerate, we let the wallet decide on an appropriate feerate, which can be influenced by various factors such as what's in the mempool. Since wallet_groups.py fails when feerates are unstable, we should use a fixed feerate across all nodes. Closes #25940
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/wallet_groups.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/wallet_groups.py b/test/functional/wallet_groups.py
index 9f0f694a3e..e5e4cf03bf 100755
--- a/test/functional/wallet_groups.py
+++ b/test/functional/wallet_groups.py
@@ -26,9 +26,10 @@ class WalletGroupTest(BitcoinTestFramework):
["-maxapsfee=0.00002719"],
["-maxapsfee=0.00002720"],
]
- # whitelist peers to speed up tx relay / mempool sync
+
for args in self.extra_args:
- args.append("-whitelist=noban@127.0.0.1")
+ args.append("-whitelist=noban@127.0.0.1") # whitelist peers to speed up tx relay / mempool sync
+ args.append(f"-paytxfee={20 * 1e3 / 1e8}") # apply feerate of 20 sats/vB across all nodes
self.rpc_timeout = 480