Imports github.com/go-errors/errors github.com/roasbeef/btcd/btcec github.com/roasbeef/btcd/chaincfg/chainhash github.com/roasbeef/btcd/wire github.com/roasbeef/btcutil google.golang.org/grpc/codes Standard library imports bytes crypto/sha256 encoding/binary encoding/hex fmt io math net