Versions in this module Expand all Collapse all v8 v8.0.9 Jun 22, 2022 v8.0.0 Jun 22, 2022 Changes in this version + func EncodeDesc(sc ScriptClass, amount int64, txVersion uint16, lockTime, expiry uint32) []byte + type Blamer interface + Blame func() []int + type Caller interface + Call func(ctx context.Context, method string, res interface{}, args ...interface{}) error + type ScriptClass int + const P2PKHv0 + const P2SHv0 + func DecodeDesc(desc []byte) (sc ScriptClass, amount int64, txVersion uint16, lockTime, expiry uint32, ...) + func (sc ScriptClass) Match(script []byte, vers uint16) bool + type Tx struct + Tx wire.MsgTx + func NewTx(caller Caller, sc ScriptClass, amount, feeRate int64, txVersion uint16, ...) (*Tx, error) + func (t *Tx) Confirm(confirm interface{}, pid int) error + func (t *Tx) Join(unmixed []byte, pid int) error + func (t *Tx) MarshalBinary() ([]byte, error) + func (t *Tx) Mix(m []byte) + func (t *Tx) PublishMix(ctx context.Context) error + func (t *Tx) Report() interface{} + func (t *Tx) Shuffle() + func (t *Tx) UnmarshalBinary(b []byte) error + func (t *Tx) ValidateUnmixed(unmixed []byte, mcount int) error