Imports github.com/btcsuite/btclog github.com/btgsuite/btgd/wire github.com/btgsuite/btgd/btcec github.com/aead/chacha20 golang.org/x/crypto/ripemd160 github.com/btgsuite/btgutil github.com/btgsuite/btgd/chaincfg Standard library imports bufio bytes encoding/binary errors fmt io math/big crypto/ecdsa crypto/hmac crypto/sha256