Documentation ¶
Index ¶
- type BlockID
- func (*BlockID) Descriptor() ([]byte, []int)
- func (m *BlockID) GetBcname() string
- func (m *BlockID) GetBlockid() []byte
- func (m *BlockID) GetNeedContent() bool
- func (*BlockID) ProtoMessage()
- func (m *BlockID) Reset()
- func (m *BlockID) String() string
- func (m *BlockID) XXX_DiscardUnknown()
- func (m *BlockID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockID) XXX_Merge(src proto.Message)
- func (m *BlockID) XXX_Size() int
- func (m *BlockID) XXX_Unmarshal(b []byte) error
- type BlockInfo
- func (*BlockInfo) Descriptor() ([]byte, []int)
- func (m *BlockInfo) GetBlock() *xldgpb.InternalBlock
- func (m *BlockInfo) GetStatus() xldgpb.BlockStatus
- func (*BlockInfo) ProtoMessage()
- func (m *BlockInfo) Reset()
- func (m *BlockInfo) String() string
- func (m *BlockInfo) XXX_DiscardUnknown()
- func (m *BlockInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockInfo) XXX_Merge(src proto.Message)
- func (m *BlockInfo) XXX_Size() int
- func (m *BlockInfo) XXX_Unmarshal(b []byte) error
- type ChainStatus
- func (*ChainStatus) Descriptor() ([]byte, []int)
- func (m *ChainStatus) GetBlock() *xldgpb.InternalBlock
- func (m *ChainStatus) GetBranchIds() []string
- func (m *ChainStatus) GetLedgerMeta() *xldgpb.LedgerMeta
- func (m *ChainStatus) GetUtxoMeta() *xldgpb.UtxoMeta
- func (*ChainStatus) ProtoMessage()
- func (m *ChainStatus) Reset()
- func (m *ChainStatus) String() string
- func (m *ChainStatus) XXX_DiscardUnknown()
- func (m *ChainStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainStatus) XXX_Merge(src proto.Message)
- func (m *ChainStatus) XXX_Size() int
- func (m *ChainStatus) XXX_Unmarshal(b []byte) error
- type ConsensusStatus
- func (*ConsensusStatus) Descriptor() ([]byte, []int)
- func (m *ConsensusStatus) GetConsensusName() string
- func (m *ConsensusStatus) GetStartHeight() string
- func (m *ConsensusStatus) GetValidatorsInfo() string
- func (m *ConsensusStatus) GetVersion() string
- func (*ConsensusStatus) ProtoMessage()
- func (m *ConsensusStatus) Reset()
- func (m *ConsensusStatus) String() string
- func (m *ConsensusStatus) XXX_DiscardUnknown()
- func (m *ConsensusStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsensusStatus) XXX_Merge(src proto.Message)
- func (m *ConsensusStatus) XXX_Size() int
- func (m *ConsensusStatus) XXX_Unmarshal(b []byte) error
- type GetBlockHeaderRequest
- func (*GetBlockHeaderRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockHeaderRequest) GetBcname() string
- func (m *GetBlockHeaderRequest) GetHeight() int64
- func (m *GetBlockHeaderRequest) GetSize() int64
- func (*GetBlockHeaderRequest) ProtoMessage()
- func (m *GetBlockHeaderRequest) Reset()
- func (m *GetBlockHeaderRequest) String() string
- func (m *GetBlockHeaderRequest) XXX_DiscardUnknown()
- func (m *GetBlockHeaderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockHeaderRequest) XXX_Merge(src proto.Message)
- func (m *GetBlockHeaderRequest) XXX_Size() int
- func (m *GetBlockHeaderRequest) XXX_Unmarshal(b []byte) error
- type GetBlockHeaderResponse
- func (*GetBlockHeaderResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockHeaderResponse) GetBlocks() []*xldgpb.InternalBlock
- func (*GetBlockHeaderResponse) ProtoMessage()
- func (m *GetBlockHeaderResponse) Reset()
- func (m *GetBlockHeaderResponse) String() string
- func (m *GetBlockHeaderResponse) XXX_DiscardUnknown()
- func (m *GetBlockHeaderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockHeaderResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockHeaderResponse) XXX_Size() int
- func (m *GetBlockHeaderResponse) XXX_Unmarshal(b []byte) error
- type GetBlockTxsRequest
- func (*GetBlockTxsRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockTxsRequest) GetBcname() string
- func (m *GetBlockTxsRequest) GetBlockid() []byte
- func (m *GetBlockTxsRequest) GetTxs() []int32
- func (*GetBlockTxsRequest) ProtoMessage()
- func (m *GetBlockTxsRequest) Reset()
- func (m *GetBlockTxsRequest) String() string
- func (m *GetBlockTxsRequest) XXX_DiscardUnknown()
- func (m *GetBlockTxsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockTxsRequest) XXX_Merge(src proto.Message)
- func (m *GetBlockTxsRequest) XXX_Size() int
- func (m *GetBlockTxsRequest) XXX_Unmarshal(b []byte) error
- type GetBlockTxsResponse
- func (*GetBlockTxsResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockTxsResponse) GetTxs() []*xldgpb.Transaction
- func (*GetBlockTxsResponse) ProtoMessage()
- func (m *GetBlockTxsResponse) Reset()
- func (m *GetBlockTxsResponse) String() string
- func (m *GetBlockTxsResponse) XXX_DiscardUnknown()
- func (m *GetBlockTxsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockTxsResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockTxsResponse) XXX_Size() int
- func (m *GetBlockTxsResponse) XXX_Unmarshal(b []byte) error
- type SystemStatus
- func (*SystemStatus) Descriptor() ([]byte, []int)
- func (m *SystemStatus) GetChainStatus() *ChainStatus
- func (m *SystemStatus) GetPeerUrls() []string
- func (*SystemStatus) ProtoMessage()
- func (m *SystemStatus) Reset()
- func (m *SystemStatus) String() string
- func (m *SystemStatus) XXX_DiscardUnknown()
- func (m *SystemStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SystemStatus) XXX_Merge(src proto.Message)
- func (m *SystemStatus) XXX_Size() int
- func (m *SystemStatus) XXX_Unmarshal(b []byte) error
- type TipStatus
- func (*TipStatus) Descriptor() ([]byte, []int)
- func (m *TipStatus) GetIsTrunkTip() bool
- func (*TipStatus) ProtoMessage()
- func (m *TipStatus) Reset()
- func (m *TipStatus) String() string
- func (m *TipStatus) XXX_DiscardUnknown()
- func (m *TipStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TipStatus) XXX_Merge(src proto.Message)
- func (m *TipStatus) XXX_Size() int
- func (m *TipStatus) XXX_Unmarshal(b []byte) error
- type Transactions
- func (*Transactions) Descriptor() ([]byte, []int)
- func (m *Transactions) GetTxs() []*xldgpb.Transaction
- func (*Transactions) ProtoMessage()
- func (m *Transactions) Reset()
- func (m *Transactions) String() string
- func (m *Transactions) XXX_DiscardUnknown()
- func (m *Transactions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Transactions) XXX_Merge(src proto.Message)
- func (m *Transactions) XXX_Size() int
- func (m *Transactions) XXX_Unmarshal(b []byte) error
- type TxInfo
- func (*TxInfo) Descriptor() ([]byte, []int)
- func (m *TxInfo) GetDistance() int64
- func (m *TxInfo) GetStatus() xldgpb.TransactionStatus
- func (m *TxInfo) GetTx() *xldgpb.Transaction
- func (*TxInfo) ProtoMessage()
- func (m *TxInfo) Reset()
- func (m *TxInfo) String() string
- func (m *TxInfo) XXX_DiscardUnknown()
- func (m *TxInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxInfo) XXX_Merge(src proto.Message)
- func (m *TxInfo) XXX_Size() int
- func (m *TxInfo) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockID ¶
type BlockID struct { Bcname string `protobuf:"bytes,1,opt,name=bcname,proto3" json:"bcname,omitempty"` Blockid []byte `protobuf:"bytes,2,opt,name=blockid,proto3" json:"blockid,omitempty"` // if need content NeedContent bool `protobuf:"varint,3,opt,name=need_content,json=needContent,proto3" json:"need_content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockID) Descriptor ¶
func (*BlockID) GetBlockid ¶
func (*BlockID) GetNeedContent ¶
func (*BlockID) ProtoMessage ¶
func (*BlockID) ProtoMessage()
func (*BlockID) XXX_DiscardUnknown ¶
func (m *BlockID) XXX_DiscardUnknown()
func (*BlockID) XXX_Marshal ¶
func (*BlockID) XXX_Unmarshal ¶
type BlockInfo ¶
type BlockInfo struct { Status xldgpb.BlockStatus `protobuf:"varint,1,opt,name=status,proto3,enum=xldgpb.BlockStatus" json:"status,omitempty"` Block *xldgpb.InternalBlock `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockInfo) Descriptor ¶
func (*BlockInfo) GetBlock ¶
func (m *BlockInfo) GetBlock() *xldgpb.InternalBlock
func (*BlockInfo) GetStatus ¶
func (m *BlockInfo) GetStatus() xldgpb.BlockStatus
func (*BlockInfo) ProtoMessage ¶
func (*BlockInfo) ProtoMessage()
func (*BlockInfo) XXX_DiscardUnknown ¶
func (m *BlockInfo) XXX_DiscardUnknown()
func (*BlockInfo) XXX_Marshal ¶
func (*BlockInfo) XXX_Unmarshal ¶
type ChainStatus ¶
type ChainStatus struct { LedgerMeta *xldgpb.LedgerMeta `protobuf:"bytes,1,opt,name=ledger_meta,json=ledgerMeta,proto3" json:"ledger_meta,omitempty"` UtxoMeta *xldgpb.UtxoMeta `protobuf:"bytes,2,opt,name=utxo_meta,json=utxoMeta,proto3" json:"utxo_meta,omitempty"` Block *xldgpb.InternalBlock `protobuf:"bytes,3,opt,name=block,proto3" json:"block,omitempty"` BranchIds []string `protobuf:"bytes,4,rep,name=branch_ids,json=branchIds,proto3" json:"branch_ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChainStatus) Descriptor ¶
func (*ChainStatus) Descriptor() ([]byte, []int)
func (*ChainStatus) GetBlock ¶
func (m *ChainStatus) GetBlock() *xldgpb.InternalBlock
func (*ChainStatus) GetBranchIds ¶
func (m *ChainStatus) GetBranchIds() []string
func (*ChainStatus) GetLedgerMeta ¶
func (m *ChainStatus) GetLedgerMeta() *xldgpb.LedgerMeta
func (*ChainStatus) GetUtxoMeta ¶
func (m *ChainStatus) GetUtxoMeta() *xldgpb.UtxoMeta
func (*ChainStatus) ProtoMessage ¶
func (*ChainStatus) ProtoMessage()
func (*ChainStatus) Reset ¶
func (m *ChainStatus) Reset()
func (*ChainStatus) String ¶
func (m *ChainStatus) String() string
func (*ChainStatus) XXX_DiscardUnknown ¶
func (m *ChainStatus) XXX_DiscardUnknown()
func (*ChainStatus) XXX_Marshal ¶
func (m *ChainStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainStatus) XXX_Merge ¶
func (m *ChainStatus) XXX_Merge(src proto.Message)
func (*ChainStatus) XXX_Size ¶
func (m *ChainStatus) XXX_Size() int
func (*ChainStatus) XXX_Unmarshal ¶
func (m *ChainStatus) XXX_Unmarshal(b []byte) error
type ConsensusStatus ¶
type ConsensusStatus struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` ConsensusName string `protobuf:"bytes,2,opt,name=consensus_name,json=consensusName,proto3" json:"consensus_name,omitempty"` StartHeight string `protobuf:"bytes,3,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` ValidatorsInfo string `protobuf:"bytes,4,opt,name=validators_info,json=validatorsInfo,proto3" json:"validators_info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConsensusStatus) Descriptor ¶
func (*ConsensusStatus) Descriptor() ([]byte, []int)
func (*ConsensusStatus) GetConsensusName ¶
func (m *ConsensusStatus) GetConsensusName() string
func (*ConsensusStatus) GetStartHeight ¶
func (m *ConsensusStatus) GetStartHeight() string
func (*ConsensusStatus) GetValidatorsInfo ¶
func (m *ConsensusStatus) GetValidatorsInfo() string
func (*ConsensusStatus) GetVersion ¶
func (m *ConsensusStatus) GetVersion() string
func (*ConsensusStatus) ProtoMessage ¶
func (*ConsensusStatus) ProtoMessage()
func (*ConsensusStatus) Reset ¶
func (m *ConsensusStatus) Reset()
func (*ConsensusStatus) String ¶
func (m *ConsensusStatus) String() string
func (*ConsensusStatus) XXX_DiscardUnknown ¶
func (m *ConsensusStatus) XXX_DiscardUnknown()
func (*ConsensusStatus) XXX_Marshal ¶
func (m *ConsensusStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusStatus) XXX_Merge ¶
func (m *ConsensusStatus) XXX_Merge(src proto.Message)
func (*ConsensusStatus) XXX_Size ¶
func (m *ConsensusStatus) XXX_Size() int
func (*ConsensusStatus) XXX_Unmarshal ¶
func (m *ConsensusStatus) XXX_Unmarshal(b []byte) error
type GetBlockHeaderRequest ¶ added in v1.0.2
type GetBlockHeaderRequest struct { Bcname string `protobuf:"bytes,1,opt,name=bcname,proto3" json:"bcname,omitempty"` Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBlockHeaderRequest) Descriptor ¶ added in v1.0.2
func (*GetBlockHeaderRequest) Descriptor() ([]byte, []int)
func (*GetBlockHeaderRequest) GetBcname ¶ added in v1.0.2
func (m *GetBlockHeaderRequest) GetBcname() string
func (*GetBlockHeaderRequest) GetHeight ¶ added in v1.0.2
func (m *GetBlockHeaderRequest) GetHeight() int64
func (*GetBlockHeaderRequest) GetSize ¶ added in v1.0.2
func (m *GetBlockHeaderRequest) GetSize() int64
func (*GetBlockHeaderRequest) ProtoMessage ¶ added in v1.0.2
func (*GetBlockHeaderRequest) ProtoMessage()
func (*GetBlockHeaderRequest) Reset ¶ added in v1.0.2
func (m *GetBlockHeaderRequest) Reset()
func (*GetBlockHeaderRequest) String ¶ added in v1.0.2
func (m *GetBlockHeaderRequest) String() string
func (*GetBlockHeaderRequest) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *GetBlockHeaderRequest) XXX_DiscardUnknown()
func (*GetBlockHeaderRequest) XXX_Marshal ¶ added in v1.0.2
func (m *GetBlockHeaderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockHeaderRequest) XXX_Merge ¶ added in v1.0.2
func (m *GetBlockHeaderRequest) XXX_Merge(src proto.Message)
func (*GetBlockHeaderRequest) XXX_Size ¶ added in v1.0.2
func (m *GetBlockHeaderRequest) XXX_Size() int
func (*GetBlockHeaderRequest) XXX_Unmarshal ¶ added in v1.0.2
func (m *GetBlockHeaderRequest) XXX_Unmarshal(b []byte) error
type GetBlockHeaderResponse ¶ added in v1.0.2
type GetBlockHeaderResponse struct { Blocks []*xldgpb.InternalBlock `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBlockHeaderResponse) Descriptor ¶ added in v1.0.2
func (*GetBlockHeaderResponse) Descriptor() ([]byte, []int)
func (*GetBlockHeaderResponse) GetBlocks ¶ added in v1.0.2
func (m *GetBlockHeaderResponse) GetBlocks() []*xldgpb.InternalBlock
func (*GetBlockHeaderResponse) ProtoMessage ¶ added in v1.0.2
func (*GetBlockHeaderResponse) ProtoMessage()
func (*GetBlockHeaderResponse) Reset ¶ added in v1.0.2
func (m *GetBlockHeaderResponse) Reset()
func (*GetBlockHeaderResponse) String ¶ added in v1.0.2
func (m *GetBlockHeaderResponse) String() string
func (*GetBlockHeaderResponse) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *GetBlockHeaderResponse) XXX_DiscardUnknown()
func (*GetBlockHeaderResponse) XXX_Marshal ¶ added in v1.0.2
func (m *GetBlockHeaderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockHeaderResponse) XXX_Merge ¶ added in v1.0.2
func (m *GetBlockHeaderResponse) XXX_Merge(src proto.Message)
func (*GetBlockHeaderResponse) XXX_Size ¶ added in v1.0.2
func (m *GetBlockHeaderResponse) XXX_Size() int
func (*GetBlockHeaderResponse) XXX_Unmarshal ¶ added in v1.0.2
func (m *GetBlockHeaderResponse) XXX_Unmarshal(b []byte) error
type GetBlockTxsRequest ¶ added in v1.0.2
type GetBlockTxsRequest struct { Bcname string `protobuf:"bytes,1,opt,name=bcname,proto3" json:"bcname,omitempty"` Blockid []byte `protobuf:"bytes,2,opt,name=blockid,proto3" json:"blockid,omitempty"` Txs []int32 `protobuf:"varint,3,rep,packed,name=txs,proto3" json:"txs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBlockTxsRequest) Descriptor ¶ added in v1.0.2
func (*GetBlockTxsRequest) Descriptor() ([]byte, []int)
func (*GetBlockTxsRequest) GetBcname ¶ added in v1.0.2
func (m *GetBlockTxsRequest) GetBcname() string
func (*GetBlockTxsRequest) GetBlockid ¶ added in v1.0.2
func (m *GetBlockTxsRequest) GetBlockid() []byte
func (*GetBlockTxsRequest) GetTxs ¶ added in v1.0.2
func (m *GetBlockTxsRequest) GetTxs() []int32
func (*GetBlockTxsRequest) ProtoMessage ¶ added in v1.0.2
func (*GetBlockTxsRequest) ProtoMessage()
func (*GetBlockTxsRequest) Reset ¶ added in v1.0.2
func (m *GetBlockTxsRequest) Reset()
func (*GetBlockTxsRequest) String ¶ added in v1.0.2
func (m *GetBlockTxsRequest) String() string
func (*GetBlockTxsRequest) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *GetBlockTxsRequest) XXX_DiscardUnknown()
func (*GetBlockTxsRequest) XXX_Marshal ¶ added in v1.0.2
func (m *GetBlockTxsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockTxsRequest) XXX_Merge ¶ added in v1.0.2
func (m *GetBlockTxsRequest) XXX_Merge(src proto.Message)
func (*GetBlockTxsRequest) XXX_Size ¶ added in v1.0.2
func (m *GetBlockTxsRequest) XXX_Size() int
func (*GetBlockTxsRequest) XXX_Unmarshal ¶ added in v1.0.2
func (m *GetBlockTxsRequest) XXX_Unmarshal(b []byte) error
type GetBlockTxsResponse ¶ added in v1.0.2
type GetBlockTxsResponse struct { Txs []*xldgpb.Transaction `protobuf:"bytes,4,rep,name=txs,proto3" json:"txs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBlockTxsResponse) Descriptor ¶ added in v1.0.2
func (*GetBlockTxsResponse) Descriptor() ([]byte, []int)
func (*GetBlockTxsResponse) GetTxs ¶ added in v1.0.2
func (m *GetBlockTxsResponse) GetTxs() []*xldgpb.Transaction
func (*GetBlockTxsResponse) ProtoMessage ¶ added in v1.0.2
func (*GetBlockTxsResponse) ProtoMessage()
func (*GetBlockTxsResponse) Reset ¶ added in v1.0.2
func (m *GetBlockTxsResponse) Reset()
func (*GetBlockTxsResponse) String ¶ added in v1.0.2
func (m *GetBlockTxsResponse) String() string
func (*GetBlockTxsResponse) XXX_DiscardUnknown ¶ added in v1.0.2
func (m *GetBlockTxsResponse) XXX_DiscardUnknown()
func (*GetBlockTxsResponse) XXX_Marshal ¶ added in v1.0.2
func (m *GetBlockTxsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockTxsResponse) XXX_Merge ¶ added in v1.0.2
func (m *GetBlockTxsResponse) XXX_Merge(src proto.Message)
func (*GetBlockTxsResponse) XXX_Size ¶ added in v1.0.2
func (m *GetBlockTxsResponse) XXX_Size() int
func (*GetBlockTxsResponse) XXX_Unmarshal ¶ added in v1.0.2
func (m *GetBlockTxsResponse) XXX_Unmarshal(b []byte) error
type SystemStatus ¶
type SystemStatus struct { ChainStatus *ChainStatus `protobuf:"bytes,1,opt,name=chain_status,json=chainStatus,proto3" json:"chain_status,omitempty"` PeerUrls []string `protobuf:"bytes,2,rep,name=peer_urls,json=peerUrls,proto3" json:"peer_urls,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SystemStatus) Descriptor ¶
func (*SystemStatus) Descriptor() ([]byte, []int)
func (*SystemStatus) GetChainStatus ¶
func (m *SystemStatus) GetChainStatus() *ChainStatus
func (*SystemStatus) GetPeerUrls ¶
func (m *SystemStatus) GetPeerUrls() []string
func (*SystemStatus) ProtoMessage ¶
func (*SystemStatus) ProtoMessage()
func (*SystemStatus) Reset ¶
func (m *SystemStatus) Reset()
func (*SystemStatus) String ¶
func (m *SystemStatus) String() string
func (*SystemStatus) XXX_DiscardUnknown ¶
func (m *SystemStatus) XXX_DiscardUnknown()
func (*SystemStatus) XXX_Marshal ¶
func (m *SystemStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SystemStatus) XXX_Merge ¶
func (m *SystemStatus) XXX_Merge(src proto.Message)
func (*SystemStatus) XXX_Size ¶
func (m *SystemStatus) XXX_Size() int
func (*SystemStatus) XXX_Unmarshal ¶
func (m *SystemStatus) XXX_Unmarshal(b []byte) error
type TipStatus ¶
type TipStatus struct { IsTrunkTip bool `protobuf:"varint,1,opt,name=is_trunk_tip,json=isTrunkTip,proto3" json:"is_trunk_tip,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TipStatus) Descriptor ¶
func (*TipStatus) GetIsTrunkTip ¶
func (*TipStatus) ProtoMessage ¶
func (*TipStatus) ProtoMessage()
func (*TipStatus) XXX_DiscardUnknown ¶
func (m *TipStatus) XXX_DiscardUnknown()
func (*TipStatus) XXX_Marshal ¶
func (*TipStatus) XXX_Unmarshal ¶
type Transactions ¶
type Transactions struct { Txs []*xldgpb.Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Transactions) Descriptor ¶
func (*Transactions) Descriptor() ([]byte, []int)
func (*Transactions) GetTxs ¶
func (m *Transactions) GetTxs() []*xldgpb.Transaction
func (*Transactions) ProtoMessage ¶
func (*Transactions) ProtoMessage()
func (*Transactions) Reset ¶
func (m *Transactions) Reset()
func (*Transactions) String ¶
func (m *Transactions) String() string
func (*Transactions) XXX_DiscardUnknown ¶
func (m *Transactions) XXX_DiscardUnknown()
func (*Transactions) XXX_Marshal ¶
func (m *Transactions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Transactions) XXX_Merge ¶
func (m *Transactions) XXX_Merge(src proto.Message)
func (*Transactions) XXX_Size ¶
func (m *Transactions) XXX_Size() int
func (*Transactions) XXX_Unmarshal ¶
func (m *Transactions) XXX_Unmarshal(b []byte) error
type TxInfo ¶
type TxInfo struct { // 当前状态 Status xldgpb.TransactionStatus `protobuf:"varint,1,opt,name=status,proto3,enum=xldgpb.TransactionStatus" json:"status,omitempty"` // 离主干末端的距离(如果在主干上) Distance int64 `protobuf:"varint,2,opt,name=distance,proto3" json:"distance,omitempty"` Tx *xldgpb.Transaction `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TxInfo) Descriptor ¶
func (*TxInfo) GetDistance ¶
func (*TxInfo) GetStatus ¶
func (m *TxInfo) GetStatus() xldgpb.TransactionStatus
func (*TxInfo) GetTx ¶
func (m *TxInfo) GetTx() *xldgpb.Transaction
func (*TxInfo) ProtoMessage ¶
func (*TxInfo) ProtoMessage()
func (*TxInfo) XXX_DiscardUnknown ¶
func (m *TxInfo) XXX_DiscardUnknown()
func (*TxInfo) XXX_Marshal ¶
func (*TxInfo) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.