Imports github.com/btcsuite/btcd/btcutil github.com/btcsuite/btcd/chaincfg github.com/btcsuite/btcd/txscript Standard library imports bufio context crypto/sha256 crypto/tls encoding/hex encoding/json errors fmt log net sync sync/atomic time