mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-17 17:02:43 +00:00
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.
This commit is contained in:
parent
34e32985e8
commit
435fd56711
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user