diff --git a/blockstack_client/config.py b/blockstack_client/config.py index 70e6ad4a0..3c0697458 100644 --- a/blockstack_client/config.py +++ b/blockstack_client/config.py @@ -36,13 +36,26 @@ import time import shutil import requests import keylib +import json from binascii import hexlify from ConfigParser import SafeConfigParser import virtualchain -from .utxo import * -from .constants import * +from .utxo import ( + SUPPORTED_UTXO_PROVIDERS, default_utxo_provider_opts, + SUPPORTED_UTXO_PARAMS, SUPPORTED_UTXO_PROMPT_MESSAGES, + connect_utxo_provider +) +from .constants import ( + NAME_REGISTRATION, OPCODE_NAMES, CONFIG_DIR, CONFIG_PATH, + TX_MIN_CONFIRMATIONS, BLOCKSTACKD_SERVER, BLOCKSTACKD_PORT, + METADATA_DIRNAME, BLOCKSTACK_DEFAULT_STORAGE_DRIVERS, + BLOCKSTACK_REQUIRED_STORAGE_DRIVERS_WRITE, DEFAULT_API_PORT, + DEFAULT_API_HOST, DEFAULT_QUEUE_PATH, DEFAULT_POLL_INTERVAL, + DEFAULT_BLOCKCHAIN_READER, DEFAULT_BLOCKCHAIN_WRITER, + VERSION +) from .logger import get_logger log = get_logger('blockstack-client') diff --git a/blockstack_client/tx.py b/blockstack_client/tx.py index d01720946..2aa72ec71 100644 --- a/blockstack_client/tx.py +++ b/blockstack_client/tx.py @@ -23,7 +23,12 @@ import virtualchain -from .operations import * +from .operations import ( + tx_preorder, tx_register, tx_update, tx_transfer, tx_revoke, + tx_namespace_preorder, tx_namespace_reveal, tx_namespace_ready, + tx_name_import, tx_announce +) + from .constants import CONFIG_PATH, BLOCKSTACK_TEST, BLOCKSTACK_DRY_RUN from .config import get_tx_broadcaster from .logger import get_logger