From 435fd5671116b990cf3b875b99036606f921a71d Mon Sep 17 00:00:00 2001 From: Suhas Daftuar Date: Sun, 9 Feb 2025 14:58:41 -0500 Subject: [PATCH] test: update feature_rbf.py replacement test Preparatory commit to the rbf functional test, before changes are made to the rbf rules as part of cluster mempool. --- test/functional/feature_rbf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/functional/feature_rbf.py b/test/functional/feature_rbf.py index 443910c0ad5..91d90efef6b 100755 --- a/test/functional/feature_rbf.py +++ b/test/functional/feature_rbf.py @@ -21,6 +21,8 @@ from test_framework.wallet import MiniWallet from test_framework.address import ADDRESS_BCRT1_UNSPENDABLE MAX_REPLACEMENT_LIMIT = 100 +MAX_CLUSTER_LIMIT = 64 + class ReplaceByFeeTest(BitcoinTestFramework): def set_test_params(self): self.num_nodes = 2 @@ -216,7 +218,7 @@ class ReplaceByFeeTest(BitcoinTestFramework): yield x fee = int(0.00001 * COIN) - n = MAX_REPLACEMENT_LIMIT + n = MAX_CLUSTER_LIMIT tree_txs = list(branch(tx0_outpoint, initial_nValue, n, fee=fee)) assert_equal(len(tree_txs), n)