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