Changeset View
Changeset View
Standalone View
Standalone View
test/functional/wallet_basic.py
Show All 17 Lines | from test_framework.util import ( | ||||
sync_blocks, | sync_blocks, | ||||
wait_until, | wait_until, | ||||
) | ) | ||||
class WalletTest(BitcoinTestFramework): | class WalletTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 4 | self.num_nodes = 4 | ||||
self.extra_args = [ | |||||
["-acceptnonstdtxn=1"], | |||||
] * self.num_nodes | |||||
self.setup_clean_chain = True | self.setup_clean_chain = True | ||||
# TODO: remove -txindex. Currently required for getrawtransaction call. | |||||
self.extra_args = [["-acceptnonstdtxn=1"], | |||||
["-acceptnonstdtxn=1"], | |||||
["-acceptnonstdtxn=1", "-txindex"], | |||||
["-acceptnonstdtxn=1"]] | |||||
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 setup_network(self): | def setup_network(self): | ||||
self.setup_nodes() | self.setup_nodes() | ||||
# Only need nodes 0-2 running at start of test | # Only need nodes 0-2 running at start of test | ||||
self.stop_node(3) | self.stop_node(3) | ||||
▲ Show 20 Lines • Show All 493 Lines • Show Last 20 Lines |