Changeset View
Changeset View
Standalone View
Standalone View
test/functional/abc-rpc.py
#!/usr/bin/env python3 | #!/usr/bin/env python3 | ||||
# Copyright (c) 2017 The Bitcoin developers | # Copyright (c) 2017 The Bitcoin developers | ||||
# Distributed under the MIT software license, see the accompanying | # Distributed under the MIT software license, see the accompanying | ||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php. | # file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
# Exercise the Bitcoin ABC RPC calls. | # Exercise the Bitcoin ABC RPC calls. | ||||
import time | |||||
import random | |||||
import re | import re | ||||
from test_framework.test_framework import BitcoinTestFramework | from test_framework.test_framework import BitcoinTestFramework | ||||
from test_framework.util import (assert_equal, assert_raises_rpc_error) | from test_framework.util import (assert_equal, assert_raises_rpc_error) | ||||
from test_framework.cdefs import (ONE_MEGABYTE, | from test_framework.cdefs import (ONE_MEGABYTE, | ||||
LEGACY_MAX_BLOCK_SIZE, | LEGACY_MAX_BLOCK_SIZE, | ||||
DEFAULT_MAX_BLOCK_SIZE) | DEFAULT_MAX_BLOCK_SIZE) | ||||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |