Versions in this module Expand all Collapse all v2 v2.7.6 Nov 14, 2023 v2.7.5 Apr 14, 2023 Changes in this version + func AddAllInputScripts(tx *wire.MsgTx, prevPkScripts [][]byte, secrets SecretsSource) error + func RandomizeOutputPosition(outputs []*wire.TxOut, index int) int + type AuthoredTx struct + ChangeIndex int + EstimatedSignedSerializeSize int + PrevScripts [][]byte + TotalInput dcrutil.Amount + Tx *wire.MsgTx + func NewUnsignedTransaction(outputs []*wire.TxOut, relayFeePerKb dcrutil.Amount, fetchInputs InputSource, ...) (*AuthoredTx, error) + func (tx *AuthoredTx) AddAllInputScripts(secrets SecretsSource) error + func (tx *AuthoredTx) RandomizeChangePosition() + type ChangeSource interface + Script func() (script []byte, version uint16, err error) + ScriptSize func() int + type InputDetail struct + Amount dcrutil.Amount + Inputs []*wire.TxIn + RedeemScriptSizes []int + Scripts [][]byte + type InputSource func(target dcrutil.Amount) (detail *InputDetail, err error) + type SecretsSource interface + ChainParams func() *chaincfg.Params