Imports github.com/btcsuite/btcd/chaincfg github.com/btcsuite/btclog github.com/btcsuite/btcd/wire Standard library imports encoding/binary errors fmt math math/rand net strconv sync sync/atomic time