mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-12 21:02:41 +02:00
test: enable functional tests with large rpc args for cli
Also, the following tests (for which self.supports_cli = False was not set) will now work with --usecli: feature_fastprune.py feature_fee_estimation.py feature_reindex_readonly.py feature_taproot.py mempool_package_rbf.py p2p_net_deadlock.py p2p_tx_download.py rpc_packages.py
This commit is contained in:
@ -52,7 +52,6 @@ class MaxUploadTest(BitcoinTestFramework):
|
||||
self.extra_args = [[
|
||||
f"-maxuploadtarget={UPLOAD_TARGET_MB}M",
|
||||
]]
|
||||
self.supports_cli = False
|
||||
|
||||
def assert_uploadtarget_state(self, *, target_reached, serve_historical_blocks):
|
||||
"""Verify the node's current upload target state via the `getnettotals` RPC call."""
|
||||
|
@ -69,7 +69,6 @@ class PruneTest(BitcoinTestFramework):
|
||||
def set_test_params(self):
|
||||
self.setup_clean_chain = True
|
||||
self.num_nodes = 6
|
||||
self.supports_cli = False
|
||||
self.uses_wallet = None
|
||||
|
||||
# Create nodes 0 and 1 to mine.
|
||||
|
@ -31,7 +31,6 @@ class MempoolLimitTest(BitcoinTestFramework):
|
||||
self.extra_args = [[
|
||||
"-maxmempool=5",
|
||||
]]
|
||||
self.supports_cli = False
|
||||
|
||||
def test_rbf_carveout_disallowed(self):
|
||||
node = self.nodes[0]
|
||||
|
@ -65,7 +65,6 @@ class MiningTest(BitcoinTestFramework):
|
||||
["-fastprune", "-prune=1"]
|
||||
]
|
||||
self.setup_clean_chain = True
|
||||
self.supports_cli = False
|
||||
|
||||
def mine_chain(self):
|
||||
self.log.info('Create some old blocks')
|
||||
|
@ -43,7 +43,6 @@ class PackageRelayTest(BitcoinTestFramework):
|
||||
self.extra_args = [[
|
||||
"-maxmempool=5",
|
||||
]] * self.num_nodes
|
||||
self.supports_cli = False
|
||||
|
||||
def raise_network_minfee(self):
|
||||
fill_mempool(self, self.nodes[0])
|
||||
|
@ -61,7 +61,6 @@ class PackageRelayTest(BitcoinTestFramework):
|
||||
self.extra_args = [[
|
||||
"-maxmempool=5",
|
||||
]]
|
||||
self.supports_cli = False
|
||||
|
||||
def create_tx_below_mempoolminfee(self, wallet):
|
||||
"""Create a 1-input 1sat/vB transaction using a confirmed UTXO. Decrement and use
|
||||
|
@ -221,7 +221,6 @@ class SegWitTest(BitcoinTestFramework):
|
||||
["-acceptnonstdtxn=1", f"-testactivationheight=segwit@{SEGWIT_HEIGHT}", "-par=1"],
|
||||
["-acceptnonstdtxn=0", f"-testactivationheight=segwit@{SEGWIT_HEIGHT}"],
|
||||
]
|
||||
self.supports_cli = False
|
||||
|
||||
# Helper functions
|
||||
|
||||
|
@ -191,7 +191,6 @@ class WalletTaprootTest(BitcoinTestFramework):
|
||||
self.num_nodes = 2
|
||||
self.setup_clean_chain = True
|
||||
self.extra_args = [['-keypool=100'], ['-keypool=100']]
|
||||
self.supports_cli = False
|
||||
|
||||
def skip_test_if_missing_module(self):
|
||||
self.skip_if_no_wallet()
|
||||
|
Reference in New Issue
Block a user