Changeset View
Changeset View
Standalone View
Standalone View
test/functional/feature_maxuploadtarget.py
Show All 35 Lines | |||||
class MaxUploadTest(BitcoinTestFramework): | class MaxUploadTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.setup_clean_chain = True | self.setup_clean_chain = True | ||||
self.num_nodes = 1 | self.num_nodes = 1 | ||||
# Start a node with maxuploadtarget of 200 MB (/24h) | # Start a node with maxuploadtarget of 200 MB (/24h) | ||||
self.extra_args = [["-maxuploadtarget=200", "-acceptnonstdtxn=1"]] | self.extra_args = [["-maxuploadtarget=200", "-acceptnonstdtxn=1"]] | ||||
self.supports_cli = False | |||||
# Cache for utxos, as the listunspent may take a long time later in the | # Cache for utxos, as the listunspent may take a long time later in the | ||||
# test | # test | ||||
self.utxo_cache = [] | self.utxo_cache = [] | ||||
def skip_test_if_missing_module(self): | def skip_test_if_missing_module(self): | ||||
self.skip_if_no_wallet() | self.skip_if_no_wallet() | ||||
▲ Show 20 Lines • Show All 122 Lines • Show Last 20 Lines |