txin

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2018 License: BSD-2-Clause Imports: 8 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TxIn

type TxIn struct {
	PreviousOutPoint *outpoint.OutPoint

	Sequence uint32
	// contains filtered or unexported fields
}

func NewTxIn

func NewTxIn(previousOutPoint *outpoint.OutPoint, scriptSig *script.Script, sequence uint32) *TxIn

func (*TxIn) CheckStandard

func (txIn *TxIn) CheckStandard() (bool, string)

func (*TxIn) Decode

func (txIn *TxIn) Decode(reader io.Reader) error

func (*TxIn) Encode

func (txIn *TxIn) Encode(writer io.Writer) error

func (*TxIn) EncodeSize

func (txIn *TxIn) EncodeSize() uint32

func (*TxIn) GetScriptSig

func (txIn *TxIn) GetScriptSig() *script.Script

func (*TxIn) Serialize

func (txIn *TxIn) Serialize(writer io.Writer) error

func (*TxIn) SerializeSize

func (txIn *TxIn) SerializeSize() uint32

func (*TxIn) SetScriptSig

func (txIn *TxIn) SetScriptSig(scriptSig *script.Script)

func (*TxIn) String

func (txIn *TxIn) String() string

func (*TxIn) Unserialize

func (txIn *TxIn) Unserialize(reader io.Reader) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL