Imports github.com/decred/dcrd/dcrec/secp256k1/v4 github.com/decred/dcrd/dcrutil/v4 github.com/decred/dcrd/txscript/v4/stdaddr github.com/decred/dcrd/wire github.com/decred/slog golang.org/x/crypto/chacha20 Standard library imports bufio bytes crypto/hmac crypto/rand crypto/sha256 encoding/binary errors fmt io math/big sync