Changeset View
Changeset View
Standalone View
Standalone View
test/functional/wallet_txn_doublespend.py
Show All 12 Lines | from test_framework.util import ( | ||||
find_output, | find_output, | ||||
sync_blocks, | sync_blocks, | ||||
) | ) | ||||
class TxnMallTest(BitcoinTestFramework): | class TxnMallTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 4 | self.num_nodes = 4 | ||||
self.extra_args = [["-noparkdeepreorg"], ["-noparkdeepreorg"], [], []] | self.extra_args = [["-noparkdeepreorg", '-deprecatedrpc=accounts'], | ||||
["-noparkdeepreorg", '-deprecatedrpc=accounts'], | |||||
['-deprecatedrpc=accounts'], ['-deprecatedrpc=accounts']] | |||||
def add_options(self, parser): | def add_options(self, parser): | ||||
parser.add_argument("--mineblock", dest="mine_block", default=False, action="store_true", | parser.add_argument("--mineblock", dest="mine_block", default=False, action="store_true", | ||||
help="Test double-spend of 1-confirmed transaction") | help="Test double-spend of 1-confirmed transaction") | ||||
def setup_network(self): | def setup_network(self): | ||||
# Start with split network: | # Start with split network: | ||||
super().setup_network() | super().setup_network() | ||||
▲ Show 20 Lines • Show All 130 Lines • Show Last 20 Lines |