Skip to content

Commit beae01d

Browse files
committed
Reverting unnecessary functional test changes
1 parent 196d709 commit beae01d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

test/functional/p2p_node_network_limited.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
and that it responds to getdata requests for blocks correctly:
99
- send a block within 288 + 2 of the tip
1010
- disconnect peers who request blocks older than that."""
11-
from test_framework.messages import NODE_MWEB_LIGHT_CLIENT, CInv, MSG_BLOCK, msg_getdata, msg_verack, NODE_NETWORK_LIMITED, NODE_WITNESS, NODE_MWEB
11+
from test_framework.messages import CInv, MSG_BLOCK, msg_getdata, msg_verack, NODE_MWEB, NODE_MWEB_LIGHT_CLIENT, NODE_NETWORK_LIMITED, NODE_WITNESS
1212
from test_framework.p2p import P2PInterface
1313
from test_framework.test_framework import BitcoinTestFramework
1414
from test_framework.util import (
@@ -35,7 +35,7 @@ class NodeNetworkLimitedTest(BitcoinTestFramework):
3535
def set_test_params(self):
3636
self.setup_clean_chain = True
3737
self.num_nodes = 3
38-
self.extra_args = [['-prune=2200', '-peerblockfilters=0', '-blockfilterindex=0', '-addrmantest'], [], []]
38+
self.extra_args = [['-prune=2200', '-addrmantest'], [], []]
3939

4040
def disconnect_all(self):
4141
self.disconnect_nodes(0, 1)

test/functional/rpc_blockchain.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def set_test_params(self):
5454

5555
def run_test(self):
5656
self.mine_chain()
57-
self.restart_node(0, extra_args=['-stopatheight=207', '-prune=1', '-peerblockfilters=0', '-blockfilterindex=0', '-vbparams=mweb:-2:0']) # Set extra args with pruning after rescan is complete
57+
self.restart_node(0, extra_args=['-stopatheight=207', '-prune=1', '-vbparams=mweb:-2:0']) # Set extra args with pruning after rescan is complete
5858

5959
self._test_getblockchaininfo()
6060
self._test_getchaintxstats()
@@ -113,7 +113,7 @@ def _test_getblockchaininfo(self):
113113
# should have exact keys
114114
assert_equal(sorted(res.keys()), keys)
115115

116-
self.restart_node(0, ['-stopatheight=207', '-prune=2200', '-peerblockfilters=0', '-blockfilterindex=0', '-vbparams=mweb:-2:0'])
116+
self.restart_node(0, ['-stopatheight=207', '-prune=2200', '-vbparams=mweb:-2:0'])
117117
res = self.nodes[0].getblockchaininfo()
118118
# result should have these additional pruning keys if prune=2200
119119
assert_equal(sorted(res.keys()), sorted(['pruneheight', 'automatic_pruning', 'prune_target_size'] + keys))

test/functional/wallet_import_rescan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def setup_network(self):
153153
self.extra_args = [[] for _ in range(self.num_nodes)]
154154
for i, import_node in enumerate(IMPORT_NODES, 2):
155155
if import_node.prune:
156-
self.extra_args[i] += ["-prune=1", "-peerblockfilters=0", "-blockfilterindex=0"]
156+
self.extra_args[i] += ["-prune=1"]
157157

158158
self.add_nodes(self.num_nodes, extra_args=self.extra_args)
159159

0 commit comments

Comments
 (0)