Documentation ¶
Index ¶
- Constants
- Variables
- func CalcMinerHeightKey(title string, height int64) []byte
- func CreateRawAssetTransferTx(param *types.CreateTx) (*types.Transaction, error)
- func CreateRawCommitTx4MainChain(status *ParacrossNodeStatus, name string, fee int64) (*types.Transaction, error)
- func CreateRawMinerTx(value *ParacrossMinerAction) (*types.Transaction, error)
- func CreateRawNodeConfigTx(config *ParaNodeAddrConfig) (*types.Transaction, error)
- func CreateRawNodeGroupApplyTx(apply *ParaNodeGroupConfig) (*types.Transaction, error)
- func GetExecName() string
- func RegisterParacrossServer(s *grpc.Server, srv ParacrossServer)
- type ParaBlock2MainInfo
- func (*ParaBlock2MainInfo) Descriptor() ([]byte, []int)
- func (m *ParaBlock2MainInfo) GetItems() []*ParaBlock2MainMap
- func (*ParaBlock2MainInfo) ProtoMessage()
- func (m *ParaBlock2MainInfo) Reset()
- func (m *ParaBlock2MainInfo) String() string
- func (m *ParaBlock2MainInfo) XXX_DiscardUnknown()
- func (m *ParaBlock2MainInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParaBlock2MainInfo) XXX_Merge(src proto.Message)
- func (m *ParaBlock2MainInfo) XXX_Size() int
- func (m *ParaBlock2MainInfo) XXX_Unmarshal(b []byte) error
- type ParaBlock2MainMap
- func (*ParaBlock2MainMap) Descriptor() ([]byte, []int)
- func (m *ParaBlock2MainMap) GetBlockHash() string
- func (m *ParaBlock2MainMap) GetHeight() int64
- func (m *ParaBlock2MainMap) GetMainHash() string
- func (m *ParaBlock2MainMap) GetMainHeight() int64
- func (*ParaBlock2MainMap) ProtoMessage()
- func (m *ParaBlock2MainMap) Reset()
- func (m *ParaBlock2MainMap) String() string
- func (m *ParaBlock2MainMap) XXX_DiscardUnknown()
- func (m *ParaBlock2MainMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParaBlock2MainMap) XXX_Merge(src proto.Message)
- func (m *ParaBlock2MainMap) XXX_Size() int
- func (m *ParaBlock2MainMap) XXX_Unmarshal(b []byte) error
- type ParaNodeAddrConfig
- func (*ParaNodeAddrConfig) Descriptor() ([]byte, []int)
- func (m *ParaNodeAddrConfig) GetAddr() string
- func (m *ParaNodeAddrConfig) GetCoinsFrozen() int64
- func (m *ParaNodeAddrConfig) GetId() string
- func (m *ParaNodeAddrConfig) GetOp() uint32
- func (m *ParaNodeAddrConfig) GetTitle() string
- func (m *ParaNodeAddrConfig) GetValue() uint32
- func (*ParaNodeAddrConfig) ProtoMessage()
- func (m *ParaNodeAddrConfig) Reset()
- func (m *ParaNodeAddrConfig) String() string
- func (m *ParaNodeAddrConfig) XXX_DiscardUnknown()
- func (m *ParaNodeAddrConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParaNodeAddrConfig) XXX_Merge(src proto.Message)
- func (m *ParaNodeAddrConfig) XXX_Size() int
- func (m *ParaNodeAddrConfig) XXX_Unmarshal(b []byte) error
- type ParaNodeAddrIdStatus
- func (*ParaNodeAddrIdStatus) Descriptor() ([]byte, []int)
- func (m *ParaNodeAddrIdStatus) GetAddr() string
- func (m *ParaNodeAddrIdStatus) GetProposalId() string
- func (m *ParaNodeAddrIdStatus) GetQuitId() string
- func (m *ParaNodeAddrIdStatus) GetStatus() int32
- func (m *ParaNodeAddrIdStatus) GetTitle() string
- func (*ParaNodeAddrIdStatus) ProtoMessage()
- func (m *ParaNodeAddrIdStatus) Reset()
- func (m *ParaNodeAddrIdStatus) String() string
- func (m *ParaNodeAddrIdStatus) XXX_DiscardUnknown()
- func (m *ParaNodeAddrIdStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParaNodeAddrIdStatus) XXX_Merge(src proto.Message)
- func (m *ParaNodeAddrIdStatus) XXX_Size() int
- func (m *ParaNodeAddrIdStatus) XXX_Unmarshal(b []byte) error
- type ParaNodeGroupConfig
- func (*ParaNodeGroupConfig) Descriptor() ([]byte, []int)
- func (m *ParaNodeGroupConfig) GetAddrs() string
- func (m *ParaNodeGroupConfig) GetCoinsFrozen() int64
- func (m *ParaNodeGroupConfig) GetId() string
- func (m *ParaNodeGroupConfig) GetOp() uint32
- func (m *ParaNodeGroupConfig) GetTitle() string
- func (*ParaNodeGroupConfig) ProtoMessage()
- func (m *ParaNodeGroupConfig) Reset()
- func (m *ParaNodeGroupConfig) String() string
- func (m *ParaNodeGroupConfig) XXX_DiscardUnknown()
- func (m *ParaNodeGroupConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParaNodeGroupConfig) XXX_Merge(src proto.Message)
- func (m *ParaNodeGroupConfig) XXX_Size() int
- func (m *ParaNodeGroupConfig) XXX_Unmarshal(b []byte) error
- type ParaNodeGroupStatus
- func (*ParaNodeGroupStatus) Descriptor() ([]byte, []int)
- func (m *ParaNodeGroupStatus) GetCoinsFrozen() int64
- func (m *ParaNodeGroupStatus) GetFromAddr() string
- func (m *ParaNodeGroupStatus) GetHeight() int64
- func (m *ParaNodeGroupStatus) GetId() string
- func (m *ParaNodeGroupStatus) GetStatus() int32
- func (m *ParaNodeGroupStatus) GetTargetAddrs() string
- func (m *ParaNodeGroupStatus) GetTitle() string
- func (*ParaNodeGroupStatus) ProtoMessage()
- func (m *ParaNodeGroupStatus) Reset()
- func (m *ParaNodeGroupStatus) String() string
- func (m *ParaNodeGroupStatus) XXX_DiscardUnknown()
- func (m *ParaNodeGroupStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParaNodeGroupStatus) XXX_Merge(src proto.Message)
- func (m *ParaNodeGroupStatus) XXX_Size() int
- func (m *ParaNodeGroupStatus) XXX_Unmarshal(b []byte) error
- type ParaNodeIdStatus
- func (*ParaNodeIdStatus) Descriptor() ([]byte, []int)
- func (m *ParaNodeIdStatus) GetCoinsFrozen() int64
- func (m *ParaNodeIdStatus) GetFromAddr() string
- func (m *ParaNodeIdStatus) GetHeight() int64
- func (m *ParaNodeIdStatus) GetId() string
- func (m *ParaNodeIdStatus) GetStatus() int32
- func (m *ParaNodeIdStatus) GetTargetAddr() string
- func (m *ParaNodeIdStatus) GetTitle() string
- func (m *ParaNodeIdStatus) GetVotes() *ParaNodeVoteDetail
- func (*ParaNodeIdStatus) ProtoMessage()
- func (m *ParaNodeIdStatus) Reset()
- func (m *ParaNodeIdStatus) String() string
- func (m *ParaNodeIdStatus) XXX_DiscardUnknown()
- func (m *ParaNodeIdStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParaNodeIdStatus) XXX_Merge(src proto.Message)
- func (m *ParaNodeIdStatus) XXX_Size() int
- func (m *ParaNodeIdStatus) XXX_Unmarshal(b []byte) error
- type ParaNodeVoteDetail
- func (*ParaNodeVoteDetail) Descriptor() ([]byte, []int)
- func (m *ParaNodeVoteDetail) GetAddrs() []string
- func (m *ParaNodeVoteDetail) GetVotes() []string
- func (*ParaNodeVoteDetail) ProtoMessage()
- func (m *ParaNodeVoteDetail) Reset()
- func (m *ParaNodeVoteDetail) String() string
- func (m *ParaNodeVoteDetail) XXX_DiscardUnknown()
- func (m *ParaNodeVoteDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParaNodeVoteDetail) XXX_Merge(src proto.Message)
- func (m *ParaNodeVoteDetail) XXX_Size() int
- func (m *ParaNodeVoteDetail) XXX_Unmarshal(b []byte) error
- type ParacrossAction
- func (*ParacrossAction) Descriptor() ([]byte, []int)
- func (m *ParacrossAction) GetAssetTransfer() *types.AssetsTransfer
- func (m *ParacrossAction) GetAssetWithdraw() *types.AssetsWithdraw
- func (m *ParacrossAction) GetCommit() *ParacrossCommitAction
- func (m *ParacrossAction) GetMiner() *ParacrossMinerAction
- func (m *ParacrossAction) GetNodeConfig() *ParaNodeAddrConfig
- func (m *ParacrossAction) GetNodeGroupConfig() *ParaNodeGroupConfig
- func (m *ParacrossAction) GetTransfer() *types.AssetsTransfer
- func (m *ParacrossAction) GetTransferToExec() *types.AssetsTransferToExec
- func (m *ParacrossAction) GetTy() int32
- func (m *ParacrossAction) GetValue() isParacrossAction_Value
- func (m *ParacrossAction) GetWithdraw() *types.AssetsWithdraw
- func (*ParacrossAction) ProtoMessage()
- func (m *ParacrossAction) Reset()
- func (m *ParacrossAction) String() string
- func (m *ParacrossAction) XXX_DiscardUnknown()
- func (m *ParacrossAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParacrossAction) XXX_Merge(src proto.Message)
- func (*ParacrossAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *ParacrossAction) XXX_Size() int
- func (m *ParacrossAction) XXX_Unmarshal(b []byte) error
- type ParacrossAction_AssetTransfer
- type ParacrossAction_AssetWithdraw
- type ParacrossAction_Commit
- type ParacrossAction_Miner
- type ParacrossAction_NodeConfig
- type ParacrossAction_NodeGroupConfig
- type ParacrossAction_Transfer
- type ParacrossAction_TransferToExec
- type ParacrossAction_Withdraw
- type ParacrossAsset
- func (*ParacrossAsset) Descriptor() ([]byte, []int)
- func (m *ParacrossAsset) GetAmount() int64
- func (m *ParacrossAsset) GetCommitDoneHeight() int64
- func (m *ParacrossAsset) GetExec() string
- func (m *ParacrossAsset) GetFrom() string
- func (m *ParacrossAsset) GetHeight() int64
- func (m *ParacrossAsset) GetIsWithdraw() bool
- func (m *ParacrossAsset) GetParaHeight() int64
- func (m *ParacrossAsset) GetSuccess() bool
- func (m *ParacrossAsset) GetSymbol() string
- func (m *ParacrossAsset) GetTo() string
- func (m *ParacrossAsset) GetTxHash() []byte
- func (*ParacrossAsset) ProtoMessage()
- func (m *ParacrossAsset) Reset()
- func (m *ParacrossAsset) String() string
- func (m *ParacrossAsset) XXX_DiscardUnknown()
- func (m *ParacrossAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParacrossAsset) XXX_Merge(src proto.Message)
- func (m *ParacrossAsset) XXX_Size() int
- func (m *ParacrossAsset) XXX_Unmarshal(b []byte) error
- type ParacrossClient
- type ParacrossCommitAction
- func (*ParacrossCommitAction) Descriptor() ([]byte, []int)
- func (m *ParacrossCommitAction) GetStatus() *ParacrossNodeStatus
- func (*ParacrossCommitAction) ProtoMessage()
- func (m *ParacrossCommitAction) Reset()
- func (m *ParacrossCommitAction) String() string
- func (m *ParacrossCommitAction) XXX_DiscardUnknown()
- func (m *ParacrossCommitAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParacrossCommitAction) XXX_Merge(src proto.Message)
- func (m *ParacrossCommitAction) XXX_Size() int
- func (m *ParacrossCommitAction) XXX_Unmarshal(b []byte) error
- type ParacrossConsensusStatus
- func (*ParacrossConsensusStatus) Descriptor() ([]byte, []int)
- func (m *ParacrossConsensusStatus) GetChainHeight() int64
- func (m *ParacrossConsensusStatus) GetConsensBlockHash() string
- func (m *ParacrossConsensusStatus) GetConsensHeight() int64
- func (m *ParacrossConsensusStatus) GetTitle() string
- func (*ParacrossConsensusStatus) ProtoMessage()
- func (m *ParacrossConsensusStatus) Reset()
- func (m *ParacrossConsensusStatus) String() string
- func (m *ParacrossConsensusStatus) XXX_DiscardUnknown()
- func (m *ParacrossConsensusStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParacrossConsensusStatus) XXX_Merge(src proto.Message)
- func (m *ParacrossConsensusStatus) XXX_Size() int
- func (m *ParacrossConsensusStatus) XXX_Unmarshal(b []byte) error
- type ParacrossHeightStatus
- func (*ParacrossHeightStatus) Descriptor() ([]byte, []int)
- func (m *ParacrossHeightStatus) GetDetails() *ParacrossStatusDetails
- func (m *ParacrossHeightStatus) GetHeight() int64
- func (m *ParacrossHeightStatus) GetMainHash() []byte
- func (m *ParacrossHeightStatus) GetMainHeight() int64
- func (m *ParacrossHeightStatus) GetStatus() int32
- func (m *ParacrossHeightStatus) GetTitle() string
- func (*ParacrossHeightStatus) ProtoMessage()
- func (m *ParacrossHeightStatus) Reset()
- func (m *ParacrossHeightStatus) String() string
- func (m *ParacrossHeightStatus) XXX_DiscardUnknown()
- func (m *ParacrossHeightStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParacrossHeightStatus) XXX_Merge(src proto.Message)
- func (m *ParacrossHeightStatus) XXX_Size() int
- func (m *ParacrossHeightStatus) XXX_Unmarshal(b []byte) error
- type ParacrossHeightStatusRsp
- func (*ParacrossHeightStatusRsp) Descriptor() ([]byte, []int)
- func (m *ParacrossHeightStatusRsp) GetCommitAddrs() []string
- func (m *ParacrossHeightStatusRsp) GetCommitBlockHash() []string
- func (m *ParacrossHeightStatusRsp) GetHeight() int64
- func (m *ParacrossHeightStatusRsp) GetMainHash() string
- func (m *ParacrossHeightStatusRsp) GetMainHeight() int64
- func (m *ParacrossHeightStatusRsp) GetStatus() int32
- func (m *ParacrossHeightStatusRsp) GetTitle() string
- func (*ParacrossHeightStatusRsp) ProtoMessage()
- func (m *ParacrossHeightStatusRsp) Reset()
- func (m *ParacrossHeightStatusRsp) String() string
- func (m *ParacrossHeightStatusRsp) XXX_DiscardUnknown()
- func (m *ParacrossHeightStatusRsp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParacrossHeightStatusRsp) XXX_Merge(src proto.Message)
- func (m *ParacrossHeightStatusRsp) XXX_Size() int
- func (m *ParacrossHeightStatusRsp) XXX_Unmarshal(b []byte) error
- type ParacrossMinerAction
- func (*ParacrossMinerAction) Descriptor() ([]byte, []int)
- func (m *ParacrossMinerAction) GetIsSelfConsensus() bool
- func (m *ParacrossMinerAction) GetStatus() *ParacrossNodeStatus
- func (*ParacrossMinerAction) ProtoMessage()
- func (m *ParacrossMinerAction) Reset()
- func (m *ParacrossMinerAction) String() string
- func (m *ParacrossMinerAction) XXX_DiscardUnknown()
- func (m *ParacrossMinerAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParacrossMinerAction) XXX_Merge(src proto.Message)
- func (m *ParacrossMinerAction) XXX_Size() int
- func (m *ParacrossMinerAction) XXX_Unmarshal(b []byte) error
- type ParacrossNodeStatus
- func (*ParacrossNodeStatus) Descriptor() ([]byte, []int)
- func (m *ParacrossNodeStatus) GetBlockHash() []byte
- func (m *ParacrossNodeStatus) GetCrossTxHashs() [][]byte
- func (m *ParacrossNodeStatus) GetCrossTxResult() []byte
- func (m *ParacrossNodeStatus) GetHeight() int64
- func (m *ParacrossNodeStatus) GetMainBlockHash() []byte
- func (m *ParacrossNodeStatus) GetMainBlockHeight() int64
- func (m *ParacrossNodeStatus) GetNonCommitTxCounts() uint32
- func (m *ParacrossNodeStatus) GetPreBlockHash() []byte
- func (m *ParacrossNodeStatus) GetPreStateHash() []byte
- func (m *ParacrossNodeStatus) GetStateHash() []byte
- func (m *ParacrossNodeStatus) GetTitle() string
- func (m *ParacrossNodeStatus) GetTxCounts() uint32
- func (m *ParacrossNodeStatus) GetTxHashs() [][]byte
- func (m *ParacrossNodeStatus) GetTxResult() []byte
- func (*ParacrossNodeStatus) ProtoMessage()
- func (m *ParacrossNodeStatus) Reset()
- func (m *ParacrossNodeStatus) String() string
- func (m *ParacrossNodeStatus) XXX_DiscardUnknown()
- func (m *ParacrossNodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParacrossNodeStatus) XXX_Merge(src proto.Message)
- func (m *ParacrossNodeStatus) XXX_Size() int
- func (m *ParacrossNodeStatus) XXX_Unmarshal(b []byte) error
- type ParacrossServer
- type ParacrossStatus
- func (*ParacrossStatus) Descriptor() ([]byte, []int)
- func (m *ParacrossStatus) GetBlockHash() []byte
- func (m *ParacrossStatus) GetHeight() int64
- func (m *ParacrossStatus) GetTitle() string
- func (*ParacrossStatus) ProtoMessage()
- func (m *ParacrossStatus) Reset()
- func (m *ParacrossStatus) String() string
- func (m *ParacrossStatus) XXX_DiscardUnknown()
- func (m *ParacrossStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParacrossStatus) XXX_Merge(src proto.Message)
- func (m *ParacrossStatus) XXX_Size() int
- func (m *ParacrossStatus) XXX_Unmarshal(b []byte) error
- type ParacrossStatusDetails
- func (*ParacrossStatusDetails) Descriptor() ([]byte, []int)
- func (m *ParacrossStatusDetails) GetAddrs() []string
- func (m *ParacrossStatusDetails) GetBlockHash() [][]byte
- func (*ParacrossStatusDetails) ProtoMessage()
- func (m *ParacrossStatusDetails) Reset()
- func (m *ParacrossStatusDetails) String() string
- func (m *ParacrossStatusDetails) XXX_DiscardUnknown()
- func (m *ParacrossStatusDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParacrossStatusDetails) XXX_Merge(src proto.Message)
- func (m *ParacrossStatusDetails) XXX_Size() int
- func (m *ParacrossStatusDetails) XXX_Unmarshal(b []byte) error
- type ParacrossTx
- func (*ParacrossTx) Descriptor() ([]byte, []int)
- func (m *ParacrossTx) GetTxHash() string
- func (*ParacrossTx) ProtoMessage()
- func (m *ParacrossTx) Reset()
- func (m *ParacrossTx) String() string
- func (m *ParacrossTx) XXX_DiscardUnknown()
- func (m *ParacrossTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParacrossTx) XXX_Merge(src proto.Message)
- func (m *ParacrossTx) XXX_Size() int
- func (m *ParacrossTx) XXX_Unmarshal(b []byte) error
- type ParacrossType
- func (p ParacrossType) CreateRawTransferTx(action string, param json.RawMessage) (*types.Transaction, error)
- func (p ParacrossType) CreateTx(action string, message json.RawMessage) (*types.Transaction, error)
- func (p *ParacrossType) GetLogMap() map[int64]*types.LogInfo
- func (p *ParacrossType) GetName() string
- func (p *ParacrossType) GetPayload() types.Message
- func (p *ParacrossType) GetTypeMap() map[string]int32
- type ReceiptParaNodeAddrStatUpdate
- func (*ReceiptParaNodeAddrStatUpdate) Descriptor() ([]byte, []int)
- func (m *ReceiptParaNodeAddrStatUpdate) GetCurrent() *ParaNodeAddrIdStatus
- func (m *ReceiptParaNodeAddrStatUpdate) GetFromAddr() string
- func (m *ReceiptParaNodeAddrStatUpdate) GetPrev() *ParaNodeAddrIdStatus
- func (*ReceiptParaNodeAddrStatUpdate) ProtoMessage()
- func (m *ReceiptParaNodeAddrStatUpdate) Reset()
- func (m *ReceiptParaNodeAddrStatUpdate) String() string
- func (m *ReceiptParaNodeAddrStatUpdate) XXX_DiscardUnknown()
- func (m *ReceiptParaNodeAddrStatUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptParaNodeAddrStatUpdate) XXX_Merge(src proto.Message)
- func (m *ReceiptParaNodeAddrStatUpdate) XXX_Size() int
- func (m *ReceiptParaNodeAddrStatUpdate) XXX_Unmarshal(b []byte) error
- type ReceiptParaNodeConfig
- func (*ReceiptParaNodeConfig) Descriptor() ([]byte, []int)
- func (m *ReceiptParaNodeConfig) GetAddr() string
- func (m *ReceiptParaNodeConfig) GetConfig() *ParaNodeAddrConfig
- func (m *ReceiptParaNodeConfig) GetCurrent() *ParaNodeIdStatus
- func (m *ReceiptParaNodeConfig) GetPrev() *ParaNodeIdStatus
- func (*ReceiptParaNodeConfig) ProtoMessage()
- func (m *ReceiptParaNodeConfig) Reset()
- func (m *ReceiptParaNodeConfig) String() string
- func (m *ReceiptParaNodeConfig) XXX_DiscardUnknown()
- func (m *ReceiptParaNodeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptParaNodeConfig) XXX_Merge(src proto.Message)
- func (m *ReceiptParaNodeConfig) XXX_Size() int
- func (m *ReceiptParaNodeConfig) XXX_Unmarshal(b []byte) error
- type ReceiptParaNodeGroupConfig
- func (*ReceiptParaNodeGroupConfig) Descriptor() ([]byte, []int)
- func (m *ReceiptParaNodeGroupConfig) GetAddr() string
- func (m *ReceiptParaNodeGroupConfig) GetConfig() *ParaNodeGroupConfig
- func (m *ReceiptParaNodeGroupConfig) GetCurrent() *ParaNodeGroupStatus
- func (m *ReceiptParaNodeGroupConfig) GetPrev() *ParaNodeGroupStatus
- func (*ReceiptParaNodeGroupConfig) ProtoMessage()
- func (m *ReceiptParaNodeGroupConfig) Reset()
- func (m *ReceiptParaNodeGroupConfig) String() string
- func (m *ReceiptParaNodeGroupConfig) XXX_DiscardUnknown()
- func (m *ReceiptParaNodeGroupConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptParaNodeGroupConfig) XXX_Merge(src proto.Message)
- func (m *ReceiptParaNodeGroupConfig) XXX_Size() int
- func (m *ReceiptParaNodeGroupConfig) XXX_Unmarshal(b []byte) error
- type ReceiptParaNodeVoteDone
- func (*ReceiptParaNodeVoteDone) Descriptor() ([]byte, []int)
- func (m *ReceiptParaNodeVoteDone) GetDoneStatus() int32
- func (m *ReceiptParaNodeVoteDone) GetId() string
- func (m *ReceiptParaNodeVoteDone) GetMostVote() int32
- func (m *ReceiptParaNodeVoteDone) GetTargetAddr() string
- func (m *ReceiptParaNodeVoteDone) GetTitle() string
- func (m *ReceiptParaNodeVoteDone) GetTotalNodes() int32
- func (m *ReceiptParaNodeVoteDone) GetTotalVote() int32
- func (m *ReceiptParaNodeVoteDone) GetVoteRst() string
- func (*ReceiptParaNodeVoteDone) ProtoMessage()
- func (m *ReceiptParaNodeVoteDone) Reset()
- func (m *ReceiptParaNodeVoteDone) String() string
- func (m *ReceiptParaNodeVoteDone) XXX_DiscardUnknown()
- func (m *ReceiptParaNodeVoteDone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptParaNodeVoteDone) XXX_Merge(src proto.Message)
- func (m *ReceiptParaNodeVoteDone) XXX_Size() int
- func (m *ReceiptParaNodeVoteDone) XXX_Unmarshal(b []byte) error
- type ReceiptParacrossCommit
- func (*ReceiptParacrossCommit) Descriptor() ([]byte, []int)
- func (m *ReceiptParacrossCommit) GetAddr() string
- func (m *ReceiptParacrossCommit) GetCurrent() *ParacrossHeightStatus
- func (m *ReceiptParacrossCommit) GetPrev() *ParacrossHeightStatus
- func (m *ReceiptParacrossCommit) GetStatus() *ParacrossNodeStatus
- func (*ReceiptParacrossCommit) ProtoMessage()
- func (m *ReceiptParacrossCommit) Reset()
- func (m *ReceiptParacrossCommit) String() string
- func (m *ReceiptParacrossCommit) XXX_DiscardUnknown()
- func (m *ReceiptParacrossCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptParacrossCommit) XXX_Merge(src proto.Message)
- func (m *ReceiptParacrossCommit) XXX_Size() int
- func (m *ReceiptParacrossCommit) XXX_Unmarshal(b []byte) error
- type ReceiptParacrossDone
- func (*ReceiptParacrossDone) Descriptor() ([]byte, []int)
- func (m *ReceiptParacrossDone) GetHeight() int64
- func (m *ReceiptParacrossDone) GetMostSameCommit() int32
- func (m *ReceiptParacrossDone) GetStateHash() []byte
- func (m *ReceiptParacrossDone) GetTitle() string
- func (m *ReceiptParacrossDone) GetTotalCommit() int32
- func (m *ReceiptParacrossDone) GetTotalNodes() int32
- func (m *ReceiptParacrossDone) GetTxCounts() uint32
- func (m *ReceiptParacrossDone) GetTxResult() []byte
- func (*ReceiptParacrossDone) ProtoMessage()
- func (m *ReceiptParacrossDone) Reset()
- func (m *ReceiptParacrossDone) String() string
- func (m *ReceiptParacrossDone) XXX_DiscardUnknown()
- func (m *ReceiptParacrossDone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptParacrossDone) XXX_Merge(src proto.Message)
- func (m *ReceiptParacrossDone) XXX_Size() int
- func (m *ReceiptParacrossDone) XXX_Unmarshal(b []byte) error
- type ReceiptParacrossMiner
- func (*ReceiptParacrossMiner) Descriptor() ([]byte, []int)
- func (m *ReceiptParacrossMiner) GetStatus() *ParacrossNodeStatus
- func (*ReceiptParacrossMiner) ProtoMessage()
- func (m *ReceiptParacrossMiner) Reset()
- func (m *ReceiptParacrossMiner) String() string
- func (m *ReceiptParacrossMiner) XXX_DiscardUnknown()
- func (m *ReceiptParacrossMiner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptParacrossMiner) XXX_Merge(src proto.Message)
- func (m *ReceiptParacrossMiner) XXX_Size() int
- func (m *ReceiptParacrossMiner) XXX_Unmarshal(b []byte) error
- type ReceiptParacrossRecord
- func (*ReceiptParacrossRecord) Descriptor() ([]byte, []int)
- func (m *ReceiptParacrossRecord) GetAddr() string
- func (m *ReceiptParacrossRecord) GetStatus() *ParacrossNodeStatus
- func (*ReceiptParacrossRecord) ProtoMessage()
- func (m *ReceiptParacrossRecord) Reset()
- func (m *ReceiptParacrossRecord) String() string
- func (m *ReceiptParacrossRecord) XXX_DiscardUnknown()
- func (m *ReceiptParacrossRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptParacrossRecord) XXX_Merge(src proto.Message)
- func (m *ReceiptParacrossRecord) XXX_Size() int
- func (m *ReceiptParacrossRecord) XXX_Unmarshal(b []byte) error
- type ReqParacrossNodeInfo
- func (*ReqParacrossNodeInfo) Descriptor() ([]byte, []int)
- func (m *ReqParacrossNodeInfo) GetAddr() string
- func (m *ReqParacrossNodeInfo) GetId() string
- func (m *ReqParacrossNodeInfo) GetStatus() int32
- func (m *ReqParacrossNodeInfo) GetTitle() string
- func (*ReqParacrossNodeInfo) ProtoMessage()
- func (m *ReqParacrossNodeInfo) Reset()
- func (m *ReqParacrossNodeInfo) String() string
- func (m *ReqParacrossNodeInfo) XXX_DiscardUnknown()
- func (m *ReqParacrossNodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqParacrossNodeInfo) XXX_Merge(src proto.Message)
- func (m *ReqParacrossNodeInfo) XXX_Size() int
- func (m *ReqParacrossNodeInfo) XXX_Unmarshal(b []byte) error
- type ReqParacrossTitleHash
- func (*ReqParacrossTitleHash) Descriptor() ([]byte, []int)
- func (m *ReqParacrossTitleHash) GetBlockHash() []byte
- func (m *ReqParacrossTitleHash) GetTitle() string
- func (*ReqParacrossTitleHash) ProtoMessage()
- func (m *ReqParacrossTitleHash) Reset()
- func (m *ReqParacrossTitleHash) String() string
- func (m *ReqParacrossTitleHash) XXX_DiscardUnknown()
- func (m *ReqParacrossTitleHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqParacrossTitleHash) XXX_Merge(src proto.Message)
- func (m *ReqParacrossTitleHash) XXX_Size() int
- func (m *ReqParacrossTitleHash) XXX_Unmarshal(b []byte) error
- type ReqParacrossTitleHeight
- func (*ReqParacrossTitleHeight) Descriptor() ([]byte, []int)
- func (m *ReqParacrossTitleHeight) GetHeight() int64
- func (m *ReqParacrossTitleHeight) GetTitle() string
- func (*ReqParacrossTitleHeight) ProtoMessage()
- func (m *ReqParacrossTitleHeight) Reset()
- func (m *ReqParacrossTitleHeight) String() string
- func (m *ReqParacrossTitleHeight) XXX_DiscardUnknown()
- func (m *ReqParacrossTitleHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqParacrossTitleHeight) XXX_Merge(src proto.Message)
- func (m *ReqParacrossTitleHeight) XXX_Size() int
- func (m *ReqParacrossTitleHeight) XXX_Unmarshal(b []byte) error
- type RespParacrossDone
- func (*RespParacrossDone) Descriptor() ([]byte, []int)
- func (m *RespParacrossDone) GetHeight() int64
- func (m *RespParacrossDone) GetMostSameCommit() int32
- func (m *RespParacrossDone) GetStateHash() string
- func (m *RespParacrossDone) GetTitle() string
- func (m *RespParacrossDone) GetTotalCommit() int32
- func (m *RespParacrossDone) GetTotalNodes() int32
- func (m *RespParacrossDone) GetTxCounts() uint32
- func (m *RespParacrossDone) GetTxResult() string
- func (*RespParacrossDone) ProtoMessage()
- func (m *RespParacrossDone) Reset()
- func (m *RespParacrossDone) String() string
- func (m *RespParacrossDone) XXX_DiscardUnknown()
- func (m *RespParacrossDone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RespParacrossDone) XXX_Merge(src proto.Message)
- func (m *RespParacrossDone) XXX_Size() int
- func (m *RespParacrossDone) XXX_Unmarshal(b []byte) error
- type RespParacrossNodeAddrs
- func (*RespParacrossNodeAddrs) Descriptor() ([]byte, []int)
- func (m *RespParacrossNodeAddrs) GetIds() []*ParaNodeIdStatus
- func (*RespParacrossNodeAddrs) ProtoMessage()
- func (m *RespParacrossNodeAddrs) Reset()
- func (m *RespParacrossNodeAddrs) String() string
- func (m *RespParacrossNodeAddrs) XXX_DiscardUnknown()
- func (m *RespParacrossNodeAddrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RespParacrossNodeAddrs) XXX_Merge(src proto.Message)
- func (m *RespParacrossNodeAddrs) XXX_Size() int
- func (m *RespParacrossNodeAddrs) XXX_Unmarshal(b []byte) error
- type RespParacrossNodeGroups
- func (*RespParacrossNodeGroups) Descriptor() ([]byte, []int)
- func (m *RespParacrossNodeGroups) GetIds() []*ParaNodeGroupStatus
- func (*RespParacrossNodeGroups) ProtoMessage()
- func (m *RespParacrossNodeGroups) Reset()
- func (m *RespParacrossNodeGroups) String() string
- func (m *RespParacrossNodeGroups) XXX_DiscardUnknown()
- func (m *RespParacrossNodeGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RespParacrossNodeGroups) XXX_Merge(src proto.Message)
- func (m *RespParacrossNodeGroups) XXX_Size() int
- func (m *RespParacrossNodeGroups) XXX_Unmarshal(b []byte) error
- type RespParacrossTitles
- func (*RespParacrossTitles) Descriptor() ([]byte, []int)
- func (m *RespParacrossTitles) GetTitles() []*RespParacrossDone
- func (*RespParacrossTitles) ProtoMessage()
- func (m *RespParacrossTitles) Reset()
- func (m *RespParacrossTitles) String() string
- func (m *RespParacrossTitles) XXX_DiscardUnknown()
- func (m *RespParacrossTitles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RespParacrossTitles) XXX_Merge(src proto.Message)
- func (m *RespParacrossTitles) XXX_Size() int
- func (m *RespParacrossTitles) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // TyLogParacrossCommit commit log key TyLogParacrossCommit = 650 // TyLogParacrossCommitDone commit down key TyLogParacrossCommitDone = 651 // record 和 commit 不一样, 对应高度完成共识后收到commit 交易 // 这个交易就不参与共识, 只做记录 // TyLogParacrossCommitRecord commit record key TyLogParacrossCommitRecord = 652 // TyLogParaAssetTransfer asset transfer log key TyLogParaAssetTransfer = 653 // TyLogParaAssetWithdraw asset withdraw log key TyLogParaAssetWithdraw = 654 //在平行链上保存节点参与共识的数据 // TyLogParacrossMiner miner log key TyLogParacrossMiner = 655 // TyLogParaAssetDeposit asset deposit log key TyLogParaAssetDeposit = 656 // TyLogParaNodeConfig config super node log key TyLogParaNodeConfig = 657 TyLogParaNodeVoteDone = 658 TyLogParaNodeGroupAddrsUpdate = 659 TyLogParaNodeGroupConfig = 660 TyLogParaNodeStatusUpdate = 661 TyLogParaNodeGroupStatusUpdate = 664 )
paracross 执行器的日志类型
const ( // ParacrossActionCommit paracross consensus commit action ParacrossActionCommit = iota // ParacrossActionMiner paracross consensus miner action ParacrossActionMiner // ParacrossActionTransfer paracross asset transfer action ParacrossActionTransfer // ParacrossActionWithdraw paracross asset withdraw action ParacrossActionWithdraw // ParacrossActionTransferToExec asset transfer to exec ParacrossActionTransferToExec )
action type
const ( // ParacrossActionAssetTransfer paracross asset transfer key ParacrossActionAssetTransfer = iota + paraCrossTransferActionTypeStart // ParacrossActionAssetWithdraw paracross asset withdraw key ParacrossActionAssetWithdraw //ParacrossActionNodeConfig para super node config ParacrossActionNodeConfig //ParacrossActionNodeGroupApply apply for node group initially ParacrossActionNodeGroupApply )
const ( // ParacrossStatusCommiting commit status ParacrossStatusCommiting = iota // ParacrossStatusCommitDone commit done status ParacrossStatusCommitDone )
status
const ( ParaNodeJoin = iota + 1 ParaNodeVote ParaNodeQuit ParaNodeCancel )
node config op
const ( ParaNodeVoteInvalid = iota ParaNodeVoteYes ParaNodeVoteNo ParaNodeVoteEnd )
node vote op
const ( // ParacrossNodeJoined pass to add by votes ParacrossNodeJoined = iota + 10 // ParacrossNodeQuited pass to quite by votes ParacrossNodeQuited )
const ( // ParacrossNodeIDJoining apply for join group ParacrossNodeJoining = iota + 1 // ParacrossNodeIDQuiting apply for quiting group ParacrossNodeQuiting // ParacrossNodeIDClosed id voting closed ParacrossNodeClosed // ParacrossNodeCanceled to cancel apply of joining or quiting ParacrossNodeCanceled )
voting status
const ( //ParacrossNodeGroupApply apply for para chain node group initially ParacrossNodeGroupApply = iota + 1 //ParacrossNodeGroupApprove super manager approve the apply ParacrossNodeGroupApprove //ParacrossNodeGroupQuit applyer quit the apply when not be approved ParacrossNodeGroupQuit //ParacrossNodeGroupModify applyer modify some parameters ParacrossNodeGroupModify )
Variables ¶
var ( // ErrInvalidTitle invalid commit msg title ErrInvalidTitle = errors.New("ErrInvalidTitle") // ErrTitleNotExist commit msg title not exist ErrTitleNotExist = errors.New("ErrTitleNotExist") // ErrNodeNotForTheTitle the node not match with title ErrNodeNotForTheTitle = errors.New("ErrNodeNotForTheTitle") // ErrParaBlockHashNoMatch block hash not match with before ErrParaBlockHashNoMatch = errors.New("ErrParaBlockHashNoMatch") // ErrParaMinerBaseIndex miner base index not 0 ErrParaMinerBaseIndex = errors.New("ErrParaMinerBaseIndex") // ErrParaMinerTxType the 0 tx is not miner tx ErrParaMinerTxType = errors.New("ErrParaMinerTxType") // ErrParaEmptyMinerTx block no miner tx ErrParaEmptyMinerTx = errors.New("ErrParaEmptyMinerTx") // ErrParaMinerExecErr miner tx exec error ErrParaMinerExecErr = errors.New("ErrParaMinerExecErr") // ErrParaWaitingNewSeq para waiting main node new seq coming ErrParaWaitingNewSeq = errors.New("ErrParaWaitingNewSeq") // ErrParaCurHashNotMatch para curr main hash not match with pre, main node may switched ErrParaCurHashNotMatch = errors.New("ErrParaCurHashNotMatch") // ErrParaUnSupportNodeOper unsupport node operation ErrParaUnSupportNodeOper = errors.New("ErrParaUnSupportNodeOper") //ErrParaNodeAddrExisted node addr exist in group ErrParaNodeAddrExisted = errors.New("ErrParaNodeAddrExisted") //ErrParaNodeAddrNotExisted node addr not exist in group ErrParaNodeAddrNotExisted = errors.New("ErrParaNodeAddrNotExisted") //ErrParaManageNodesNotSet config manage node not set ErrParaManageNodesNotSet = errors.New("ErrParaManageNodesNotSet") //ErrParaNodeGroupNotSet para config node group not set by take over ErrParaNodeGroupNotSet = errors.New("ErrParaManageNodesNotSet") //ErrParaNodeGroupExisted para config group taked over alreay ErrParaNodeGroupExisted = errors.New("ErrParaNodesExisted") //ErrParaNodeGroupLastAddr last super node not be allow to quite ErrParaNodeGroupLastAddr = errors.New("ErrParaNodeGroupLastAddr") //ErrParaNodeVoteSelf vote self not allow ErrParaNodeVoteSelf = errors.New("ErrParaNodeVoteSelf") //ErrParaNodeGroupFrozenCoinsNotEnough node group coins in tx less than conf's minimum coins ErrParaNodeGroupFrozenCoinsNotEnough = errors.New("ErrParaNodeGroupFrozenCoinsNotEnough") //ErrParaNodeOpStatusWrong node process wrong status ErrParaNodeOpStatusWrong = errors.New("ErrParaNodeOpStatusWrong") //ErrParaConsensStopBlocksNotReach consensus stop blocks not reach ErrParaConsensStopBlocksNotReach = errors.New("ErrParaConsensStopBlocksNotReach") )
var ( // ParacrossActionCommitStr Commit string ParacrossActionCommitStr = string("Commit") // ParacrossActionAssetTransferStr asset transfer key ParacrossActionAssetTransferStr = paracrossTransferPerfix + string("AssetTransfer") // ParacrossActionAssetWithdrawStr asset withdraw key ParacrossActionAssetWithdrawStr = paracrossTransferPerfix + string("AssetWithdraw") // ParacrossActionTransferStr trasfer key ParacrossActionTransferStr = paracrossTransferPerfix + string("Transfer") // ParacrossActionTransferToExecStr transfer to exec key ParacrossActionTransferToExecStr = paracrossTransferPerfix + string("TransferToExec") // ParacrossActionWithdrawStr withdraw key ParacrossActionWithdrawStr = paracrossTransferPerfix + string("Withdraw") )
var ( // ParaX paracross exec name ParaX = "paracross" // ForkCommitTx main chain support paracross commit tx ForkCommitTx = "ForkParacrossCommitTx" )
var ParaNodeVoteStr = []string{"invalid", "yes", "no"}
ParaNodeVoteStr ...
Functions ¶
func CalcMinerHeightKey ¶
CalcMinerHeightKey get miner key
func CreateRawAssetTransferTx ¶
func CreateRawAssetTransferTx(param *types.CreateTx) (*types.Transaction, error)
CreateRawAssetTransferTx create asset transfer tx
func CreateRawCommitTx4MainChain ¶
func CreateRawCommitTx4MainChain(status *ParacrossNodeStatus, name string, fee int64) (*types.Transaction, error)
CreateRawCommitTx4MainChain create commit tx to main chain
func CreateRawMinerTx ¶
func CreateRawMinerTx(value *ParacrossMinerAction) (*types.Transaction, error)
CreateRawMinerTx create miner tx
func CreateRawNodeConfigTx ¶
func CreateRawNodeConfigTx(config *ParaNodeAddrConfig) (*types.Transaction, error)
CreateRawNodeConfigTx create raw tx for node config
func CreateRawNodeGroupApplyTx ¶
func CreateRawNodeGroupApplyTx(apply *ParaNodeGroupConfig) (*types.Transaction, error)
CreateRawNodeGroupApplyTx create raw tx for node group
func RegisterParacrossServer ¶
func RegisterParacrossServer(s *grpc.Server, srv ParacrossServer)
Types ¶
type ParaBlock2MainInfo ¶
type ParaBlock2MainInfo struct { Items []*ParaBlock2MainMap `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParaBlock2MainInfo) Descriptor ¶
func (*ParaBlock2MainInfo) Descriptor() ([]byte, []int)
func (*ParaBlock2MainInfo) GetItems ¶
func (m *ParaBlock2MainInfo) GetItems() []*ParaBlock2MainMap
func (*ParaBlock2MainInfo) ProtoMessage ¶
func (*ParaBlock2MainInfo) ProtoMessage()
func (*ParaBlock2MainInfo) Reset ¶
func (m *ParaBlock2MainInfo) Reset()
func (*ParaBlock2MainInfo) String ¶
func (m *ParaBlock2MainInfo) String() string
func (*ParaBlock2MainInfo) XXX_DiscardUnknown ¶
func (m *ParaBlock2MainInfo) XXX_DiscardUnknown()
func (*ParaBlock2MainInfo) XXX_Marshal ¶
func (m *ParaBlock2MainInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParaBlock2MainInfo) XXX_Merge ¶
func (m *ParaBlock2MainInfo) XXX_Merge(src proto.Message)
func (*ParaBlock2MainInfo) XXX_Size ¶
func (m *ParaBlock2MainInfo) XXX_Size() int
func (*ParaBlock2MainInfo) XXX_Unmarshal ¶
func (m *ParaBlock2MainInfo) XXX_Unmarshal(b []byte) error
type ParaBlock2MainMap ¶
type ParaBlock2MainMap struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` BlockHash string `protobuf:"bytes,2,opt,name=blockHash,proto3" json:"blockHash,omitempty"` MainHeight int64 `protobuf:"varint,3,opt,name=mainHeight,proto3" json:"mainHeight,omitempty"` MainHash string `protobuf:"bytes,4,opt,name=mainHash,proto3" json:"mainHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParaBlock2MainMap) Descriptor ¶
func (*ParaBlock2MainMap) Descriptor() ([]byte, []int)
func (*ParaBlock2MainMap) GetBlockHash ¶
func (m *ParaBlock2MainMap) GetBlockHash() string
func (*ParaBlock2MainMap) GetHeight ¶
func (m *ParaBlock2MainMap) GetHeight() int64
func (*ParaBlock2MainMap) GetMainHash ¶
func (m *ParaBlock2MainMap) GetMainHash() string
func (*ParaBlock2MainMap) GetMainHeight ¶
func (m *ParaBlock2MainMap) GetMainHeight() int64
func (*ParaBlock2MainMap) ProtoMessage ¶
func (*ParaBlock2MainMap) ProtoMessage()
func (*ParaBlock2MainMap) Reset ¶
func (m *ParaBlock2MainMap) Reset()
func (*ParaBlock2MainMap) String ¶
func (m *ParaBlock2MainMap) String() string
func (*ParaBlock2MainMap) XXX_DiscardUnknown ¶
func (m *ParaBlock2MainMap) XXX_DiscardUnknown()
func (*ParaBlock2MainMap) XXX_Marshal ¶
func (m *ParaBlock2MainMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParaBlock2MainMap) XXX_Merge ¶
func (m *ParaBlock2MainMap) XXX_Merge(src proto.Message)
func (*ParaBlock2MainMap) XXX_Size ¶
func (m *ParaBlock2MainMap) XXX_Size() int
func (*ParaBlock2MainMap) XXX_Unmarshal ¶
func (m *ParaBlock2MainMap) XXX_Unmarshal(b []byte) error
type ParaNodeAddrConfig ¶
type ParaNodeAddrConfig struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Op uint32 `protobuf:"varint,2,opt,name=op,proto3" json:"op,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Addr string `protobuf:"bytes,4,opt,name=addr,proto3" json:"addr,omitempty"` Value uint32 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"` CoinsFrozen int64 `protobuf:"varint,6,opt,name=coinsFrozen,proto3" json:"coinsFrozen,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParaNodeAddrConfig) Descriptor ¶
func (*ParaNodeAddrConfig) Descriptor() ([]byte, []int)
func (*ParaNodeAddrConfig) GetAddr ¶
func (m *ParaNodeAddrConfig) GetAddr() string
func (*ParaNodeAddrConfig) GetCoinsFrozen ¶
func (m *ParaNodeAddrConfig) GetCoinsFrozen() int64
func (*ParaNodeAddrConfig) GetId ¶
func (m *ParaNodeAddrConfig) GetId() string
func (*ParaNodeAddrConfig) GetOp ¶
func (m *ParaNodeAddrConfig) GetOp() uint32
func (*ParaNodeAddrConfig) GetTitle ¶
func (m *ParaNodeAddrConfig) GetTitle() string
func (*ParaNodeAddrConfig) GetValue ¶
func (m *ParaNodeAddrConfig) GetValue() uint32
func (*ParaNodeAddrConfig) ProtoMessage ¶
func (*ParaNodeAddrConfig) ProtoMessage()
func (*ParaNodeAddrConfig) Reset ¶
func (m *ParaNodeAddrConfig) Reset()
func (*ParaNodeAddrConfig) String ¶
func (m *ParaNodeAddrConfig) String() string
func (*ParaNodeAddrConfig) XXX_DiscardUnknown ¶
func (m *ParaNodeAddrConfig) XXX_DiscardUnknown()
func (*ParaNodeAddrConfig) XXX_Marshal ¶
func (m *ParaNodeAddrConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParaNodeAddrConfig) XXX_Merge ¶
func (m *ParaNodeAddrConfig) XXX_Merge(src proto.Message)
func (*ParaNodeAddrConfig) XXX_Size ¶
func (m *ParaNodeAddrConfig) XXX_Size() int
func (*ParaNodeAddrConfig) XXX_Unmarshal ¶
func (m *ParaNodeAddrConfig) XXX_Unmarshal(b []byte) error
type ParaNodeAddrIdStatus ¶
type ParaNodeAddrIdStatus struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` ProposalId string `protobuf:"bytes,2,opt,name=proposalId,proto3" json:"proposalId,omitempty"` QuitId string `protobuf:"bytes,3,opt,name=quitId,proto3" json:"quitId,omitempty"` Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParaNodeAddrIdStatus) Descriptor ¶
func (*ParaNodeAddrIdStatus) Descriptor() ([]byte, []int)
func (*ParaNodeAddrIdStatus) GetAddr ¶
func (m *ParaNodeAddrIdStatus) GetAddr() string
func (*ParaNodeAddrIdStatus) GetProposalId ¶
func (m *ParaNodeAddrIdStatus) GetProposalId() string
func (*ParaNodeAddrIdStatus) GetQuitId ¶
func (m *ParaNodeAddrIdStatus) GetQuitId() string
func (*ParaNodeAddrIdStatus) GetStatus ¶
func (m *ParaNodeAddrIdStatus) GetStatus() int32
func (*ParaNodeAddrIdStatus) GetTitle ¶
func (m *ParaNodeAddrIdStatus) GetTitle() string
func (*ParaNodeAddrIdStatus) ProtoMessage ¶
func (*ParaNodeAddrIdStatus) ProtoMessage()
func (*ParaNodeAddrIdStatus) Reset ¶
func (m *ParaNodeAddrIdStatus) Reset()
func (*ParaNodeAddrIdStatus) String ¶
func (m *ParaNodeAddrIdStatus) String() string
func (*ParaNodeAddrIdStatus) XXX_DiscardUnknown ¶
func (m *ParaNodeAddrIdStatus) XXX_DiscardUnknown()
func (*ParaNodeAddrIdStatus) XXX_Marshal ¶
func (m *ParaNodeAddrIdStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParaNodeAddrIdStatus) XXX_Merge ¶
func (m *ParaNodeAddrIdStatus) XXX_Merge(src proto.Message)
func (*ParaNodeAddrIdStatus) XXX_Size ¶
func (m *ParaNodeAddrIdStatus) XXX_Size() int
func (*ParaNodeAddrIdStatus) XXX_Unmarshal ¶
func (m *ParaNodeAddrIdStatus) XXX_Unmarshal(b []byte) error
type ParaNodeGroupConfig ¶
type ParaNodeGroupConfig struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Op uint32 `protobuf:"varint,2,opt,name=op,proto3" json:"op,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Addrs string `protobuf:"bytes,4,opt,name=addrs,proto3" json:"addrs,omitempty"` CoinsFrozen int64 `protobuf:"varint,5,opt,name=coinsFrozen,proto3" json:"coinsFrozen,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParaNodeGroupConfig) Descriptor ¶
func (*ParaNodeGroupConfig) Descriptor() ([]byte, []int)
func (*ParaNodeGroupConfig) GetAddrs ¶
func (m *ParaNodeGroupConfig) GetAddrs() string
func (*ParaNodeGroupConfig) GetCoinsFrozen ¶
func (m *ParaNodeGroupConfig) GetCoinsFrozen() int64
func (*ParaNodeGroupConfig) GetId ¶
func (m *ParaNodeGroupConfig) GetId() string
func (*ParaNodeGroupConfig) GetOp ¶
func (m *ParaNodeGroupConfig) GetOp() uint32
func (*ParaNodeGroupConfig) GetTitle ¶
func (m *ParaNodeGroupConfig) GetTitle() string
func (*ParaNodeGroupConfig) ProtoMessage ¶
func (*ParaNodeGroupConfig) ProtoMessage()
func (*ParaNodeGroupConfig) Reset ¶
func (m *ParaNodeGroupConfig) Reset()
func (*ParaNodeGroupConfig) String ¶
func (m *ParaNodeGroupConfig) String() string
func (*ParaNodeGroupConfig) XXX_DiscardUnknown ¶
func (m *ParaNodeGroupConfig) XXX_DiscardUnknown()
func (*ParaNodeGroupConfig) XXX_Marshal ¶
func (m *ParaNodeGroupConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParaNodeGroupConfig) XXX_Merge ¶
func (m *ParaNodeGroupConfig) XXX_Merge(src proto.Message)
func (*ParaNodeGroupConfig) XXX_Size ¶
func (m *ParaNodeGroupConfig) XXX_Size() int
func (*ParaNodeGroupConfig) XXX_Unmarshal ¶
func (m *ParaNodeGroupConfig) XXX_Unmarshal(b []byte) error
type ParaNodeGroupStatus ¶
type ParaNodeGroupStatus struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` TargetAddrs string `protobuf:"bytes,4,opt,name=targetAddrs,proto3" json:"targetAddrs,omitempty"` CoinsFrozen int64 `protobuf:"varint,5,opt,name=coinsFrozen,proto3" json:"coinsFrozen,omitempty"` FromAddr string `protobuf:"bytes,6,opt,name=fromAddr,proto3" json:"fromAddr,omitempty"` Height int64 `protobuf:"varint,7,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParaNodeGroupStatus) Descriptor ¶
func (*ParaNodeGroupStatus) Descriptor() ([]byte, []int)
func (*ParaNodeGroupStatus) GetCoinsFrozen ¶
func (m *ParaNodeGroupStatus) GetCoinsFrozen() int64
func (*ParaNodeGroupStatus) GetFromAddr ¶
func (m *ParaNodeGroupStatus) GetFromAddr() string
func (*ParaNodeGroupStatus) GetHeight ¶
func (m *ParaNodeGroupStatus) GetHeight() int64
func (*ParaNodeGroupStatus) GetId ¶
func (m *ParaNodeGroupStatus) GetId() string
func (*ParaNodeGroupStatus) GetStatus ¶
func (m *ParaNodeGroupStatus) GetStatus() int32
func (*ParaNodeGroupStatus) GetTargetAddrs ¶
func (m *ParaNodeGroupStatus) GetTargetAddrs() string
func (*ParaNodeGroupStatus) GetTitle ¶
func (m *ParaNodeGroupStatus) GetTitle() string
func (*ParaNodeGroupStatus) ProtoMessage ¶
func (*ParaNodeGroupStatus) ProtoMessage()
func (*ParaNodeGroupStatus) Reset ¶
func (m *ParaNodeGroupStatus) Reset()
func (*ParaNodeGroupStatus) String ¶
func (m *ParaNodeGroupStatus) String() string
func (*ParaNodeGroupStatus) XXX_DiscardUnknown ¶
func (m *ParaNodeGroupStatus) XXX_DiscardUnknown()
func (*ParaNodeGroupStatus) XXX_Marshal ¶
func (m *ParaNodeGroupStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParaNodeGroupStatus) XXX_Merge ¶
func (m *ParaNodeGroupStatus) XXX_Merge(src proto.Message)
func (*ParaNodeGroupStatus) XXX_Size ¶
func (m *ParaNodeGroupStatus) XXX_Size() int
func (*ParaNodeGroupStatus) XXX_Unmarshal ¶
func (m *ParaNodeGroupStatus) XXX_Unmarshal(b []byte) error
type ParaNodeIdStatus ¶
type ParaNodeIdStatus struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` TargetAddr string `protobuf:"bytes,4,opt,name=targetAddr,proto3" json:"targetAddr,omitempty"` CoinsFrozen int64 `protobuf:"varint,5,opt,name=coinsFrozen,proto3" json:"coinsFrozen,omitempty"` Votes *ParaNodeVoteDetail `protobuf:"bytes,6,opt,name=votes,proto3" json:"votes,omitempty"` FromAddr string `protobuf:"bytes,7,opt,name=fromAddr,proto3" json:"fromAddr,omitempty"` Height int64 `protobuf:"varint,8,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParaNodeIdStatus) Descriptor ¶
func (*ParaNodeIdStatus) Descriptor() ([]byte, []int)
func (*ParaNodeIdStatus) GetCoinsFrozen ¶
func (m *ParaNodeIdStatus) GetCoinsFrozen() int64
func (*ParaNodeIdStatus) GetFromAddr ¶
func (m *ParaNodeIdStatus) GetFromAddr() string
func (*ParaNodeIdStatus) GetHeight ¶
func (m *ParaNodeIdStatus) GetHeight() int64
func (*ParaNodeIdStatus) GetId ¶
func (m *ParaNodeIdStatus) GetId() string
func (*ParaNodeIdStatus) GetStatus ¶
func (m *ParaNodeIdStatus) GetStatus() int32
func (*ParaNodeIdStatus) GetTargetAddr ¶
func (m *ParaNodeIdStatus) GetTargetAddr() string
func (*ParaNodeIdStatus) GetTitle ¶
func (m *ParaNodeIdStatus) GetTitle() string
func (*ParaNodeIdStatus) GetVotes ¶
func (m *ParaNodeIdStatus) GetVotes() *ParaNodeVoteDetail
func (*ParaNodeIdStatus) ProtoMessage ¶
func (*ParaNodeIdStatus) ProtoMessage()
func (*ParaNodeIdStatus) Reset ¶
func (m *ParaNodeIdStatus) Reset()
func (*ParaNodeIdStatus) String ¶
func (m *ParaNodeIdStatus) String() string
func (*ParaNodeIdStatus) XXX_DiscardUnknown ¶
func (m *ParaNodeIdStatus) XXX_DiscardUnknown()
func (*ParaNodeIdStatus) XXX_Marshal ¶
func (m *ParaNodeIdStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParaNodeIdStatus) XXX_Merge ¶
func (m *ParaNodeIdStatus) XXX_Merge(src proto.Message)
func (*ParaNodeIdStatus) XXX_Size ¶
func (m *ParaNodeIdStatus) XXX_Size() int
func (*ParaNodeIdStatus) XXX_Unmarshal ¶
func (m *ParaNodeIdStatus) XXX_Unmarshal(b []byte) error
type ParaNodeVoteDetail ¶
type ParaNodeVoteDetail struct { Addrs []string `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"` Votes []string `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParaNodeVoteDetail) Descriptor ¶
func (*ParaNodeVoteDetail) Descriptor() ([]byte, []int)
func (*ParaNodeVoteDetail) GetAddrs ¶
func (m *ParaNodeVoteDetail) GetAddrs() []string
func (*ParaNodeVoteDetail) GetVotes ¶
func (m *ParaNodeVoteDetail) GetVotes() []string
func (*ParaNodeVoteDetail) ProtoMessage ¶
func (*ParaNodeVoteDetail) ProtoMessage()
func (*ParaNodeVoteDetail) Reset ¶
func (m *ParaNodeVoteDetail) Reset()
func (*ParaNodeVoteDetail) String ¶
func (m *ParaNodeVoteDetail) String() string
func (*ParaNodeVoteDetail) XXX_DiscardUnknown ¶
func (m *ParaNodeVoteDetail) XXX_DiscardUnknown()
func (*ParaNodeVoteDetail) XXX_Marshal ¶
func (m *ParaNodeVoteDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParaNodeVoteDetail) XXX_Merge ¶
func (m *ParaNodeVoteDetail) XXX_Merge(src proto.Message)
func (*ParaNodeVoteDetail) XXX_Size ¶
func (m *ParaNodeVoteDetail) XXX_Size() int
func (*ParaNodeVoteDetail) XXX_Unmarshal ¶
func (m *ParaNodeVoteDetail) XXX_Unmarshal(b []byte) error
type ParacrossAction ¶
type ParacrossAction struct { // Types that are valid to be assigned to Value: // *ParacrossAction_Commit // *ParacrossAction_Miner // *ParacrossAction_AssetTransfer // *ParacrossAction_AssetWithdraw // *ParacrossAction_Transfer // *ParacrossAction_Withdraw // *ParacrossAction_TransferToExec // *ParacrossAction_NodeConfig // *ParacrossAction_NodeGroupConfig Value isParacrossAction_Value `protobuf_oneof:"value"` Ty int32 `protobuf:"varint,2,opt,name=ty,proto3" json:"ty,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParacrossAction) Descriptor ¶
func (*ParacrossAction) Descriptor() ([]byte, []int)
func (*ParacrossAction) GetAssetTransfer ¶
func (m *ParacrossAction) GetAssetTransfer() *types.AssetsTransfer
func (*ParacrossAction) GetAssetWithdraw ¶
func (m *ParacrossAction) GetAssetWithdraw() *types.AssetsWithdraw
func (*ParacrossAction) GetCommit ¶
func (m *ParacrossAction) GetCommit() *ParacrossCommitAction
func (*ParacrossAction) GetMiner ¶
func (m *ParacrossAction) GetMiner() *ParacrossMinerAction
func (*ParacrossAction) GetNodeConfig ¶
func (m *ParacrossAction) GetNodeConfig() *ParaNodeAddrConfig
func (*ParacrossAction) GetNodeGroupConfig ¶
func (m *ParacrossAction) GetNodeGroupConfig() *ParaNodeGroupConfig
func (*ParacrossAction) GetTransfer ¶
func (m *ParacrossAction) GetTransfer() *types.AssetsTransfer
func (*ParacrossAction) GetTransferToExec ¶
func (m *ParacrossAction) GetTransferToExec() *types.AssetsTransferToExec
func (*ParacrossAction) GetTy ¶
func (m *ParacrossAction) GetTy() int32
func (*ParacrossAction) GetValue ¶
func (m *ParacrossAction) GetValue() isParacrossAction_Value
func (*ParacrossAction) GetWithdraw ¶
func (m *ParacrossAction) GetWithdraw() *types.AssetsWithdraw
func (*ParacrossAction) ProtoMessage ¶
func (*ParacrossAction) ProtoMessage()
func (*ParacrossAction) Reset ¶
func (m *ParacrossAction) Reset()
func (*ParacrossAction) String ¶
func (m *ParacrossAction) String() string
func (*ParacrossAction) XXX_DiscardUnknown ¶
func (m *ParacrossAction) XXX_DiscardUnknown()
func (*ParacrossAction) XXX_Marshal ¶
func (m *ParacrossAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParacrossAction) XXX_Merge ¶
func (m *ParacrossAction) XXX_Merge(src proto.Message)
func (*ParacrossAction) XXX_OneofFuncs ¶
func (*ParacrossAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*ParacrossAction) XXX_Size ¶
func (m *ParacrossAction) XXX_Size() int
func (*ParacrossAction) XXX_Unmarshal ¶
func (m *ParacrossAction) XXX_Unmarshal(b []byte) error
type ParacrossAction_AssetTransfer ¶
type ParacrossAction_AssetTransfer struct {
AssetTransfer *types.AssetsTransfer `protobuf:"bytes,4,opt,name=assetTransfer,proto3,oneof"`
}
type ParacrossAction_AssetWithdraw ¶
type ParacrossAction_AssetWithdraw struct {
AssetWithdraw *types.AssetsWithdraw `protobuf:"bytes,5,opt,name=assetWithdraw,proto3,oneof"`
}
type ParacrossAction_Commit ¶
type ParacrossAction_Commit struct {
Commit *ParacrossCommitAction `protobuf:"bytes,1,opt,name=commit,proto3,oneof"`
}
type ParacrossAction_Miner ¶
type ParacrossAction_Miner struct {
Miner *ParacrossMinerAction `protobuf:"bytes,3,opt,name=miner,proto3,oneof"`
}
type ParacrossAction_NodeConfig ¶
type ParacrossAction_NodeConfig struct {
NodeConfig *ParaNodeAddrConfig `protobuf:"bytes,9,opt,name=nodeConfig,proto3,oneof"`
}
type ParacrossAction_NodeGroupConfig ¶
type ParacrossAction_NodeGroupConfig struct {
NodeGroupConfig *ParaNodeGroupConfig `protobuf:"bytes,10,opt,name=nodeGroupConfig,proto3,oneof"`
}
type ParacrossAction_Transfer ¶
type ParacrossAction_Transfer struct {
Transfer *types.AssetsTransfer `protobuf:"bytes,6,opt,name=transfer,proto3,oneof"`
}
type ParacrossAction_TransferToExec ¶
type ParacrossAction_TransferToExec struct {
TransferToExec *types.AssetsTransferToExec `protobuf:"bytes,8,opt,name=transferToExec,proto3,oneof"`
}
type ParacrossAction_Withdraw ¶
type ParacrossAction_Withdraw struct {
Withdraw *types.AssetsWithdraw `protobuf:"bytes,7,opt,name=withdraw,proto3,oneof"`
}
type ParacrossAsset ¶
type ParacrossAsset struct { // input From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` IsWithdraw bool `protobuf:"varint,3,opt,name=isWithdraw,proto3" json:"isWithdraw,omitempty"` TxHash []byte `protobuf:"bytes,4,opt,name=txHash,proto3" json:"txHash,omitempty"` Amount int64 `protobuf:"varint,5,opt,name=amount,proto3" json:"amount,omitempty"` Exec string `protobuf:"bytes,6,opt,name=exec,proto3" json:"exec,omitempty"` Symbol string `protobuf:"bytes,7,opt,name=symbol,proto3" json:"symbol,omitempty"` // 主链部分 Height int64 `protobuf:"varint,10,opt,name=height,proto3" json:"height,omitempty"` // 平行链部分 CommitDoneHeight int64 `protobuf:"varint,21,opt,name=commitDoneHeight,proto3" json:"commitDoneHeight,omitempty"` ParaHeight int64 `protobuf:"varint,22,opt,name=paraHeight,proto3" json:"paraHeight,omitempty"` Success bool `protobuf:"varint,23,opt,name=success,proto3" json:"success,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
跨链转账相关
func (*ParacrossAsset) Descriptor ¶
func (*ParacrossAsset) Descriptor() ([]byte, []int)
func (*ParacrossAsset) GetAmount ¶
func (m *ParacrossAsset) GetAmount() int64
func (*ParacrossAsset) GetCommitDoneHeight ¶
func (m *ParacrossAsset) GetCommitDoneHeight() int64
func (*ParacrossAsset) GetExec ¶
func (m *ParacrossAsset) GetExec() string
func (*ParacrossAsset) GetFrom ¶
func (m *ParacrossAsset) GetFrom() string
func (*ParacrossAsset) GetHeight ¶
func (m *ParacrossAsset) GetHeight() int64
func (*ParacrossAsset) GetIsWithdraw ¶
func (m *ParacrossAsset) GetIsWithdraw() bool
func (*ParacrossAsset) GetParaHeight ¶
func (m *ParacrossAsset) GetParaHeight() int64
func (*ParacrossAsset) GetSuccess ¶
func (m *ParacrossAsset) GetSuccess() bool
func (*ParacrossAsset) GetSymbol ¶
func (m *ParacrossAsset) GetSymbol() string
func (*ParacrossAsset) GetTo ¶
func (m *ParacrossAsset) GetTo() string
func (*ParacrossAsset) GetTxHash ¶
func (m *ParacrossAsset) GetTxHash() []byte
func (*ParacrossAsset) ProtoMessage ¶
func (*ParacrossAsset) ProtoMessage()
func (*ParacrossAsset) Reset ¶
func (m *ParacrossAsset) Reset()
func (*ParacrossAsset) String ¶
func (m *ParacrossAsset) String() string
func (*ParacrossAsset) XXX_DiscardUnknown ¶
func (m *ParacrossAsset) XXX_DiscardUnknown()
func (*ParacrossAsset) XXX_Marshal ¶
func (m *ParacrossAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParacrossAsset) XXX_Merge ¶
func (m *ParacrossAsset) XXX_Merge(src proto.Message)
func (*ParacrossAsset) XXX_Size ¶
func (m *ParacrossAsset) XXX_Size() int
func (*ParacrossAsset) XXX_Unmarshal ¶
func (m *ParacrossAsset) XXX_Unmarshal(b []byte) error
type ParacrossClient ¶
type ParacrossClient interface { GetTitle(ctx context.Context, in *types.ReqString, opts ...grpc.CallOption) (*ParacrossConsensusStatus, error) ListTitles(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*RespParacrossTitles, error) GetDoneTitleHeight(ctx context.Context, in *ReqParacrossTitleHeight, opts ...grpc.CallOption) (*RespParacrossDone, error) GetTitleHeight(ctx context.Context, in *ReqParacrossTitleHeight, opts ...grpc.CallOption) (*ParacrossHeightStatusRsp, error) GetAssetTxResult(ctx context.Context, in *types.ReqHash, opts ...grpc.CallOption) (*ParacrossAsset, error) IsSync(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*types.IsCaughtUp, error) }
ParacrossClient is the client API for Paracross service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewParacrossClient ¶
func NewParacrossClient(cc *grpc.ClientConn) ParacrossClient
type ParacrossCommitAction ¶
type ParacrossCommitAction struct { Status *ParacrossNodeStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParacrossCommitAction) Descriptor ¶
func (*ParacrossCommitAction) Descriptor() ([]byte, []int)
func (*ParacrossCommitAction) GetStatus ¶
func (m *ParacrossCommitAction) GetStatus() *ParacrossNodeStatus
func (*ParacrossCommitAction) ProtoMessage ¶
func (*ParacrossCommitAction) ProtoMessage()
func (*ParacrossCommitAction) Reset ¶
func (m *ParacrossCommitAction) Reset()
func (*ParacrossCommitAction) String ¶
func (m *ParacrossCommitAction) String() string
func (*ParacrossCommitAction) XXX_DiscardUnknown ¶
func (m *ParacrossCommitAction) XXX_DiscardUnknown()
func (*ParacrossCommitAction) XXX_Marshal ¶
func (m *ParacrossCommitAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParacrossCommitAction) XXX_Merge ¶
func (m *ParacrossCommitAction) XXX_Merge(src proto.Message)
func (*ParacrossCommitAction) XXX_Size ¶
func (m *ParacrossCommitAction) XXX_Size() int
func (*ParacrossCommitAction) XXX_Unmarshal ¶
func (m *ParacrossCommitAction) XXX_Unmarshal(b []byte) error
type ParacrossConsensusStatus ¶
type ParacrossConsensusStatus struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` ChainHeight int64 `protobuf:"varint,2,opt,name=chainHeight,proto3" json:"chainHeight,omitempty"` ConsensHeight int64 `protobuf:"varint,3,opt,name=consensHeight,proto3" json:"consensHeight,omitempty"` ConsensBlockHash string `protobuf:"bytes,4,opt,name=consensBlockHash,proto3" json:"consensBlockHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParacrossConsensusStatus) Descriptor ¶
func (*ParacrossConsensusStatus) Descriptor() ([]byte, []int)
func (*ParacrossConsensusStatus) GetChainHeight ¶
func (m *ParacrossConsensusStatus) GetChainHeight() int64
func (*ParacrossConsensusStatus) GetConsensBlockHash ¶
func (m *ParacrossConsensusStatus) GetConsensBlockHash() string
func (*ParacrossConsensusStatus) GetConsensHeight ¶
func (m *ParacrossConsensusStatus) GetConsensHeight() int64
func (*ParacrossConsensusStatus) GetTitle ¶
func (m *ParacrossConsensusStatus) GetTitle() string
func (*ParacrossConsensusStatus) ProtoMessage ¶
func (*ParacrossConsensusStatus) ProtoMessage()
func (*ParacrossConsensusStatus) Reset ¶
func (m *ParacrossConsensusStatus) Reset()
func (*ParacrossConsensusStatus) String ¶
func (m *ParacrossConsensusStatus) String() string
func (*ParacrossConsensusStatus) XXX_DiscardUnknown ¶
func (m *ParacrossConsensusStatus) XXX_DiscardUnknown()
func (*ParacrossConsensusStatus) XXX_Marshal ¶
func (m *ParacrossConsensusStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParacrossConsensusStatus) XXX_Merge ¶
func (m *ParacrossConsensusStatus) XXX_Merge(src proto.Message)
func (*ParacrossConsensusStatus) XXX_Size ¶
func (m *ParacrossConsensusStatus) XXX_Size() int
func (*ParacrossConsensusStatus) XXX_Unmarshal ¶
func (m *ParacrossConsensusStatus) XXX_Unmarshal(b []byte) error
type ParacrossHeightStatus ¶
type ParacrossHeightStatus struct { // ing, done Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Details *ParacrossStatusDetails `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"` MainHeight int64 `protobuf:"varint,5,opt,name=mainHeight,proto3" json:"mainHeight,omitempty"` MainHash []byte `protobuf:"bytes,6,opt,name=mainHash,proto3" json:"mainHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParacrossHeightStatus) Descriptor ¶
func (*ParacrossHeightStatus) Descriptor() ([]byte, []int)
func (*ParacrossHeightStatus) GetDetails ¶
func (m *ParacrossHeightStatus) GetDetails() *ParacrossStatusDetails
func (*ParacrossHeightStatus) GetHeight ¶
func (m *ParacrossHeightStatus) GetHeight() int64
func (*ParacrossHeightStatus) GetMainHash ¶
func (m *ParacrossHeightStatus) GetMainHash() []byte
func (*ParacrossHeightStatus) GetMainHeight ¶
func (m *ParacrossHeightStatus) GetMainHeight() int64
func (*ParacrossHeightStatus) GetStatus ¶
func (m *ParacrossHeightStatus) GetStatus() int32
func (*ParacrossHeightStatus) GetTitle ¶
func (m *ParacrossHeightStatus) GetTitle() string
func (*ParacrossHeightStatus) ProtoMessage ¶
func (*ParacrossHeightStatus) ProtoMessage()
func (*ParacrossHeightStatus) Reset ¶
func (m *ParacrossHeightStatus) Reset()
func (*ParacrossHeightStatus) String ¶
func (m *ParacrossHeightStatus) String() string
func (*ParacrossHeightStatus) XXX_DiscardUnknown ¶
func (m *ParacrossHeightStatus) XXX_DiscardUnknown()
func (*ParacrossHeightStatus) XXX_Marshal ¶
func (m *ParacrossHeightStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParacrossHeightStatus) XXX_Merge ¶
func (m *ParacrossHeightStatus) XXX_Merge(src proto.Message)
func (*ParacrossHeightStatus) XXX_Size ¶
func (m *ParacrossHeightStatus) XXX_Size() int
func (*ParacrossHeightStatus) XXX_Unmarshal ¶
func (m *ParacrossHeightStatus) XXX_Unmarshal(b []byte) error
type ParacrossHeightStatusRsp ¶
type ParacrossHeightStatusRsp struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` MainHeight int64 `protobuf:"varint,4,opt,name=mainHeight,proto3" json:"mainHeight,omitempty"` MainHash string `protobuf:"bytes,5,opt,name=mainHash,proto3" json:"mainHash,omitempty"` CommitAddrs []string `protobuf:"bytes,6,rep,name=commitAddrs,proto3" json:"commitAddrs,omitempty"` CommitBlockHash []string `protobuf:"bytes,7,rep,name=commitBlockHash,proto3" json:"commitBlockHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParacrossHeightStatusRsp) Descriptor ¶
func (*ParacrossHeightStatusRsp) Descriptor() ([]byte, []int)
func (*ParacrossHeightStatusRsp) GetCommitAddrs ¶
func (m *ParacrossHeightStatusRsp) GetCommitAddrs() []string
func (*ParacrossHeightStatusRsp) GetCommitBlockHash ¶
func (m *ParacrossHeightStatusRsp) GetCommitBlockHash() []string
func (*ParacrossHeightStatusRsp) GetHeight ¶
func (m *ParacrossHeightStatusRsp) GetHeight() int64
func (*ParacrossHeightStatusRsp) GetMainHash ¶
func (m *ParacrossHeightStatusRsp) GetMainHash() string
func (*ParacrossHeightStatusRsp) GetMainHeight ¶
func (m *ParacrossHeightStatusRsp) GetMainHeight() int64
func (*ParacrossHeightStatusRsp) GetStatus ¶
func (m *ParacrossHeightStatusRsp) GetStatus() int32
func (*ParacrossHeightStatusRsp) GetTitle ¶
func (m *ParacrossHeightStatusRsp) GetTitle() string
func (*ParacrossHeightStatusRsp) ProtoMessage ¶
func (*ParacrossHeightStatusRsp) ProtoMessage()
func (*ParacrossHeightStatusRsp) Reset ¶
func (m *ParacrossHeightStatusRsp) Reset()
func (*ParacrossHeightStatusRsp) String ¶
func (m *ParacrossHeightStatusRsp) String() string
func (*ParacrossHeightStatusRsp) XXX_DiscardUnknown ¶
func (m *ParacrossHeightStatusRsp) XXX_DiscardUnknown()
func (*ParacrossHeightStatusRsp) XXX_Marshal ¶
func (m *ParacrossHeightStatusRsp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParacrossHeightStatusRsp) XXX_Merge ¶
func (m *ParacrossHeightStatusRsp) XXX_Merge(src proto.Message)
func (*ParacrossHeightStatusRsp) XXX_Size ¶
func (m *ParacrossHeightStatusRsp) XXX_Size() int
func (*ParacrossHeightStatusRsp) XXX_Unmarshal ¶
func (m *ParacrossHeightStatusRsp) XXX_Unmarshal(b []byte) error
type ParacrossMinerAction ¶
type ParacrossMinerAction struct { Status *ParacrossNodeStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` IsSelfConsensus bool `protobuf:"varint,2,opt,name=isSelfConsensus,proto3" json:"isSelfConsensus,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParacrossMinerAction) Descriptor ¶
func (*ParacrossMinerAction) Descriptor() ([]byte, []int)
func (*ParacrossMinerAction) GetIsSelfConsensus ¶
func (m *ParacrossMinerAction) GetIsSelfConsensus() bool
func (*ParacrossMinerAction) GetStatus ¶
func (m *ParacrossMinerAction) GetStatus() *ParacrossNodeStatus
func (*ParacrossMinerAction) ProtoMessage ¶
func (*ParacrossMinerAction) ProtoMessage()
func (*ParacrossMinerAction) Reset ¶
func (m *ParacrossMinerAction) Reset()
func (*ParacrossMinerAction) String ¶
func (m *ParacrossMinerAction) String() string
func (*ParacrossMinerAction) XXX_DiscardUnknown ¶
func (m *ParacrossMinerAction) XXX_DiscardUnknown()
func (*ParacrossMinerAction) XXX_Marshal ¶
func (m *ParacrossMinerAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParacrossMinerAction) XXX_Merge ¶
func (m *ParacrossMinerAction) XXX_Merge(src proto.Message)
func (*ParacrossMinerAction) XXX_Size ¶
func (m *ParacrossMinerAction) XXX_Size() int
func (*ParacrossMinerAction) XXX_Unmarshal ¶
func (m *ParacrossMinerAction) XXX_Unmarshal(b []byte) error
type ParacrossNodeStatus ¶
type ParacrossNodeStatus struct { MainBlockHash []byte `protobuf:"bytes,1,opt,name=mainBlockHash,proto3" json:"mainBlockHash,omitempty"` MainBlockHeight int64 `protobuf:"varint,2,opt,name=mainBlockHeight,proto3" json:"mainBlockHeight,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Height int64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` PreBlockHash []byte `protobuf:"bytes,5,opt,name=preBlockHash,proto3" json:"preBlockHash,omitempty"` BlockHash []byte `protobuf:"bytes,6,opt,name=blockHash,proto3" json:"blockHash,omitempty"` PreStateHash []byte `protobuf:"bytes,7,opt,name=preStateHash,proto3" json:"preStateHash,omitempty"` StateHash []byte `protobuf:"bytes,8,opt,name=stateHash,proto3" json:"stateHash,omitempty"` TxCounts uint32 `protobuf:"varint,9,opt,name=txCounts,proto3" json:"txCounts,omitempty"` TxResult []byte `protobuf:"bytes,10,opt,name=txResult,proto3" json:"txResult,omitempty"` TxHashs [][]byte `protobuf:"bytes,11,rep,name=txHashs,proto3" json:"txHashs,omitempty"` CrossTxResult []byte `protobuf:"bytes,12,opt,name=crossTxResult,proto3" json:"crossTxResult,omitempty"` CrossTxHashs [][]byte `protobuf:"bytes,13,rep,name=crossTxHashs,proto3" json:"crossTxHashs,omitempty"` NonCommitTxCounts uint32 `protobuf:"varint,14,opt,name=nonCommitTxCounts,proto3" json:"nonCommitTxCounts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
action
func (*ParacrossNodeStatus) Descriptor ¶
func (*ParacrossNodeStatus) Descriptor() ([]byte, []int)
func (*ParacrossNodeStatus) GetBlockHash ¶
func (m *ParacrossNodeStatus) GetBlockHash() []byte
func (*ParacrossNodeStatus) GetCrossTxHashs ¶
func (m *ParacrossNodeStatus) GetCrossTxHashs() [][]byte
func (*ParacrossNodeStatus) GetCrossTxResult ¶
func (m *ParacrossNodeStatus) GetCrossTxResult() []byte
func (*ParacrossNodeStatus) GetHeight ¶
func (m *ParacrossNodeStatus) GetHeight() int64
func (*ParacrossNodeStatus) GetMainBlockHash ¶
func (m *ParacrossNodeStatus) GetMainBlockHash() []byte
func (*ParacrossNodeStatus) GetMainBlockHeight ¶
func (m *ParacrossNodeStatus) GetMainBlockHeight() int64
func (*ParacrossNodeStatus) GetNonCommitTxCounts ¶
func (m *ParacrossNodeStatus) GetNonCommitTxCounts() uint32
func (*ParacrossNodeStatus) GetPreBlockHash ¶
func (m *ParacrossNodeStatus) GetPreBlockHash() []byte
func (*ParacrossNodeStatus) GetPreStateHash ¶
func (m *ParacrossNodeStatus) GetPreStateHash() []byte
func (*ParacrossNodeStatus) GetStateHash ¶
func (m *ParacrossNodeStatus) GetStateHash() []byte
func (*ParacrossNodeStatus) GetTitle ¶
func (m *ParacrossNodeStatus) GetTitle() string
func (*ParacrossNodeStatus) GetTxCounts ¶
func (m *ParacrossNodeStatus) GetTxCounts() uint32
func (*ParacrossNodeStatus) GetTxHashs ¶
func (m *ParacrossNodeStatus) GetTxHashs() [][]byte
func (*ParacrossNodeStatus) GetTxResult ¶
func (m *ParacrossNodeStatus) GetTxResult() []byte
func (*ParacrossNodeStatus) ProtoMessage ¶
func (*ParacrossNodeStatus) ProtoMessage()
func (*ParacrossNodeStatus) Reset ¶
func (m *ParacrossNodeStatus) Reset()
func (*ParacrossNodeStatus) String ¶
func (m *ParacrossNodeStatus) String() string
func (*ParacrossNodeStatus) XXX_DiscardUnknown ¶
func (m *ParacrossNodeStatus) XXX_DiscardUnknown()
func (*ParacrossNodeStatus) XXX_Marshal ¶
func (m *ParacrossNodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParacrossNodeStatus) XXX_Merge ¶
func (m *ParacrossNodeStatus) XXX_Merge(src proto.Message)
func (*ParacrossNodeStatus) XXX_Size ¶
func (m *ParacrossNodeStatus) XXX_Size() int
func (*ParacrossNodeStatus) XXX_Unmarshal ¶
func (m *ParacrossNodeStatus) XXX_Unmarshal(b []byte) error
type ParacrossServer ¶
type ParacrossServer interface { GetTitle(context.Context, *types.ReqString) (*ParacrossConsensusStatus, error) ListTitles(context.Context, *types.ReqNil) (*RespParacrossTitles, error) GetDoneTitleHeight(context.Context, *ReqParacrossTitleHeight) (*RespParacrossDone, error) GetTitleHeight(context.Context, *ReqParacrossTitleHeight) (*ParacrossHeightStatusRsp, error) GetAssetTxResult(context.Context, *types.ReqHash) (*ParacrossAsset, error) IsSync(context.Context, *types.ReqNil) (*types.IsCaughtUp, error) }
ParacrossServer is the server API for Paracross service.
type ParacrossStatus ¶
type ParacrossStatus struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` BlockHash []byte `protobuf:"bytes,3,opt,name=blockHash,proto3" json:"blockHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParacrossStatus) Descriptor ¶
func (*ParacrossStatus) Descriptor() ([]byte, []int)
func (*ParacrossStatus) GetBlockHash ¶
func (m *ParacrossStatus) GetBlockHash() []byte
func (*ParacrossStatus) GetHeight ¶
func (m *ParacrossStatus) GetHeight() int64
func (*ParacrossStatus) GetTitle ¶
func (m *ParacrossStatus) GetTitle() string
func (*ParacrossStatus) ProtoMessage ¶
func (*ParacrossStatus) ProtoMessage()
func (*ParacrossStatus) Reset ¶
func (m *ParacrossStatus) Reset()
func (*ParacrossStatus) String ¶
func (m *ParacrossStatus) String() string
func (*ParacrossStatus) XXX_DiscardUnknown ¶
func (m *ParacrossStatus) XXX_DiscardUnknown()
func (*ParacrossStatus) XXX_Marshal ¶
func (m *ParacrossStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParacrossStatus) XXX_Merge ¶
func (m *ParacrossStatus) XXX_Merge(src proto.Message)
func (*ParacrossStatus) XXX_Size ¶
func (m *ParacrossStatus) XXX_Size() int
func (*ParacrossStatus) XXX_Unmarshal ¶
func (m *ParacrossStatus) XXX_Unmarshal(b []byte) error
type ParacrossStatusDetails ¶
type ParacrossStatusDetails struct { Addrs []string `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"` BlockHash [][]byte `protobuf:"bytes,2,rep,name=blockHash,proto3" json:"blockHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
stateDB
func (*ParacrossStatusDetails) Descriptor ¶
func (*ParacrossStatusDetails) Descriptor() ([]byte, []int)
func (*ParacrossStatusDetails) GetAddrs ¶
func (m *ParacrossStatusDetails) GetAddrs() []string
func (*ParacrossStatusDetails) GetBlockHash ¶
func (m *ParacrossStatusDetails) GetBlockHash() [][]byte
func (*ParacrossStatusDetails) ProtoMessage ¶
func (*ParacrossStatusDetails) ProtoMessage()
func (*ParacrossStatusDetails) Reset ¶
func (m *ParacrossStatusDetails) Reset()
func (*ParacrossStatusDetails) String ¶
func (m *ParacrossStatusDetails) String() string
func (*ParacrossStatusDetails) XXX_DiscardUnknown ¶
func (m *ParacrossStatusDetails) XXX_DiscardUnknown()
func (*ParacrossStatusDetails) XXX_Marshal ¶
func (m *ParacrossStatusDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParacrossStatusDetails) XXX_Merge ¶
func (m *ParacrossStatusDetails) XXX_Merge(src proto.Message)
func (*ParacrossStatusDetails) XXX_Size ¶
func (m *ParacrossStatusDetails) XXX_Size() int
func (*ParacrossStatusDetails) XXX_Unmarshal ¶
func (m *ParacrossStatusDetails) XXX_Unmarshal(b []byte) error
type ParacrossTx ¶
type ParacrossTx struct { TxHash string `protobuf:"bytes,1,opt,name=txHash,proto3" json:"txHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
LocalDB title-height-addr : txHash
func (*ParacrossTx) Descriptor ¶
func (*ParacrossTx) Descriptor() ([]byte, []int)
func (*ParacrossTx) GetTxHash ¶
func (m *ParacrossTx) GetTxHash() string
func (*ParacrossTx) ProtoMessage ¶
func (*ParacrossTx) ProtoMessage()
func (*ParacrossTx) Reset ¶
func (m *ParacrossTx) Reset()
func (*ParacrossTx) String ¶
func (m *ParacrossTx) String() string
func (*ParacrossTx) XXX_DiscardUnknown ¶
func (m *ParacrossTx) XXX_DiscardUnknown()
func (*ParacrossTx) XXX_Marshal ¶
func (m *ParacrossTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParacrossTx) XXX_Merge ¶
func (m *ParacrossTx) XXX_Merge(src proto.Message)
func (*ParacrossTx) XXX_Size ¶
func (m *ParacrossTx) XXX_Size() int
func (*ParacrossTx) XXX_Unmarshal ¶
func (m *ParacrossTx) XXX_Unmarshal(b []byte) error
type ParacrossType ¶
type ParacrossType struct {
types.ExecTypeBase
}
ParacrossType base paracross type
func (ParacrossType) CreateRawTransferTx ¶
func (p ParacrossType) CreateRawTransferTx(action string, param json.RawMessage) (*types.Transaction, error)
CreateRawTransferTx create paracross asset transfer tx with transfer and withdraw
func (ParacrossType) CreateTx ¶
func (p ParacrossType) CreateTx(action string, message json.RawMessage) (*types.Transaction, error)
CreateTx paracross create tx by different action
func (*ParacrossType) GetLogMap ¶
func (p *ParacrossType) GetLogMap() map[int64]*types.LogInfo
GetLogMap get receipt log map
func (*ParacrossType) GetPayload ¶
func (p *ParacrossType) GetPayload() types.Message
GetPayload paracross get action payload
func (*ParacrossType) GetTypeMap ¶
func (p *ParacrossType) GetTypeMap() map[string]int32
GetTypeMap get action type
type ReceiptParaNodeAddrStatUpdate ¶
type ReceiptParaNodeAddrStatUpdate struct { FromAddr string `protobuf:"bytes,1,opt,name=fromAddr,proto3" json:"fromAddr,omitempty"` Prev *ParaNodeAddrIdStatus `protobuf:"bytes,2,opt,name=prev,proto3" json:"prev,omitempty"` Current *ParaNodeAddrIdStatus `protobuf:"bytes,3,opt,name=current,proto3" json:"current,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiptParaNodeAddrStatUpdate) Descriptor ¶
func (*ReceiptParaNodeAddrStatUpdate) Descriptor() ([]byte, []int)
func (*ReceiptParaNodeAddrStatUpdate) GetCurrent ¶
func (m *ReceiptParaNodeAddrStatUpdate) GetCurrent() *ParaNodeAddrIdStatus
func (*ReceiptParaNodeAddrStatUpdate) GetFromAddr ¶
func (m *ReceiptParaNodeAddrStatUpdate) GetFromAddr() string
func (*ReceiptParaNodeAddrStatUpdate) GetPrev ¶
func (m *ReceiptParaNodeAddrStatUpdate) GetPrev() *ParaNodeAddrIdStatus
func (*ReceiptParaNodeAddrStatUpdate) ProtoMessage ¶
func (*ReceiptParaNodeAddrStatUpdate) ProtoMessage()
func (*ReceiptParaNodeAddrStatUpdate) Reset ¶
func (m *ReceiptParaNodeAddrStatUpdate) Reset()
func (*ReceiptParaNodeAddrStatUpdate) String ¶
func (m *ReceiptParaNodeAddrStatUpdate) String() string
func (*ReceiptParaNodeAddrStatUpdate) XXX_DiscardUnknown ¶
func (m *ReceiptParaNodeAddrStatUpdate) XXX_DiscardUnknown()
func (*ReceiptParaNodeAddrStatUpdate) XXX_Marshal ¶
func (m *ReceiptParaNodeAddrStatUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptParaNodeAddrStatUpdate) XXX_Merge ¶
func (m *ReceiptParaNodeAddrStatUpdate) XXX_Merge(src proto.Message)
func (*ReceiptParaNodeAddrStatUpdate) XXX_Size ¶
func (m *ReceiptParaNodeAddrStatUpdate) XXX_Size() int
func (*ReceiptParaNodeAddrStatUpdate) XXX_Unmarshal ¶
func (m *ReceiptParaNodeAddrStatUpdate) XXX_Unmarshal(b []byte) error
type ReceiptParaNodeConfig ¶
type ReceiptParaNodeConfig struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Config *ParaNodeAddrConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` Prev *ParaNodeIdStatus `protobuf:"bytes,3,opt,name=prev,proto3" json:"prev,omitempty"` Current *ParaNodeIdStatus `protobuf:"bytes,4,opt,name=current,proto3" json:"current,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiptParaNodeConfig) Descriptor ¶
func (*ReceiptParaNodeConfig) Descriptor() ([]byte, []int)
func (*ReceiptParaNodeConfig) GetAddr ¶
func (m *ReceiptParaNodeConfig) GetAddr() string
func (*ReceiptParaNodeConfig) GetConfig ¶
func (m *ReceiptParaNodeConfig) GetConfig() *ParaNodeAddrConfig
func (*ReceiptParaNodeConfig) GetCurrent ¶
func (m *ReceiptParaNodeConfig) GetCurrent() *ParaNodeIdStatus
func (*ReceiptParaNodeConfig) GetPrev ¶
func (m *ReceiptParaNodeConfig) GetPrev() *ParaNodeIdStatus
func (*ReceiptParaNodeConfig) ProtoMessage ¶
func (*ReceiptParaNodeConfig) ProtoMessage()
func (*ReceiptParaNodeConfig) Reset ¶
func (m *ReceiptParaNodeConfig) Reset()
func (*ReceiptParaNodeConfig) String ¶
func (m *ReceiptParaNodeConfig) String() string
func (*ReceiptParaNodeConfig) XXX_DiscardUnknown ¶
func (m *ReceiptParaNodeConfig) XXX_DiscardUnknown()
func (*ReceiptParaNodeConfig) XXX_Marshal ¶
func (m *ReceiptParaNodeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptParaNodeConfig) XXX_Merge ¶
func (m *ReceiptParaNodeConfig) XXX_Merge(src proto.Message)
func (*ReceiptParaNodeConfig) XXX_Size ¶
func (m *ReceiptParaNodeConfig) XXX_Size() int
func (*ReceiptParaNodeConfig) XXX_Unmarshal ¶
func (m *ReceiptParaNodeConfig) XXX_Unmarshal(b []byte) error
type ReceiptParaNodeGroupConfig ¶
type ReceiptParaNodeGroupConfig struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Config *ParaNodeGroupConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` Prev *ParaNodeGroupStatus `protobuf:"bytes,3,opt,name=prev,proto3" json:"prev,omitempty"` Current *ParaNodeGroupStatus `protobuf:"bytes,4,opt,name=current,proto3" json:"current,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiptParaNodeGroupConfig) Descriptor ¶
func (*ReceiptParaNodeGroupConfig) Descriptor() ([]byte, []int)
func (*ReceiptParaNodeGroupConfig) GetAddr ¶
func (m *ReceiptParaNodeGroupConfig) GetAddr() string
func (*ReceiptParaNodeGroupConfig) GetConfig ¶
func (m *ReceiptParaNodeGroupConfig) GetConfig() *ParaNodeGroupConfig
func (*ReceiptParaNodeGroupConfig) GetCurrent ¶
func (m *ReceiptParaNodeGroupConfig) GetCurrent() *ParaNodeGroupStatus
func (*ReceiptParaNodeGroupConfig) GetPrev ¶
func (m *ReceiptParaNodeGroupConfig) GetPrev() *ParaNodeGroupStatus
func (*ReceiptParaNodeGroupConfig) ProtoMessage ¶
func (*ReceiptParaNodeGroupConfig) ProtoMessage()
func (*ReceiptParaNodeGroupConfig) Reset ¶
func (m *ReceiptParaNodeGroupConfig) Reset()
func (*ReceiptParaNodeGroupConfig) String ¶
func (m *ReceiptParaNodeGroupConfig) String() string
func (*ReceiptParaNodeGroupConfig) XXX_DiscardUnknown ¶
func (m *ReceiptParaNodeGroupConfig) XXX_DiscardUnknown()
func (*ReceiptParaNodeGroupConfig) XXX_Marshal ¶
func (m *ReceiptParaNodeGroupConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptParaNodeGroupConfig) XXX_Merge ¶
func (m *ReceiptParaNodeGroupConfig) XXX_Merge(src proto.Message)
func (*ReceiptParaNodeGroupConfig) XXX_Size ¶
func (m *ReceiptParaNodeGroupConfig) XXX_Size() int
func (*ReceiptParaNodeGroupConfig) XXX_Unmarshal ¶
func (m *ReceiptParaNodeGroupConfig) XXX_Unmarshal(b []byte) error
type ReceiptParaNodeVoteDone ¶
type ReceiptParaNodeVoteDone struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` TargetAddr string `protobuf:"bytes,3,opt,name=targetAddr,proto3" json:"targetAddr,omitempty"` TotalNodes int32 `protobuf:"varint,4,opt,name=totalNodes,proto3" json:"totalNodes,omitempty"` TotalVote int32 `protobuf:"varint,5,opt,name=totalVote,proto3" json:"totalVote,omitempty"` MostVote int32 `protobuf:"varint,6,opt,name=mostVote,proto3" json:"mostVote,omitempty"` VoteRst string `protobuf:"bytes,7,opt,name=voteRst,proto3" json:"voteRst,omitempty"` DoneStatus int32 `protobuf:"varint,8,opt,name=doneStatus,proto3" json:"doneStatus,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiptParaNodeVoteDone) Descriptor ¶
func (*ReceiptParaNodeVoteDone) Descriptor() ([]byte, []int)
func (*ReceiptParaNodeVoteDone) GetDoneStatus ¶
func (m *ReceiptParaNodeVoteDone) GetDoneStatus() int32
func (*ReceiptParaNodeVoteDone) GetId ¶
func (m *ReceiptParaNodeVoteDone) GetId() string
func (*ReceiptParaNodeVoteDone) GetMostVote ¶
func (m *ReceiptParaNodeVoteDone) GetMostVote() int32
func (*ReceiptParaNodeVoteDone) GetTargetAddr ¶
func (m *ReceiptParaNodeVoteDone) GetTargetAddr() string
func (*ReceiptParaNodeVoteDone) GetTitle ¶
func (m *ReceiptParaNodeVoteDone) GetTitle() string
func (*ReceiptParaNodeVoteDone) GetTotalNodes ¶
func (m *ReceiptParaNodeVoteDone) GetTotalNodes() int32
func (*ReceiptParaNodeVoteDone) GetTotalVote ¶
func (m *ReceiptParaNodeVoteDone) GetTotalVote() int32
func (*ReceiptParaNodeVoteDone) GetVoteRst ¶
func (m *ReceiptParaNodeVoteDone) GetVoteRst() string
func (*ReceiptParaNodeVoteDone) ProtoMessage ¶
func (*ReceiptParaNodeVoteDone) ProtoMessage()
func (*ReceiptParaNodeVoteDone) Reset ¶
func (m *ReceiptParaNodeVoteDone) Reset()
func (*ReceiptParaNodeVoteDone) String ¶
func (m *ReceiptParaNodeVoteDone) String() string
func (*ReceiptParaNodeVoteDone) XXX_DiscardUnknown ¶
func (m *ReceiptParaNodeVoteDone) XXX_DiscardUnknown()
func (*ReceiptParaNodeVoteDone) XXX_Marshal ¶
func (m *ReceiptParaNodeVoteDone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptParaNodeVoteDone) XXX_Merge ¶
func (m *ReceiptParaNodeVoteDone) XXX_Merge(src proto.Message)
func (*ReceiptParaNodeVoteDone) XXX_Size ¶
func (m *ReceiptParaNodeVoteDone) XXX_Size() int
func (*ReceiptParaNodeVoteDone) XXX_Unmarshal ¶
func (m *ReceiptParaNodeVoteDone) XXX_Unmarshal(b []byte) error
type ReceiptParacrossCommit ¶
type ReceiptParacrossCommit struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Status *ParacrossNodeStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Prev *ParacrossHeightStatus `protobuf:"bytes,3,opt,name=prev,proto3" json:"prev,omitempty"` Current *ParacrossHeightStatus `protobuf:"bytes,4,opt,name=current,proto3" json:"current,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
logs
func (*ReceiptParacrossCommit) Descriptor ¶
func (*ReceiptParacrossCommit) Descriptor() ([]byte, []int)
func (*ReceiptParacrossCommit) GetAddr ¶
func (m *ReceiptParacrossCommit) GetAddr() string
func (*ReceiptParacrossCommit) GetCurrent ¶
func (m *ReceiptParacrossCommit) GetCurrent() *ParacrossHeightStatus
func (*ReceiptParacrossCommit) GetPrev ¶
func (m *ReceiptParacrossCommit) GetPrev() *ParacrossHeightStatus
func (*ReceiptParacrossCommit) GetStatus ¶
func (m *ReceiptParacrossCommit) GetStatus() *ParacrossNodeStatus
func (*ReceiptParacrossCommit) ProtoMessage ¶
func (*ReceiptParacrossCommit) ProtoMessage()
func (*ReceiptParacrossCommit) Reset ¶
func (m *ReceiptParacrossCommit) Reset()
func (*ReceiptParacrossCommit) String ¶
func (m *ReceiptParacrossCommit) String() string
func (*ReceiptParacrossCommit) XXX_DiscardUnknown ¶
func (m *ReceiptParacrossCommit) XXX_DiscardUnknown()
func (*ReceiptParacrossCommit) XXX_Marshal ¶
func (m *ReceiptParacrossCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptParacrossCommit) XXX_Merge ¶
func (m *ReceiptParacrossCommit) XXX_Merge(src proto.Message)
func (*ReceiptParacrossCommit) XXX_Size ¶
func (m *ReceiptParacrossCommit) XXX_Size() int
func (*ReceiptParacrossCommit) XXX_Unmarshal ¶
func (m *ReceiptParacrossCommit) XXX_Unmarshal(b []byte) error
type ReceiptParacrossDone ¶
type ReceiptParacrossDone struct { TotalNodes int32 `protobuf:"varint,1,opt,name=totalNodes,proto3" json:"totalNodes,omitempty"` TotalCommit int32 `protobuf:"varint,2,opt,name=totalCommit,proto3" json:"totalCommit,omitempty"` MostSameCommit int32 `protobuf:"varint,3,opt,name=mostSameCommit,proto3" json:"mostSameCommit,omitempty"` Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` StateHash []byte `protobuf:"bytes,6,opt,name=stateHash,proto3" json:"stateHash,omitempty"` TxCounts uint32 `protobuf:"varint,7,opt,name=txCounts,proto3" json:"txCounts,omitempty"` TxResult []byte `protobuf:"bytes,8,opt,name=txResult,proto3" json:"txResult,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiptParacrossDone) Descriptor ¶
func (*ReceiptParacrossDone) Descriptor() ([]byte, []int)
func (*ReceiptParacrossDone) GetHeight ¶
func (m *ReceiptParacrossDone) GetHeight() int64
func (*ReceiptParacrossDone) GetMostSameCommit ¶
func (m *ReceiptParacrossDone) GetMostSameCommit() int32
func (*ReceiptParacrossDone) GetStateHash ¶
func (m *ReceiptParacrossDone) GetStateHash() []byte
func (*ReceiptParacrossDone) GetTitle ¶
func (m *ReceiptParacrossDone) GetTitle() string
func (*ReceiptParacrossDone) GetTotalCommit ¶
func (m *ReceiptParacrossDone) GetTotalCommit() int32
func (*ReceiptParacrossDone) GetTotalNodes ¶
func (m *ReceiptParacrossDone) GetTotalNodes() int32
func (*ReceiptParacrossDone) GetTxCounts ¶
func (m *ReceiptParacrossDone) GetTxCounts() uint32
func (*ReceiptParacrossDone) GetTxResult ¶
func (m *ReceiptParacrossDone) GetTxResult() []byte
func (*ReceiptParacrossDone) ProtoMessage ¶
func (*ReceiptParacrossDone) ProtoMessage()
func (*ReceiptParacrossDone) Reset ¶
func (m *ReceiptParacrossDone) Reset()
func (*ReceiptParacrossDone) String ¶
func (m *ReceiptParacrossDone) String() string
func (*ReceiptParacrossDone) XXX_DiscardUnknown ¶
func (m *ReceiptParacrossDone) XXX_DiscardUnknown()
func (*ReceiptParacrossDone) XXX_Marshal ¶
func (m *ReceiptParacrossDone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptParacrossDone) XXX_Merge ¶
func (m *ReceiptParacrossDone) XXX_Merge(src proto.Message)
func (*ReceiptParacrossDone) XXX_Size ¶
func (m *ReceiptParacrossDone) XXX_Size() int
func (*ReceiptParacrossDone) XXX_Unmarshal ¶
func (m *ReceiptParacrossDone) XXX_Unmarshal(b []byte) error
type ReceiptParacrossMiner ¶
type ReceiptParacrossMiner struct { Status *ParacrossNodeStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiptParacrossMiner) Descriptor ¶
func (*ReceiptParacrossMiner) Descriptor() ([]byte, []int)
func (*ReceiptParacrossMiner) GetStatus ¶
func (m *ReceiptParacrossMiner) GetStatus() *ParacrossNodeStatus
func (*ReceiptParacrossMiner) ProtoMessage ¶
func (*ReceiptParacrossMiner) ProtoMessage()
func (*ReceiptParacrossMiner) Reset ¶
func (m *ReceiptParacrossMiner) Reset()
func (*ReceiptParacrossMiner) String ¶
func (m *ReceiptParacrossMiner) String() string
func (*ReceiptParacrossMiner) XXX_DiscardUnknown ¶
func (m *ReceiptParacrossMiner) XXX_DiscardUnknown()
func (*ReceiptParacrossMiner) XXX_Marshal ¶
func (m *ReceiptParacrossMiner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptParacrossMiner) XXX_Merge ¶
func (m *ReceiptParacrossMiner) XXX_Merge(src proto.Message)
func (*ReceiptParacrossMiner) XXX_Size ¶
func (m *ReceiptParacrossMiner) XXX_Size() int
func (*ReceiptParacrossMiner) XXX_Unmarshal ¶
func (m *ReceiptParacrossMiner) XXX_Unmarshal(b []byte) error
type ReceiptParacrossRecord ¶
type ReceiptParacrossRecord struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Status *ParacrossNodeStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiptParacrossRecord) Descriptor ¶
func (*ReceiptParacrossRecord) Descriptor() ([]byte, []int)
func (*ReceiptParacrossRecord) GetAddr ¶
func (m *ReceiptParacrossRecord) GetAddr() string
func (*ReceiptParacrossRecord) GetStatus ¶
func (m *ReceiptParacrossRecord) GetStatus() *ParacrossNodeStatus
func (*ReceiptParacrossRecord) ProtoMessage ¶
func (*ReceiptParacrossRecord) ProtoMessage()
func (*ReceiptParacrossRecord) Reset ¶
func (m *ReceiptParacrossRecord) Reset()
func (*ReceiptParacrossRecord) String ¶
func (m *ReceiptParacrossRecord) String() string
func (*ReceiptParacrossRecord) XXX_DiscardUnknown ¶
func (m *ReceiptParacrossRecord) XXX_DiscardUnknown()
func (*ReceiptParacrossRecord) XXX_Marshal ¶
func (m *ReceiptParacrossRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptParacrossRecord) XXX_Merge ¶
func (m *ReceiptParacrossRecord) XXX_Merge(src proto.Message)
func (*ReceiptParacrossRecord) XXX_Size ¶
func (m *ReceiptParacrossRecord) XXX_Size() int
func (*ReceiptParacrossRecord) XXX_Unmarshal ¶
func (m *ReceiptParacrossRecord) XXX_Unmarshal(b []byte) error
type ReqParacrossNodeInfo ¶
type ReqParacrossNodeInfo struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Addr string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"` Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
node query
func (*ReqParacrossNodeInfo) Descriptor ¶
func (*ReqParacrossNodeInfo) Descriptor() ([]byte, []int)
func (*ReqParacrossNodeInfo) GetAddr ¶
func (m *ReqParacrossNodeInfo) GetAddr() string
func (*ReqParacrossNodeInfo) GetId ¶
func (m *ReqParacrossNodeInfo) GetId() string
func (*ReqParacrossNodeInfo) GetStatus ¶
func (m *ReqParacrossNodeInfo) GetStatus() int32
func (*ReqParacrossNodeInfo) GetTitle ¶
func (m *ReqParacrossNodeInfo) GetTitle() string
func (*ReqParacrossNodeInfo) ProtoMessage ¶
func (*ReqParacrossNodeInfo) ProtoMessage()
func (*ReqParacrossNodeInfo) Reset ¶
func (m *ReqParacrossNodeInfo) Reset()
func (*ReqParacrossNodeInfo) String ¶
func (m *ReqParacrossNodeInfo) String() string
func (*ReqParacrossNodeInfo) XXX_DiscardUnknown ¶
func (m *ReqParacrossNodeInfo) XXX_DiscardUnknown()
func (*ReqParacrossNodeInfo) XXX_Marshal ¶
func (m *ReqParacrossNodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqParacrossNodeInfo) XXX_Merge ¶
func (m *ReqParacrossNodeInfo) XXX_Merge(src proto.Message)
func (*ReqParacrossNodeInfo) XXX_Size ¶
func (m *ReqParacrossNodeInfo) XXX_Size() int
func (*ReqParacrossNodeInfo) XXX_Unmarshal ¶
func (m *ReqParacrossNodeInfo) XXX_Unmarshal(b []byte) error
type ReqParacrossTitleHash ¶
type ReqParacrossTitleHash struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` BlockHash []byte `protobuf:"bytes,2,opt,name=blockHash,proto3" json:"blockHash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqParacrossTitleHash) Descriptor ¶
func (*ReqParacrossTitleHash) Descriptor() ([]byte, []int)
func (*ReqParacrossTitleHash) GetBlockHash ¶
func (m *ReqParacrossTitleHash) GetBlockHash() []byte
func (*ReqParacrossTitleHash) GetTitle ¶
func (m *ReqParacrossTitleHash) GetTitle() string
func (*ReqParacrossTitleHash) ProtoMessage ¶
func (*ReqParacrossTitleHash) ProtoMessage()
func (*ReqParacrossTitleHash) Reset ¶
func (m *ReqParacrossTitleHash) Reset()
func (*ReqParacrossTitleHash) String ¶
func (m *ReqParacrossTitleHash) String() string
func (*ReqParacrossTitleHash) XXX_DiscardUnknown ¶
func (m *ReqParacrossTitleHash) XXX_DiscardUnknown()
func (*ReqParacrossTitleHash) XXX_Marshal ¶
func (m *ReqParacrossTitleHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqParacrossTitleHash) XXX_Merge ¶
func (m *ReqParacrossTitleHash) XXX_Merge(src proto.Message)
func (*ReqParacrossTitleHash) XXX_Size ¶
func (m *ReqParacrossTitleHash) XXX_Size() int
func (*ReqParacrossTitleHash) XXX_Unmarshal ¶
func (m *ReqParacrossTitleHash) XXX_Unmarshal(b []byte) error
type ReqParacrossTitleHeight ¶
type ReqParacrossTitleHeight struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
query
func (*ReqParacrossTitleHeight) Descriptor ¶
func (*ReqParacrossTitleHeight) Descriptor() ([]byte, []int)
func (*ReqParacrossTitleHeight) GetHeight ¶
func (m *ReqParacrossTitleHeight) GetHeight() int64
func (*ReqParacrossTitleHeight) GetTitle ¶
func (m *ReqParacrossTitleHeight) GetTitle() string
func (*ReqParacrossTitleHeight) ProtoMessage ¶
func (*ReqParacrossTitleHeight) ProtoMessage()
func (*ReqParacrossTitleHeight) Reset ¶
func (m *ReqParacrossTitleHeight) Reset()
func (*ReqParacrossTitleHeight) String ¶
func (m *ReqParacrossTitleHeight) String() string
func (*ReqParacrossTitleHeight) XXX_DiscardUnknown ¶
func (m *ReqParacrossTitleHeight) XXX_DiscardUnknown()
func (*ReqParacrossTitleHeight) XXX_Marshal ¶
func (m *ReqParacrossTitleHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqParacrossTitleHeight) XXX_Merge ¶
func (m *ReqParacrossTitleHeight) XXX_Merge(src proto.Message)
func (*ReqParacrossTitleHeight) XXX_Size ¶
func (m *ReqParacrossTitleHeight) XXX_Size() int
func (*ReqParacrossTitleHeight) XXX_Unmarshal ¶
func (m *ReqParacrossTitleHeight) XXX_Unmarshal(b []byte) error
type RespParacrossDone ¶
type RespParacrossDone struct { TotalNodes int32 `protobuf:"varint,1,opt,name=totalNodes,proto3" json:"totalNodes,omitempty"` TotalCommit int32 `protobuf:"varint,2,opt,name=totalCommit,proto3" json:"totalCommit,omitempty"` MostSameCommit int32 `protobuf:"varint,3,opt,name=mostSameCommit,proto3" json:"mostSameCommit,omitempty"` Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` StateHash string `protobuf:"bytes,6,opt,name=stateHash,proto3" json:"stateHash,omitempty"` TxCounts uint32 `protobuf:"varint,7,opt,name=txCounts,proto3" json:"txCounts,omitempty"` TxResult string `protobuf:"bytes,8,opt,name=txResult,proto3" json:"txResult,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RespParacrossDone) Descriptor ¶
func (*RespParacrossDone) Descriptor() ([]byte, []int)
func (*RespParacrossDone) GetHeight ¶
func (m *RespParacrossDone) GetHeight() int64
func (*RespParacrossDone) GetMostSameCommit ¶
func (m *RespParacrossDone) GetMostSameCommit() int32
func (*RespParacrossDone) GetStateHash ¶
func (m *RespParacrossDone) GetStateHash() string
func (*RespParacrossDone) GetTitle ¶
func (m *RespParacrossDone) GetTitle() string
func (*RespParacrossDone) GetTotalCommit ¶
func (m *RespParacrossDone) GetTotalCommit() int32
func (*RespParacrossDone) GetTotalNodes ¶
func (m *RespParacrossDone) GetTotalNodes() int32
func (*RespParacrossDone) GetTxCounts ¶
func (m *RespParacrossDone) GetTxCounts() uint32
func (*RespParacrossDone) GetTxResult ¶
func (m *RespParacrossDone) GetTxResult() string
func (*RespParacrossDone) ProtoMessage ¶
func (*RespParacrossDone) ProtoMessage()
func (*RespParacrossDone) Reset ¶
func (m *RespParacrossDone) Reset()
func (*RespParacrossDone) String ¶
func (m *RespParacrossDone) String() string
func (*RespParacrossDone) XXX_DiscardUnknown ¶
func (m *RespParacrossDone) XXX_DiscardUnknown()
func (*RespParacrossDone) XXX_Marshal ¶
func (m *RespParacrossDone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RespParacrossDone) XXX_Merge ¶
func (m *RespParacrossDone) XXX_Merge(src proto.Message)
func (*RespParacrossDone) XXX_Size ¶
func (m *RespParacrossDone) XXX_Size() int
func (*RespParacrossDone) XXX_Unmarshal ¶
func (m *RespParacrossDone) XXX_Unmarshal(b []byte) error
type RespParacrossNodeAddrs ¶
type RespParacrossNodeAddrs struct { Ids []*ParaNodeIdStatus `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RespParacrossNodeAddrs) Descriptor ¶
func (*RespParacrossNodeAddrs) Descriptor() ([]byte, []int)
func (*RespParacrossNodeAddrs) GetIds ¶
func (m *RespParacrossNodeAddrs) GetIds() []*ParaNodeIdStatus
func (*RespParacrossNodeAddrs) ProtoMessage ¶
func (*RespParacrossNodeAddrs) ProtoMessage()
func (*RespParacrossNodeAddrs) Reset ¶
func (m *RespParacrossNodeAddrs) Reset()
func (*RespParacrossNodeAddrs) String ¶
func (m *RespParacrossNodeAddrs) String() string
func (*RespParacrossNodeAddrs) XXX_DiscardUnknown ¶
func (m *RespParacrossNodeAddrs) XXX_DiscardUnknown()
func (*RespParacrossNodeAddrs) XXX_Marshal ¶
func (m *RespParacrossNodeAddrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RespParacrossNodeAddrs) XXX_Merge ¶
func (m *RespParacrossNodeAddrs) XXX_Merge(src proto.Message)
func (*RespParacrossNodeAddrs) XXX_Size ¶
func (m *RespParacrossNodeAddrs) XXX_Size() int
func (*RespParacrossNodeAddrs) XXX_Unmarshal ¶
func (m *RespParacrossNodeAddrs) XXX_Unmarshal(b []byte) error
type RespParacrossNodeGroups ¶
type RespParacrossNodeGroups struct { Ids []*ParaNodeGroupStatus `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RespParacrossNodeGroups) Descriptor ¶
func (*RespParacrossNodeGroups) Descriptor() ([]byte, []int)
func (*RespParacrossNodeGroups) GetIds ¶
func (m *RespParacrossNodeGroups) GetIds() []*ParaNodeGroupStatus
func (*RespParacrossNodeGroups) ProtoMessage ¶
func (*RespParacrossNodeGroups) ProtoMessage()
func (*RespParacrossNodeGroups) Reset ¶
func (m *RespParacrossNodeGroups) Reset()
func (*RespParacrossNodeGroups) String ¶
func (m *RespParacrossNodeGroups) String() string
func (*RespParacrossNodeGroups) XXX_DiscardUnknown ¶
func (m *RespParacrossNodeGroups) XXX_DiscardUnknown()
func (*RespParacrossNodeGroups) XXX_Marshal ¶
func (m *RespParacrossNodeGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RespParacrossNodeGroups) XXX_Merge ¶
func (m *RespParacrossNodeGroups) XXX_Merge(src proto.Message)
func (*RespParacrossNodeGroups) XXX_Size ¶
func (m *RespParacrossNodeGroups) XXX_Size() int
func (*RespParacrossNodeGroups) XXX_Unmarshal ¶
func (m *RespParacrossNodeGroups) XXX_Unmarshal(b []byte) error
type RespParacrossTitles ¶
type RespParacrossTitles struct { Titles []*RespParacrossDone `protobuf:"bytes,1,rep,name=titles,proto3" json:"titles,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RespParacrossTitles) Descriptor ¶
func (*RespParacrossTitles) Descriptor() ([]byte, []int)
func (*RespParacrossTitles) GetTitles ¶
func (m *RespParacrossTitles) GetTitles() []*RespParacrossDone
func (*RespParacrossTitles) ProtoMessage ¶
func (*RespParacrossTitles) ProtoMessage()
func (*RespParacrossTitles) Reset ¶
func (m *RespParacrossTitles) Reset()
func (*RespParacrossTitles) String ¶
func (m *RespParacrossTitles) String() string
func (*RespParacrossTitles) XXX_DiscardUnknown ¶
func (m *RespParacrossTitles) XXX_DiscardUnknown()
func (*RespParacrossTitles) XXX_Marshal ¶
func (m *RespParacrossTitles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RespParacrossTitles) XXX_Merge ¶
func (m *RespParacrossTitles) XXX_Merge(src proto.Message)
func (*RespParacrossTitles) XXX_Size ¶
func (m *RespParacrossTitles) XXX_Size() int
func (*RespParacrossTitles) XXX_Unmarshal ¶
func (m *RespParacrossTitles) XXX_Unmarshal(b []byte) error