tests: Use explicit imports

This commit is contained in:
practicalswift
2018-07-07 00:10:35 +02:00
parent 2115cba9c6
commit 68400d8b96
50 changed files with 144 additions and 95 deletions

View File

@@ -21,7 +21,7 @@ import struct
import sys
import threading
from test_framework.messages import *
from test_framework.messages import CBlockHeader, MIN_VERSION_SUPPORTED, msg_addr, msg_block, MSG_BLOCK, msg_blocktxn, msg_cmpctblock, msg_feefilter, msg_getaddr, msg_getblocks, msg_getblocktxn, msg_getdata, msg_getheaders, msg_headers, msg_inv, msg_mempool, msg_ping, msg_pong, msg_reject, msg_sendcmpct, msg_sendheaders, msg_tx, MSG_TX, MSG_TYPE_MASK, msg_verack, msg_version, NODE_NETWORK, NODE_WITNESS, sha256
from test_framework.util import wait_until
logger = logging.getLogger("TestFramework.mininode")