Remove unused imports.
This commit is contained in:
parent
45dab9adc0
commit
35ff8d9bf2
|
@ -5,9 +5,10 @@
|
||||||
|
|
||||||
|
|
||||||
from test_framework.flyclient import (ZcashMMRNode, append, delete, make_root_commitment)
|
from test_framework.flyclient import (ZcashMMRNode, append, delete, make_root_commitment)
|
||||||
from test_framework.mininode import (HEARTWOOD_BRANCH_ID, CBlockHeader)
|
from test_framework.mininode import (CBlockHeader)
|
||||||
from test_framework.test_framework import BitcoinTestFramework
|
from test_framework.test_framework import BitcoinTestFramework
|
||||||
from test_framework.util import (
|
from test_framework.util import (
|
||||||
|
HEARTWOOD_BRANCH_ID,
|
||||||
assert_equal,
|
assert_equal,
|
||||||
bytes_to_hex_str,
|
bytes_to_hex_str,
|
||||||
hex_str_to_bytes,
|
hex_str_to_bytes,
|
||||||
|
|
|
@ -27,17 +27,12 @@ length computation (40b5d5e3ea4b602c34c4efaba0b9f6171dddfef5) corrects the issue
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from test_framework.test_framework import BitcoinTestFramework
|
from test_framework.test_framework import BitcoinTestFramework
|
||||||
from test_framework.authproxy import JSONRPCException
|
|
||||||
from test_framework.util import (assert_equal, assert_true,
|
from test_framework.util import (assert_equal, assert_true,
|
||||||
initialize_chain_clean, start_nodes, start_node, connect_nodes_bi,
|
initialize_chain_clean, start_nodes, start_node, connect_nodes_bi,
|
||||||
bitcoind_processes,
|
bitcoind_processes,
|
||||||
nuparams, OVERWINTER_BRANCH_ID, SAPLING_BRANCH_ID)
|
nuparams, OVERWINTER_BRANCH_ID, SAPLING_BRANCH_ID)
|
||||||
|
|
||||||
import os
|
|
||||||
import re
|
import re
|
||||||
import shutil
|
|
||||||
from random import randint
|
|
||||||
from decimal import Decimal
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
HAS_SAPLING = [nuparams(OVERWINTER_BRANCH_ID, 10), nuparams(SAPLING_BRANCH_ID, 15)]
|
HAS_SAPLING = [nuparams(OVERWINTER_BRANCH_ID, 10), nuparams(SAPLING_BRANCH_ID, 15)]
|
||||||
|
|
|
@ -31,9 +31,6 @@ from threading import Thread
|
||||||
import logging
|
import logging
|
||||||
import copy
|
import copy
|
||||||
from pyblake2 import blake2b
|
from pyblake2 import blake2b
|
||||||
from test_framework.util import (SPROUT_BRANCH_ID, OVERWINTER_BRANCH_ID,
|
|
||||||
SAPLING_BRANCH_ID, BLOSSOM_BRANCH_ID, HEARTWOOD_BRANCH_ID,
|
|
||||||
NU4_BRANCH_ID)
|
|
||||||
|
|
||||||
from .equihash import (
|
from .equihash import (
|
||||||
gbp_basic,
|
gbp_basic,
|
||||||
|
|
Loading…
Reference in New Issue