def connect_to_local():
    from bitcoin.connection import BitcoinConnection
    from bitcoin.config import read_default_config    

    cfg = read_default_config()
    port = int(cfg.get('rpcport', '8332'))
    return BitcoinConnection(cfg['rpcuser'],cfg['rpcpassword'],'localhost',port)
Performs finalization actions after the download completes.
dataset/ETHPy150Open bitxbay/BitXBay/bitcoin/__init__.py/connect_to_local--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/bulkload/bulkloader_config.py/GenericExporter.finalize