Imports github.com/decred/dcrd/chaincfg/chainhash github.com/decred/dcrd/chaincfg/v3 github.com/decred/dcrd/dcrutil/v3 github.com/decred/dcrd/txscript/v3 github.com/decred/dcrd/wire Standard library imports bytes crypto/rand encoding/binary fmt math math/big runtime sort time