Documentation ¶
Index ¶
- type OutPoint
- type OutPointPrintAble
- type Transaction
- func (t Transaction) CalcTrxId() (bigint.Uint256, error)
- func (t *Transaction) GetTrxPrintAble() TrxPrintAble
- func (t Transaction) HasWitness() bool
- func (t Transaction) Pack(writer io.Writer) error
- func (t Transaction) PackNoWitness(writer io.Writer) error
- func (t Transaction) PackToHex() (string, error)
- func (t *Transaction) UnPack(reader io.Reader) error
- func (t *Transaction) UnPackFromHex(hexStr string) error
- type TrxPrintAble
- type TxIn
- type TxInPrintAble
- type TxOut
- type TxOutPrintAble
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OutPointPrintAble ¶
type Transaction ¶
func (*Transaction) GetTrxPrintAble ¶
func (t *Transaction) GetTrxPrintAble() TrxPrintAble
func (Transaction) HasWitness ¶
func (t Transaction) HasWitness() bool
func (Transaction) PackNoWitness ¶
func (t Transaction) PackNoWitness(writer io.Writer) error
func (Transaction) PackToHex ¶
func (t Transaction) PackToHex() (string, error)
func (*Transaction) UnPackFromHex ¶
func (t *Transaction) UnPackFromHex(hexStr string) error
type TrxPrintAble ¶
type TrxPrintAble struct { Vin []TxInPrintAble Vout []TxOutPrintAble Version int32 LockTime uint32 }
type TxIn ¶
type TxInPrintAble ¶
type TxInPrintAble struct { PrevOut OutPointPrintAble ScriptSig string Sequence uint32 ScriptWitness []string }
Click to show internal directories.
Click to hide internal directories.