Changeset View
Changeset View
Standalone View
Standalone View
test/functional/wallet_reorgsrestore.py
Show All 23 Lines | from test_framework.util import ( | ||||
disconnect_nodes, | disconnect_nodes, | ||||
) | ) | ||||
class ReorgsRestoreTest(BitcoinTestFramework): | class ReorgsRestoreTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 3 | self.num_nodes = 3 | ||||
self.extra_args = [["-noparkdeepreorg"]] * self.num_nodes | self.extra_args = [["-noparkdeepreorg"]] * self.num_nodes | ||||
self.supports_cli = False | |||||
def skip_test_if_missing_module(self): | def skip_test_if_missing_module(self): | ||||
self.skip_if_no_wallet() | self.skip_if_no_wallet() | ||||
def run_test(self): | def run_test(self): | ||||
# Send a tx from which to conflict outputs later | # Send a tx from which to conflict outputs later | ||||
txid_conflict_from = self.nodes[0].sendtoaddress( | txid_conflict_from = self.nodes[0].sendtoaddress( | ||||
self.nodes[0].getnewaddress(), Decimal("10")) | self.nodes[0].getnewaddress(), Decimal("10")) | ||||
▲ Show 20 Lines • Show All 89 Lines • Show Last 20 Lines |