Versions in this module Expand all Collapse all v1 v1.4.10 Mar 19, 2021 Changes in this version + func AddAllInputScripts(tx *wire.MsgTx, prevPkScripts [][]byte, inputValues []vclutil.Amount, ...) error + func RandomizeOutputPosition(outputs []*wire.TxOut, index int) int + func SumOutputValues(outputs []*wire.TxOut) (totalOutput vclutil.Amount) + type AuthoredTx struct + ChangeIndex int + PrevInputValues []vclutil.Amount + PrevScripts [][]byte + TotalInput vclutil.Amount + Tx *wire.MsgTx + func NewUnsignedTransaction(outputs []*wire.TxOut, feeRatePerKb vclutil.Amount, fetchInputs InputSource, ...) (*AuthoredTx, error) + func (tx *AuthoredTx) AddAllInputScripts(secrets SecretsSource) error + func (tx *AuthoredTx) RandomizeChangePosition() + type ChangeSource func() ([]byte, error) + type InputSource func(target vclutil.Amount) (total vclutil.Amount, inputs []*wire.TxIn, inputValues []vclutil.Amount, ...) + type InputSourceError interface + InputSourceError func() + type SecretsSource interface + ChainParams func() *chaincfg.Params