diff options
author | kouloumos <kouloumosa@gmail.com> | 2023-01-13 12:21:33 +0200 |
---|---|---|
committer | kouloumos <kouloumosa@gmail.com> | 2023-01-16 19:14:21 +0200 |
commit | 6bd098a838881ba615c01354560a70d47256f90f (patch) | |
tree | 25abebd41e54566bb4b682f42b055cb7535c078f /test/functional/rpc_net.py | |
parent | 42029a7fd42e93426bdfb40d1918d739d20962af (diff) | |
download | bitcoin-6bd098a838881ba615c01354560a70d47256f90f.tar.xz |
test: simplify tests by using the pre-mined chain
Diffstat (limited to 'test/functional/rpc_net.py')
-rwxr-xr-x | test/functional/rpc_net.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/functional/rpc_net.py b/test/functional/rpc_net.py index af8b2ad72b..5fdd5daddf 100755 --- a/test/functional/rpc_net.py +++ b/test/functional/rpc_net.py @@ -11,7 +11,6 @@ from decimal import Decimal from itertools import product import time -from test_framework.blocktools import COINBASE_MATURITY import test_framework.messages from test_framework.p2p import ( P2PInterface, @@ -43,7 +42,6 @@ def assert_net_servicesnames(servicesflag, servicenames): class NetTest(BitcoinTestFramework): def set_test_params(self): - self.setup_clean_chain = True self.num_nodes = 2 self.extra_args = [["-minrelaytxfee=0.00001000"], ["-minrelaytxfee=0.00000500"]] self.supports_cli = False @@ -51,9 +49,6 @@ class NetTest(BitcoinTestFramework): def run_test(self): # We need miniwallet to make a transaction self.wallet = MiniWallet(self.nodes[0]) - self.generate(self.wallet, 1) - # Get out of IBD for the minfeefilter and getpeerinfo tests. - self.generate(self.nodes[0], COINBASE_MATURITY + 1) # By default, the test framework sets up an addnode connection from # node 1 --> node0. By connecting node0 --> node 1, we're left with |