Versions in this module Expand all Collapse all v0 v0.9.1 Apr 30, 2019 v0.9.0 Apr 29, 2019 Changes in this version + func AddAllInputScripts(tx *wire.MsgTx, prevPkScripts [][]byte, inputValues []util.Amount, ...) error + func RandomizeOutputPosition(outputs []*wire.TxOut, index int) int + type AuthoredTx struct + ChangeIndex int + PrevInputValues []util.Amount + PrevScripts [][]byte + TotalInput util.Amount + Tx *wire.MsgTx + func NewUnsignedTransaction(outputs []*wire.TxOut, relayFeePerKb util.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 util.Amount) (total util.Amount, inputs []*wire.TxIn, inputValues []util.Amount, ...) + type InputSourceError interface + InputSourceError func() + type SecretsSource interface + ChainParams func() *chaincfg.Params