Imports github.com/decred/dcrd/dcrec/secp256k1/v2 github.com/decred/dcrd/dcrec github.com/aead/chacha20 github.com/decred/dcrd/dcrutil/v2 github.com/decred/dcrd/wire github.com/decred/slog Standard library imports bufio bytes encoding/binary errors fmt io math/big crypto/hmac crypto/sha256 crypto/ecdsa