Skip to content

Commit 2186608

Browse files
committed
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
1 parent ea67232 commit 2186608

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/functional/wallet_groups.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ def set_test_params(self):
2626
["-maxapsfee=0.00002719"],
2727
["-maxapsfee=0.00002720"],
2828
]
29-
# whitelist peers to speed up tx relay / mempool sync
29+
3030
for args in self.extra_args:
31-
args.append("[email protected]")
31+
args.append("[email protected]") # whitelist peers to speed up tx relay / mempool sync
32+
args.append(f"-paytxfee={20 * 1e3 / 1e8}") # apply feerate of 20 sats/vB across all nodes
3233

3334
self.rpc_timeout = 480
3435

0 commit comments

Comments
 (0)