Changeset View
Changeset View
Standalone View
Standalone View
test/functional/test_framework/test_framework.py
Show First 20 Lines • Show All 104 Lines • ▼ Show 20 Lines | def __init__(self): | ||||
self.setup_clean_chain = False | self.setup_clean_chain = False | ||||
self.nodes = [] | self.nodes = [] | ||||
self.network_thread = None | self.network_thread = None | ||||
# Wait for up to 60 seconds for the RPC server to respond | # Wait for up to 60 seconds for the RPC server to respond | ||||
self.rpc_timeout = 60 | self.rpc_timeout = 60 | ||||
self.supports_cli = True | self.supports_cli = True | ||||
self.bind_to_localhost_only = True | self.bind_to_localhost_only = True | ||||
self.parse_args() | self.parse_args() | ||||
self.default_wallet_name = "" | self.default_wallet_name = "default_wallet" if self.options.descriptors else "" | ||||
self.wallet_data_filename = "wallet.dat" | self.wallet_data_filename = "wallet.dat" | ||||
# Optional list of wallet names that can be set in set_test_params to | # Optional list of wallet names that can be set in set_test_params to | ||||
# create and import keys to. If unset, default is len(nodes) * | # create and import keys to. If unset, default is len(nodes) * | ||||
# [default_wallet_name]. If wallet names are None, wallet creation is | # [default_wallet_name]. If wallet names are None, wallet creation is | ||||
# skipped. If list is truncated, wallet creation is skipped and keys | # skipped. If list is truncated, wallet creation is skipped and keys | ||||
# are not imported. | # are not imported. | ||||
self.wallet_names = None | self.wallet_names = None | ||||
self.set_test_params() | self.set_test_params() | ||||
▲ Show 20 Lines • Show All 686 Lines • Show Last 20 Lines |