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