Documentation ¶
Index ¶
- Variables
- type Block
- func (*Block) Descriptor() ([]byte, []int)
- func (m *Block) GetHeader() *BlockHeader
- func (m *Block) GetInternalTxs() []*Transaction
- func (m *Block) GetIrreversibleInfo() *IrreversibleInfo
- func (m *Block) GetSignature() []byte
- func (m *Block) GetTxs() []*Transaction
- func (m *Block) Marshal() (dAtA []byte, err error)
- func (m *Block) MarshalTo(dAtA []byte) (int, error)
- func (*Block) ProtoMessage()
- func (m *Block) Reset()
- func (m *Block) Size() (n int)
- func (m *Block) String() string
- func (m *Block) Unmarshal(dAtA []byte) error
- func (m *Block) XXX_DiscardUnknown()
- func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Block) XXX_Merge(src proto.Message)
- func (m *Block) XXX_Size() int
- func (m *Block) XXX_Unmarshal(b []byte) error
- type BlockHeader
- func (*BlockHeader) Descriptor() ([]byte, []int)
- func (m *BlockHeader) GetBloom() []byte
- func (m *BlockHeader) GetBookKeeper() []byte
- func (m *BlockHeader) GetCandidatesHash() []byte
- func (m *BlockHeader) GetGasUsed() uint64
- func (m *BlockHeader) GetHeight() uint32
- func (m *BlockHeader) GetInternalTxsRoot() []byte
- func (m *BlockHeader) GetMagic() uint32
- func (m *BlockHeader) GetPeriodHash() []byte
- func (m *BlockHeader) GetPrevBlockHash() []byte
- func (m *BlockHeader) GetReceiptHash() []byte
- func (m *BlockHeader) GetRootHash() []byte
- func (m *BlockHeader) GetTimeStamp() int64
- func (m *BlockHeader) GetTxsRoot() []byte
- func (m *BlockHeader) GetUtxoRoot() []byte
- func (m *BlockHeader) GetVersion() int32
- func (m *BlockHeader) Marshal() (dAtA []byte, err error)
- func (m *BlockHeader) MarshalTo(dAtA []byte) (int, error)
- func (*BlockHeader) ProtoMessage()
- func (m *BlockHeader) Reset()
- func (m *BlockHeader) Size() (n int)
- func (m *BlockHeader) String() string
- func (m *BlockHeader) Unmarshal(dAtA []byte) error
- func (m *BlockHeader) XXX_DiscardUnknown()
- func (m *BlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockHeader) XXX_Merge(src proto.Message)
- func (m *BlockHeader) XXX_Size() int
- func (m *BlockHeader) XXX_Unmarshal(b []byte) error
- type Data
- func (*Data) Descriptor() ([]byte, []int)
- func (m *Data) GetContent() []byte
- func (m *Data) GetType() int32
- func (m *Data) Marshal() (dAtA []byte, err error)
- func (m *Data) MarshalTo(dAtA []byte) (int, error)
- func (*Data) ProtoMessage()
- func (m *Data) Reset()
- func (m *Data) Size() (n int)
- func (m *Data) String() string
- func (m *Data) Unmarshal(dAtA []byte) error
- func (m *Data) XXX_DiscardUnknown()
- func (m *Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Data) XXX_Merge(src proto.Message)
- func (m *Data) XXX_Size() int
- func (m *Data) XXX_Unmarshal(b []byte) error
- type IrreversibleInfo
- func (*IrreversibleInfo) Descriptor() ([]byte, []int)
- func (m *IrreversibleInfo) GetHash() []byte
- func (m *IrreversibleInfo) GetSignatures() [][]byte
- func (m *IrreversibleInfo) Marshal() (dAtA []byte, err error)
- func (m *IrreversibleInfo) MarshalTo(dAtA []byte) (int, error)
- func (*IrreversibleInfo) ProtoMessage()
- func (m *IrreversibleInfo) Reset()
- func (m *IrreversibleInfo) Size() (n int)
- func (m *IrreversibleInfo) String() string
- func (m *IrreversibleInfo) Unmarshal(dAtA []byte) error
- func (m *IrreversibleInfo) XXX_DiscardUnknown()
- func (m *IrreversibleInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IrreversibleInfo) XXX_Merge(src proto.Message)
- func (m *IrreversibleInfo) XXX_Size() int
- func (m *IrreversibleInfo) XXX_Unmarshal(b []byte) error
- type Log
- func (*Log) Descriptor() ([]byte, []int)
- func (m *Log) GetAddress() []byte
- func (m *Log) GetBlockNumber() uint64
- func (m *Log) GetData() []byte
- func (m *Log) GetIndex() uint32
- func (m *Log) GetRemoved() bool
- func (m *Log) GetTopics() [][]byte
- func (m *Log) GetTxHash() []byte
- func (m *Log) GetTxIndex() uint32
- func (m *Log) Marshal() (dAtA []byte, err error)
- func (m *Log) MarshalTo(dAtA []byte) (int, error)
- func (*Log) ProtoMessage()
- func (m *Log) Reset()
- func (m *Log) Size() (n int)
- func (m *Log) String() string
- func (m *Log) Unmarshal(dAtA []byte) error
- func (m *Log) XXX_DiscardUnknown()
- func (m *Log) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Log) XXX_Merge(src proto.Message)
- func (m *Log) XXX_Size() int
- func (m *Log) XXX_Unmarshal(b []byte) error
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) GetValue() [][]byte
- func (m *Node) Marshal() (dAtA []byte, err error)
- func (m *Node) MarshalTo(dAtA []byte) (int, error)
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) Size() (n int)
- func (m *Node) String() string
- func (m *Node) Unmarshal(dAtA []byte) error
- func (m *Node) XXX_DiscardUnknown()
- func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node) XXX_Merge(src proto.Message)
- func (m *Node) XXX_Size() int
- func (m *Node) XXX_Unmarshal(b []byte) error
- type OutPoint
- func (*OutPoint) Descriptor() ([]byte, []int)
- func (m *OutPoint) GetHash() []byte
- func (m *OutPoint) GetIndex() uint32
- func (m *OutPoint) Marshal() (dAtA []byte, err error)
- func (m *OutPoint) MarshalTo(dAtA []byte) (int, error)
- func (*OutPoint) ProtoMessage()
- func (m *OutPoint) Reset()
- func (m *OutPoint) Size() (n int)
- func (m *OutPoint) String() string
- func (m *OutPoint) Unmarshal(dAtA []byte) error
- func (m *OutPoint) XXX_DiscardUnknown()
- func (m *OutPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutPoint) XXX_Merge(src proto.Message)
- func (m *OutPoint) XXX_Size() int
- func (m *OutPoint) XXX_Unmarshal(b []byte) error
- type Receipt
- func (*Receipt) Descriptor() ([]byte, []int)
- func (m *Receipt) GetBloom() []byte
- func (m *Receipt) GetFailed() bool
- func (m *Receipt) GetGasUsed() uint64
- func (m *Receipt) GetLogs() []*Log
- func (m *Receipt) GetTxHash() []byte
- func (m *Receipt) GetTxIndex() uint32
- func (m *Receipt) Marshal() (dAtA []byte, err error)
- func (m *Receipt) MarshalTo(dAtA []byte) (int, error)
- func (*Receipt) ProtoMessage()
- func (m *Receipt) Reset()
- func (m *Receipt) Size() (n int)
- func (m *Receipt) String() string
- func (m *Receipt) Unmarshal(dAtA []byte) error
- func (m *Receipt) XXX_DiscardUnknown()
- func (m *Receipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Receipt) XXX_Merge(src proto.Message)
- func (m *Receipt) XXX_Size() int
- func (m *Receipt) XXX_Unmarshal(b []byte) error
- type Receipts
- func (*Receipts) Descriptor() ([]byte, []int)
- func (m *Receipts) GetReceipts() []*Receipt
- func (m *Receipts) Marshal() (dAtA []byte, err error)
- func (m *Receipts) MarshalTo(dAtA []byte) (int, error)
- func (*Receipts) ProtoMessage()
- func (m *Receipts) Reset()
- func (m *Receipts) Size() (n int)
- func (m *Receipts) String() string
- func (m *Receipts) Unmarshal(dAtA []byte) error
- func (m *Receipts) XXX_DiscardUnknown()
- func (m *Receipts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Receipts) XXX_Merge(src proto.Message)
- func (m *Receipts) XXX_Size() int
- func (m *Receipts) XXX_Unmarshal(b []byte) error
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)
- func (m *Transaction) GetData() *Data
- func (m *Transaction) GetLockTime() int64
- func (m *Transaction) GetMagic() uint32
- func (m *Transaction) GetVersion() int32
- func (m *Transaction) GetVin() []*TxIn
- func (m *Transaction) GetVout() []*TxOut
- func (m *Transaction) Marshal() (dAtA []byte, err error)
- func (m *Transaction) MarshalTo(dAtA []byte) (int, error)
- func (*Transaction) ProtoMessage()
- func (m *Transaction) Reset()
- func (m *Transaction) Size() (n int)
- func (m *Transaction) String() string
- func (m *Transaction) Unmarshal(dAtA []byte) error
- func (m *Transaction) XXX_DiscardUnknown()
- func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Transaction) XXX_Merge(src proto.Message)
- func (m *Transaction) XXX_Size() int
- func (m *Transaction) XXX_Unmarshal(b []byte) error
- type TxIn
- func (*TxIn) Descriptor() ([]byte, []int)
- func (m *TxIn) GetPrevOutPoint() *OutPoint
- func (m *TxIn) GetScriptSig() []byte
- func (m *TxIn) GetSequence() uint32
- func (m *TxIn) Marshal() (dAtA []byte, err error)
- func (m *TxIn) MarshalTo(dAtA []byte) (int, error)
- func (*TxIn) ProtoMessage()
- func (m *TxIn) Reset()
- func (m *TxIn) Size() (n int)
- func (m *TxIn) String() string
- func (m *TxIn) Unmarshal(dAtA []byte) error
- func (m *TxIn) XXX_DiscardUnknown()
- func (m *TxIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxIn) XXX_Merge(src proto.Message)
- func (m *TxIn) XXX_Size() int
- func (m *TxIn) XXX_Unmarshal(b []byte) error
- type TxOut
- func (*TxOut) Descriptor() ([]byte, []int)
- func (m *TxOut) GetScriptPubKey() []byte
- func (m *TxOut) GetValue() uint64
- func (m *TxOut) Marshal() (dAtA []byte, err error)
- func (m *TxOut) MarshalTo(dAtA []byte) (int, error)
- func (*TxOut) ProtoMessage()
- func (m *TxOut) Reset()
- func (m *TxOut) Size() (n int)
- func (m *TxOut) String() string
- func (m *TxOut) Unmarshal(dAtA []byte) error
- func (m *TxOut) XXX_DiscardUnknown()
- func (m *TxOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxOut) XXX_Merge(src proto.Message)
- func (m *TxOut) XXX_Size() int
- func (m *TxOut) XXX_Unmarshal(b []byte) error
- type UtxoWrap
- func (*UtxoWrap) Descriptor() ([]byte, []int)
- func (m *UtxoWrap) GetBlockHeight() uint32
- func (m *UtxoWrap) GetIsCoinbase() bool
- func (m *UtxoWrap) GetIsSpent() bool
- func (m *UtxoWrap) GetOutput() *TxOut
- func (m *UtxoWrap) Marshal() (dAtA []byte, err error)
- func (m *UtxoWrap) MarshalTo(dAtA []byte) (int, error)
- func (*UtxoWrap) ProtoMessage()
- func (m *UtxoWrap) Reset()
- func (m *UtxoWrap) Size() (n int)
- func (m *UtxoWrap) String() string
- func (m *UtxoWrap) Unmarshal(dAtA []byte) error
- func (m *UtxoWrap) XXX_DiscardUnknown()
- func (m *UtxoWrap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UtxoWrap) XXX_Merge(src proto.Message)
- func (m *UtxoWrap) XXX_Size() int
- func (m *UtxoWrap) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthBlock = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBlock = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthLog = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLog = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthReceipt = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowReceipt = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthTrie = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTrie = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { Header *BlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Txs []*Transaction `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"` InternalTxs []*Transaction `protobuf:"bytes,3,rep,name=internal_txs,json=internalTxs,proto3" json:"internal_txs,omitempty"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` IrreversibleInfo *IrreversibleInfo `protobuf:"bytes,5,opt,name=irreversible_info,json=irreversibleInfo,proto3" json:"irreversible_info,omitempty"` }
func (*Block) Descriptor ¶
func (*Block) GetHeader ¶
func (m *Block) GetHeader() *BlockHeader
func (*Block) GetInternalTxs ¶ added in v0.5.0
func (m *Block) GetInternalTxs() []*Transaction
func (*Block) GetIrreversibleInfo ¶ added in v0.3.0
func (m *Block) GetIrreversibleInfo() *IrreversibleInfo
func (*Block) GetSignature ¶
func (*Block) GetTxs ¶
func (m *Block) GetTxs() []*Transaction
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) XXX_DiscardUnknown ¶
func (m *Block) XXX_DiscardUnknown()
func (*Block) XXX_Marshal ¶
func (*Block) XXX_Unmarshal ¶
type BlockHeader ¶
type BlockHeader struct { Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` PrevBlockHash []byte `protobuf:"bytes,2,opt,name=prev_block_hash,json=prevBlockHash,proto3" json:"prev_block_hash,omitempty"` TxsRoot []byte `protobuf:"bytes,3,opt,name=txs_root,json=txsRoot,proto3" json:"txs_root,omitempty"` InternalTxsRoot []byte `protobuf:"bytes,4,opt,name=internal_txs_root,json=internalTxsRoot,proto3" json:"internal_txs_root,omitempty"` UtxoRoot []byte `protobuf:"bytes,5,opt,name=utxo_root,json=utxoRoot,proto3" json:"utxo_root,omitempty"` ReceiptHash []byte `protobuf:"bytes,6,opt,name=receipt_hash,json=receiptHash,proto3" json:"receipt_hash,omitempty"` TimeStamp int64 `protobuf:"varint,7,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"` Magic uint32 `protobuf:"varint,8,opt,name=magic,proto3" json:"magic,omitempty"` PeriodHash []byte `protobuf:"bytes,9,opt,name=period_hash,json=periodHash,proto3" json:"period_hash,omitempty"` CandidatesHash []byte `protobuf:"bytes,10,opt,name=candidates_hash,json=candidatesHash,proto3" json:"candidates_hash,omitempty"` RootHash []byte `protobuf:"bytes,11,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` Height uint32 `protobuf:"varint,12,opt,name=height,proto3" json:"height,omitempty"` GasUsed uint64 `protobuf:"varint,13,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` BookKeeper []byte `protobuf:"bytes,14,opt,name=book_keeper,json=bookKeeper,proto3" json:"book_keeper,omitempty"` Bloom []byte `protobuf:"bytes,15,opt,name=bloom,proto3" json:"bloom,omitempty"` }
func (*BlockHeader) Descriptor ¶
func (*BlockHeader) Descriptor() ([]byte, []int)
func (*BlockHeader) GetBloom ¶ added in v0.5.0
func (m *BlockHeader) GetBloom() []byte
func (*BlockHeader) GetBookKeeper ¶ added in v0.5.0
func (m *BlockHeader) GetBookKeeper() []byte
func (*BlockHeader) GetCandidatesHash ¶
func (m *BlockHeader) GetCandidatesHash() []byte
func (*BlockHeader) GetGasUsed ¶ added in v0.5.0
func (m *BlockHeader) GetGasUsed() uint64
func (*BlockHeader) GetHeight ¶ added in v0.5.0
func (m *BlockHeader) GetHeight() uint32
func (*BlockHeader) GetInternalTxsRoot ¶ added in v0.5.0
func (m *BlockHeader) GetInternalTxsRoot() []byte
func (*BlockHeader) GetMagic ¶
func (m *BlockHeader) GetMagic() uint32
func (*BlockHeader) GetPeriodHash ¶
func (m *BlockHeader) GetPeriodHash() []byte
func (*BlockHeader) GetPrevBlockHash ¶
func (m *BlockHeader) GetPrevBlockHash() []byte
func (*BlockHeader) GetReceiptHash ¶ added in v0.5.0
func (m *BlockHeader) GetReceiptHash() []byte
func (*BlockHeader) GetRootHash ¶ added in v0.5.0
func (m *BlockHeader) GetRootHash() []byte
func (*BlockHeader) GetTimeStamp ¶
func (m *BlockHeader) GetTimeStamp() int64
func (*BlockHeader) GetTxsRoot ¶
func (m *BlockHeader) GetTxsRoot() []byte
func (*BlockHeader) GetUtxoRoot ¶ added in v0.5.0
func (m *BlockHeader) GetUtxoRoot() []byte
func (*BlockHeader) GetVersion ¶
func (m *BlockHeader) GetVersion() int32
func (*BlockHeader) Marshal ¶
func (m *BlockHeader) Marshal() (dAtA []byte, err error)
func (*BlockHeader) ProtoMessage ¶
func (*BlockHeader) ProtoMessage()
func (*BlockHeader) Reset ¶
func (m *BlockHeader) Reset()
func (*BlockHeader) Size ¶
func (m *BlockHeader) Size() (n int)
func (*BlockHeader) String ¶
func (m *BlockHeader) String() string
func (*BlockHeader) Unmarshal ¶
func (m *BlockHeader) Unmarshal(dAtA []byte) error
func (*BlockHeader) XXX_DiscardUnknown ¶
func (m *BlockHeader) XXX_DiscardUnknown()
func (*BlockHeader) XXX_Marshal ¶
func (m *BlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockHeader) XXX_Merge ¶
func (m *BlockHeader) XXX_Merge(src proto.Message)
func (*BlockHeader) XXX_Size ¶
func (m *BlockHeader) XXX_Size() int
func (*BlockHeader) XXX_Unmarshal ¶
func (m *BlockHeader) XXX_Unmarshal(b []byte) error
type Data ¶
type Data struct { Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` }
func (*Data) Descriptor ¶
func (*Data) GetContent ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) XXX_DiscardUnknown ¶
func (m *Data) XXX_DiscardUnknown()
func (*Data) XXX_Unmarshal ¶
type IrreversibleInfo ¶ added in v0.3.0
type IrreversibleInfo struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Signatures [][]byte `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"` }
func (*IrreversibleInfo) Descriptor ¶ added in v0.3.0
func (*IrreversibleInfo) Descriptor() ([]byte, []int)
func (*IrreversibleInfo) GetHash ¶ added in v0.3.0
func (m *IrreversibleInfo) GetHash() []byte
func (*IrreversibleInfo) GetSignatures ¶ added in v0.3.0
func (m *IrreversibleInfo) GetSignatures() [][]byte
func (*IrreversibleInfo) Marshal ¶ added in v0.3.0
func (m *IrreversibleInfo) Marshal() (dAtA []byte, err error)
func (*IrreversibleInfo) MarshalTo ¶ added in v0.3.0
func (m *IrreversibleInfo) MarshalTo(dAtA []byte) (int, error)
func (*IrreversibleInfo) ProtoMessage ¶ added in v0.3.0
func (*IrreversibleInfo) ProtoMessage()
func (*IrreversibleInfo) Reset ¶ added in v0.3.0
func (m *IrreversibleInfo) Reset()
func (*IrreversibleInfo) Size ¶ added in v0.3.0
func (m *IrreversibleInfo) Size() (n int)
func (*IrreversibleInfo) String ¶ added in v0.3.0
func (m *IrreversibleInfo) String() string
func (*IrreversibleInfo) Unmarshal ¶ added in v0.3.0
func (m *IrreversibleInfo) Unmarshal(dAtA []byte) error
func (*IrreversibleInfo) XXX_DiscardUnknown ¶ added in v0.3.0
func (m *IrreversibleInfo) XXX_DiscardUnknown()
func (*IrreversibleInfo) XXX_Marshal ¶ added in v0.3.0
func (m *IrreversibleInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IrreversibleInfo) XXX_Merge ¶ added in v0.3.0
func (m *IrreversibleInfo) XXX_Merge(src proto.Message)
func (*IrreversibleInfo) XXX_Size ¶ added in v0.3.0
func (m *IrreversibleInfo) XXX_Size() int
func (*IrreversibleInfo) XXX_Unmarshal ¶ added in v0.3.0
func (m *IrreversibleInfo) XXX_Unmarshal(b []byte) error
type Log ¶ added in v0.5.0
type Log struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Topics [][]byte `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` BlockNumber uint64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` TxHash []byte `protobuf:"bytes,5,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` TxIndex uint32 `protobuf:"varint,6,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` Index uint32 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"` Removed bool `protobuf:"varint,9,opt,name=removed,proto3" json:"removed,omitempty"` }
func (*Log) Descriptor ¶ added in v0.5.0
func (*Log) GetAddress ¶ added in v0.5.0
func (*Log) GetBlockNumber ¶ added in v0.5.0
func (*Log) GetRemoved ¶ added in v0.5.0
func (*Log) GetTxIndex ¶ added in v0.5.0
func (*Log) ProtoMessage ¶ added in v0.5.0
func (*Log) ProtoMessage()
func (*Log) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *Log) XXX_DiscardUnknown()
func (*Log) XXX_Marshal ¶ added in v0.5.0
func (*Log) XXX_Unmarshal ¶ added in v0.5.0
type Node ¶ added in v0.5.0
type Node struct {
Value [][]byte `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
}
func (*Node) Descriptor ¶ added in v0.5.0
func (*Node) ProtoMessage ¶ added in v0.5.0
func (*Node) ProtoMessage()
func (*Node) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *Node) XXX_DiscardUnknown()
func (*Node) XXX_Marshal ¶ added in v0.5.0
func (*Node) XXX_Unmarshal ¶ added in v0.5.0
type OutPoint ¶
type OutPoint struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` }
func (*OutPoint) Descriptor ¶
func (*OutPoint) ProtoMessage ¶
func (*OutPoint) ProtoMessage()
func (*OutPoint) XXX_DiscardUnknown ¶
func (m *OutPoint) XXX_DiscardUnknown()
func (*OutPoint) XXX_Marshal ¶
func (*OutPoint) XXX_Unmarshal ¶
type Receipt ¶ added in v0.5.0
type Receipt struct { TxHash []byte `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` TxIndex uint32 `protobuf:"varint,2,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` Failed bool `protobuf:"varint,3,opt,name=failed,proto3" json:"failed,omitempty"` GasUsed uint64 `protobuf:"varint,4,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` Logs []*Log `protobuf:"bytes,5,rep,name=logs,proto3" json:"logs,omitempty"` Bloom []byte `protobuf:"bytes,6,opt,name=bloom,proto3" json:"bloom,omitempty"` }
func (*Receipt) Descriptor ¶ added in v0.5.0
func (*Receipt) GetGasUsed ¶ added in v0.5.0
func (*Receipt) GetTxIndex ¶ added in v0.5.0
func (*Receipt) ProtoMessage ¶ added in v0.5.0
func (*Receipt) ProtoMessage()
func (*Receipt) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *Receipt) XXX_DiscardUnknown()
func (*Receipt) XXX_Marshal ¶ added in v0.5.0
func (*Receipt) XXX_Unmarshal ¶ added in v0.5.0
type Receipts ¶ added in v0.5.0
type Receipts struct {
Receipts []*Receipt `protobuf:"bytes,1,rep,name=receipts,proto3" json:"receipts,omitempty"`
}
func (*Receipts) Descriptor ¶ added in v0.5.0
func (*Receipts) GetReceipts ¶ added in v0.5.0
func (*Receipts) ProtoMessage ¶ added in v0.5.0
func (*Receipts) ProtoMessage()
func (*Receipts) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *Receipts) XXX_DiscardUnknown()
func (*Receipts) XXX_Marshal ¶ added in v0.5.0
func (*Receipts) XXX_Unmarshal ¶ added in v0.5.0
type Transaction ¶
type Transaction struct { Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Vin []*TxIn `protobuf:"bytes,2,rep,name=vin,proto3" json:"vin,omitempty"` Vout []*TxOut `protobuf:"bytes,3,rep,name=vout,proto3" json:"vout,omitempty"` Data *Data `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` Magic uint32 `protobuf:"varint,5,opt,name=magic,proto3" json:"magic,omitempty"` LockTime int64 `protobuf:"varint,6,opt,name=lock_time,json=lockTime,proto3" json:"lock_time,omitempty"` }
func (*Transaction) Descriptor ¶
func (*Transaction) Descriptor() ([]byte, []int)
func (*Transaction) GetData ¶
func (m *Transaction) GetData() *Data
func (*Transaction) GetLockTime ¶
func (m *Transaction) GetLockTime() int64
func (*Transaction) GetMagic ¶
func (m *Transaction) GetMagic() uint32
func (*Transaction) GetVersion ¶
func (m *Transaction) GetVersion() int32
func (*Transaction) GetVin ¶
func (m *Transaction) GetVin() []*TxIn
func (*Transaction) GetVout ¶
func (m *Transaction) GetVout() []*TxOut
func (*Transaction) Marshal ¶
func (m *Transaction) Marshal() (dAtA []byte, err error)
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) Reset ¶
func (m *Transaction) Reset()
func (*Transaction) Size ¶
func (m *Transaction) Size() (n int)
func (*Transaction) String ¶
func (m *Transaction) String() string
func (*Transaction) Unmarshal ¶
func (m *Transaction) Unmarshal(dAtA []byte) error
func (*Transaction) XXX_DiscardUnknown ¶
func (m *Transaction) XXX_DiscardUnknown()
func (*Transaction) XXX_Marshal ¶
func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Transaction) XXX_Merge ¶
func (m *Transaction) XXX_Merge(src proto.Message)
func (*Transaction) XXX_Size ¶
func (m *Transaction) XXX_Size() int
func (*Transaction) XXX_Unmarshal ¶
func (m *Transaction) XXX_Unmarshal(b []byte) error
type TxIn ¶
type TxIn struct { PrevOutPoint *OutPoint `protobuf:"bytes,1,opt,name=prev_out_point,json=prevOutPoint,proto3" json:"prev_out_point,omitempty"` ScriptSig []byte `protobuf:"bytes,2,opt,name=script_sig,json=scriptSig,proto3" json:"script_sig,omitempty"` Sequence uint32 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"` }
func (*TxIn) Descriptor ¶
func (*TxIn) GetPrevOutPoint ¶
func (*TxIn) GetScriptSig ¶
func (*TxIn) GetSequence ¶
func (*TxIn) ProtoMessage ¶
func (*TxIn) ProtoMessage()
func (*TxIn) XXX_DiscardUnknown ¶
func (m *TxIn) XXX_DiscardUnknown()
func (*TxIn) XXX_Unmarshal ¶
type TxOut ¶
type TxOut struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` ScriptPubKey []byte `protobuf:"bytes,2,opt,name=script_pub_key,json=scriptPubKey,proto3" json:"script_pub_key,omitempty"` }
func (*TxOut) Descriptor ¶
func (*TxOut) GetScriptPubKey ¶
func (*TxOut) ProtoMessage ¶
func (*TxOut) ProtoMessage()
func (*TxOut) XXX_DiscardUnknown ¶
func (m *TxOut) XXX_DiscardUnknown()
func (*TxOut) XXX_Marshal ¶
func (*TxOut) XXX_Unmarshal ¶
type UtxoWrap ¶
type UtxoWrap struct { Output *TxOut `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"` BlockHeight uint32 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` IsSpent bool `protobuf:"varint,3,opt,name=is_spent,json=isSpent,proto3" json:"is_spent,omitempty"` IsCoinbase bool `protobuf:"varint,4,opt,name=is_coinbase,json=isCoinbase,proto3" json:"is_coinbase,omitempty"` }
func (*UtxoWrap) Descriptor ¶
func (*UtxoWrap) GetBlockHeight ¶
func (*UtxoWrap) GetIsCoinbase ¶
func (*UtxoWrap) GetIsSpent ¶
func (*UtxoWrap) ProtoMessage ¶
func (*UtxoWrap) ProtoMessage()
func (*UtxoWrap) XXX_DiscardUnknown ¶
func (m *UtxoWrap) XXX_DiscardUnknown()
func (*UtxoWrap) XXX_Marshal ¶
func (*UtxoWrap) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.