Changeset View
Changeset View
Standalone View
Standalone View
test/functional/rpc_blockchain.py
Show All 21 Lines | |||||
import http.client | import http.client | ||||
import subprocess | import subprocess | ||||
from test_framework.test_framework import BitcoinTestFramework | from test_framework.test_framework import BitcoinTestFramework | ||||
from test_framework.util import ( | from test_framework.util import ( | ||||
assert_equal, | assert_equal, | ||||
assert_raises, | assert_raises, | ||||
assert_raises_rpc_error, | assert_raises_rpc_error, | ||||
assert_is_hex_string, | |||||
assert_is_hash_string, | assert_is_hash_string, | ||||
assert_is_hex_string, | |||||
) | ) | ||||
class BlockchainTest(BitcoinTestFramework): | class BlockchainTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 1 | self.num_nodes = 1 | ||||
self.extra_args = [['-stopatheight=207', '-prune=1']] | self.extra_args = [['-stopatheight=207', '-prune=1']] | ||||
▲ Show 20 Lines • Show All 204 Lines • Show Last 20 Lines |