Changeset View
Changeset View
Standalone View
Standalone View
test/functional/rpc_blockchain.py
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | |||||
) | ) | ||||
class BlockchainTest(BitcoinTestFramework): | class BlockchainTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 1 | self.num_nodes = 1 | ||||
def skip_test_if_missing_module(self): | |||||
self.skip_if_no_wallet() | |||||
def run_test(self): | def run_test(self): | ||||
# Set extra args with pruning after rescan is complete | # Set extra args with pruning after rescan is complete | ||||
self.restart_node(0, extra_args=['-stopatheight=207', '-prune=1']) | self.restart_node(0, extra_args=['-stopatheight=207', '-prune=1']) | ||||
self._test_getblockchaininfo() | self._test_getblockchaininfo() | ||||
self._test_getchaintxstats() | self._test_getchaintxstats() | ||||
self._test_gettxoutsetinfo() | self._test_gettxoutsetinfo() | ||||
self._test_getblockheader() | self._test_getblockheader() | ||||
▲ Show 20 Lines • Show All 313 Lines • Show Last 20 Lines |