Skip to content

Commit fa31ca0

Browse files
author
MarcoFalke
committed
qa: Remove redundant checkmempool/checkblockindex extra_args
1 parent df9f712 commit fa31ca0

File tree

5 files changed

+4
-8
lines changed

5 files changed

+4
-8
lines changed

test/functional/feature_reindex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def reindex(self, justchainstate=False):
2222
self.nodes[0].generate(3)
2323
blockcount = self.nodes[0].getblockcount()
2424
self.stop_nodes()
25-
extra_args = [["-reindex-chainstate" if justchainstate else "-reindex", "-checkblockindex=1"]]
25+
extra_args = [["-reindex-chainstate" if justchainstate else "-reindex"]]
2626
self.start_nodes(extra_args)
2727
wait_until(lambda: self.nodes[0].getblockcount() == blockcount)
2828
self.log.info("Success")

test/functional/mempool_accept.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ class MempoolAcceptanceTest(BitcoinTestFramework):
3535
def set_test_params(self):
3636
self.num_nodes = 1
3737
self.extra_args = [[
38-
'-checkmempool',
3938
'-txindex',
4039
'-reindex', # Need reindex for txindex
4140
'-acceptnonstdtxn=0', # Try to mimic main-net

test/functional/mempool_reorg.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@
1111
from test_framework.test_framework import BitcoinTestFramework
1212
from test_framework.util import *
1313

14-
# Create one-input, one-output, no-fee transaction:
14+
1515
class MempoolCoinbaseTest(BitcoinTestFramework):
1616
def set_test_params(self):
1717
self.num_nodes = 2
18-
self.extra_args = [["-checkmempool"]] * 2
1918

2019
alert_filename = None # Set by setup_network
2120

test/functional/mempool_resurrect.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@
77
from test_framework.test_framework import BitcoinTestFramework
88
from test_framework.util import *
99

10-
# Create one-input, one-output, no-fee transaction:
10+
1111
class MempoolCoinbaseTest(BitcoinTestFramework):
1212
def set_test_params(self):
1313
self.num_nodes = 1
14-
self.extra_args = [["-checkmempool"]]
1514

1615
def run_test(self):
1716
node0_address = self.nodes[0].getnewaddress()

test/functional/mempool_spend_coinbase.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@
1515
from test_framework.test_framework import BitcoinTestFramework
1616
from test_framework.util import *
1717

18-
# Create one-input, one-output, no-fee transaction:
18+
1919
class MempoolSpendCoinbaseTest(BitcoinTestFramework):
2020
def set_test_params(self):
2121
self.num_nodes = 1
22-
self.extra_args = [["-checkmempool"]]
2322

2423
def run_test(self):
2524
chain_height = self.nodes[0].getblockcount()

0 commit comments

Comments
 (0)