Versions in this module Expand all Collapse all v4 v4.0.0 May 16, 2024 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 Other modules containing this package decred.org/dcrwallet decred.org/dcrwallet/v2 decred.org/dcrwallet/v3