Documentation ¶
Index ¶
- Constants
- Variables
- func GetTypeFromProtoMsg(msg proto.Message) (uint32, error)
- func TypifyProtoMsg(tp uint32, msg []byte) (proto.Message, error)
- type AccountPb
- func (*AccountPb) Descriptor() ([]byte, []int)
- func (m *AccountPb) GetBalance() []byte
- func (m *AccountPb) GetCodeHash() []byte
- func (m *AccountPb) GetIsCandidate() bool
- func (m *AccountPb) GetNonce() uint64
- func (m *AccountPb) GetRoot() []byte
- func (m *AccountPb) GetVotee() string
- func (m *AccountPb) GetVotingWeight() []byte
- func (*AccountPb) ProtoMessage()
- func (m *AccountPb) Reset()
- func (m *AccountPb) String() string
- func (m *AccountPb) XXX_DiscardUnknown()
- func (m *AccountPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AccountPb) XXX_Merge(src proto.Message)
- func (m *AccountPb) XXX_Size() int
- func (m *AccountPb) XXX_Unmarshal(b []byte) error
- type ActionPb
- func (*ActionPb) Descriptor() ([]byte, []int)
- func (m *ActionPb) GetAction() isActionPb_Action
- func (m *ActionPb) GetClaimFromRewardingFund() *ClaimFromRewardingFund
- func (m *ActionPb) GetCreateDeposit() *CreateDepositPb
- func (m *ActionPb) GetCreatePlumChain() *CreatePlumChainPb
- func (m *ActionPb) GetDepositToRewardingFund() *DepositToRewardingFund
- func (m *ActionPb) GetExecution() *ExecutionPb
- func (m *ActionPb) GetGasLimit() uint64
- func (m *ActionPb) GetGasPrice() []byte
- func (m *ActionPb) GetGrantReward() *GrantReward
- func (m *ActionPb) GetNonce() uint64
- func (m *ActionPb) GetPlumChallengeExit() *PlumChallengeExit
- func (m *ActionPb) GetPlumCreateDeposit() *PlumCreateDepositPb
- func (m *ActionPb) GetPlumFinalizeExit() *PlumFinalizeExit
- func (m *ActionPb) GetPlumPutBlock() *PlumPutBlockPb
- func (m *ActionPb) GetPlumResponseChallengeExit() *PlumResponseChallengeExit
- func (m *ActionPb) GetPlumSettleDeposit() *PlumSettleDepositPb
- func (m *ActionPb) GetPlumStartExit() *PlumStartExitPb
- func (m *ActionPb) GetPlumTransfer() *PlumTransferPb
- func (m *ActionPb) GetPutBlock() *PutBlockPb
- func (m *ActionPb) GetSender() string
- func (m *ActionPb) GetSenderPubKey() []byte
- func (m *ActionPb) GetSetReward() *SetReward
- func (m *ActionPb) GetSettleDeposit() *SettleDepositPb
- func (m *ActionPb) GetSignature() []byte
- func (m *ActionPb) GetStartSubChain() *StartSubChainPb
- func (m *ActionPb) GetStopSubChain() *StopSubChainPb
- func (m *ActionPb) GetTerminatePlumChain() *TerminatePlumChainPb
- func (m *ActionPb) GetTransfer() *TransferPb
- func (m *ActionPb) GetVersion() uint32
- func (m *ActionPb) GetVote() *VotePb
- func (*ActionPb) ProtoMessage()
- func (m *ActionPb) Reset()
- func (m *ActionPb) String() string
- func (m *ActionPb) XXX_DiscardUnknown()
- func (m *ActionPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ActionPb) XXX_Merge(src proto.Message)
- func (*ActionPb) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *ActionPb) XXX_Size() int
- func (m *ActionPb) XXX_Unmarshal(b []byte) error
- type ActionPb_ClaimFromRewardingFund
- type ActionPb_CreateDeposit
- type ActionPb_CreatePlumChain
- type ActionPb_DepositToRewardingFund
- type ActionPb_Execution
- type ActionPb_GrantReward
- type ActionPb_PlumChallengeExit
- type ActionPb_PlumCreateDeposit
- type ActionPb_PlumFinalizeExit
- type ActionPb_PlumPutBlock
- type ActionPb_PlumResponseChallengeExit
- type ActionPb_PlumSettleDeposit
- type ActionPb_PlumStartExit
- type ActionPb_PlumTransfer
- type ActionPb_PutBlock
- type ActionPb_SetReward
- type ActionPb_SettleDeposit
- type ActionPb_StartSubChain
- type ActionPb_StopSubChain
- type ActionPb_TerminatePlumChain
- type ActionPb_Transfer
- type ActionPb_Vote
- type BlockContainer
- func (*BlockContainer) Descriptor() ([]byte, []int)
- func (m *BlockContainer) GetBlock() *BlockPb
- func (*BlockContainer) ProtoMessage()
- func (m *BlockContainer) Reset()
- func (m *BlockContainer) String() string
- func (m *BlockContainer) XXX_DiscardUnknown()
- func (m *BlockContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockContainer) XXX_Merge(src proto.Message)
- func (m *BlockContainer) XXX_Size() int
- func (m *BlockContainer) XXX_Unmarshal(b []byte) error
- type BlockFooterPb
- func (*BlockFooterPb) Descriptor() ([]byte, []int)
- func (m *BlockFooterPb) GetCommitTimestamp() int64
- func (m *BlockFooterPb) GetEndorsements() *EndorsementSet
- func (*BlockFooterPb) ProtoMessage()
- func (m *BlockFooterPb) Reset()
- func (m *BlockFooterPb) String() string
- func (m *BlockFooterPb) XXX_DiscardUnknown()
- func (m *BlockFooterPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockFooterPb) XXX_Merge(src proto.Message)
- func (m *BlockFooterPb) XXX_Size() int
- func (m *BlockFooterPb) XXX_Unmarshal(b []byte) error
- type BlockHeaderPb
- func (*BlockHeaderPb) Descriptor() ([]byte, []int)
- func (m *BlockHeaderPb) GetChainID() uint32
- func (m *BlockHeaderPb) GetDeltaStateDigest() []byte
- func (m *BlockHeaderPb) GetHeight() uint64
- func (m *BlockHeaderPb) GetPrevBlockHash() []byte
- func (m *BlockHeaderPb) GetPubkey() []byte
- func (m *BlockHeaderPb) GetReceiptRoot() []byte
- func (m *BlockHeaderPb) GetReserved() []byte
- func (m *BlockHeaderPb) GetSignature() []byte
- func (m *BlockHeaderPb) GetStateRoot() []byte
- func (m *BlockHeaderPb) GetTimestamp() *timestamp.Timestamp
- func (m *BlockHeaderPb) GetTxRoot() []byte
- func (m *BlockHeaderPb) GetVersion() uint32
- func (*BlockHeaderPb) ProtoMessage()
- func (m *BlockHeaderPb) Reset()
- func (m *BlockHeaderPb) String() string
- func (m *BlockHeaderPb) XXX_DiscardUnknown()
- func (m *BlockHeaderPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockHeaderPb) XXX_Merge(src proto.Message)
- func (m *BlockHeaderPb) XXX_Size() int
- func (m *BlockHeaderPb) XXX_Unmarshal(b []byte) error
- type BlockIndex
- func (*BlockIndex) Descriptor() ([]byte, []int)
- func (m *BlockIndex) GetEnd() uint64
- func (m *BlockIndex) GetOffset() []uint32
- func (m *BlockIndex) GetStart() uint64
- func (*BlockIndex) ProtoMessage()
- func (m *BlockIndex) Reset()
- func (m *BlockIndex) String() string
- func (m *BlockIndex) XXX_DiscardUnknown()
- func (m *BlockIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockIndex) XXX_Merge(src proto.Message)
- func (m *BlockIndex) XXX_Size() int
- func (m *BlockIndex) XXX_Unmarshal(b []byte) error
- type BlockPb
- func (*BlockPb) Descriptor() ([]byte, []int)
- func (m *BlockPb) GetActions() []*ActionPb
- func (m *BlockPb) GetFooter() *BlockFooterPb
- func (m *BlockPb) GetHeader() *BlockHeaderPb
- func (*BlockPb) ProtoMessage()
- func (m *BlockPb) Reset()
- func (m *BlockPb) String() string
- func (m *BlockPb) XXX_DiscardUnknown()
- func (m *BlockPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockPb) XXX_Merge(src proto.Message)
- func (m *BlockPb) XXX_Size() int
- func (m *BlockPb) XXX_Unmarshal(b []byte) error
- type BlockSync
- func (*BlockSync) Descriptor() ([]byte, []int)
- func (m *BlockSync) GetEnd() uint64
- func (m *BlockSync) GetStart() uint64
- func (*BlockSync) ProtoMessage()
- func (m *BlockSync) Reset()
- func (m *BlockSync) String() string
- func (m *BlockSync) XXX_DiscardUnknown()
- func (m *BlockSync) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockSync) XXX_Merge(src proto.Message)
- func (m *BlockSync) XXX_Size() int
- func (m *BlockSync) XXX_Unmarshal(b []byte) error
- type Candidate
- func (*Candidate) Descriptor() ([]byte, []int)
- func (m *Candidate) GetAddress() string
- func (m *Candidate) GetCreationHeight() uint64
- func (m *Candidate) GetLastUpdateHeight() uint64
- func (m *Candidate) GetPubKey() []byte
- func (m *Candidate) GetVotes() []byte
- func (*Candidate) ProtoMessage()
- func (m *Candidate) Reset()
- func (m *Candidate) String() string
- func (m *Candidate) XXX_DiscardUnknown()
- func (m *Candidate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Candidate) XXX_Merge(src proto.Message)
- func (m *Candidate) XXX_Size() int
- func (m *Candidate) XXX_Unmarshal(b []byte) error
- type CandidateList
- func (*CandidateList) Descriptor() ([]byte, []int)
- func (m *CandidateList) GetCandidates() []*Candidate
- func (*CandidateList) ProtoMessage()
- func (m *CandidateList) Reset()
- func (m *CandidateList) String() string
- func (m *CandidateList) XXX_DiscardUnknown()
- func (m *CandidateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CandidateList) XXX_Merge(src proto.Message)
- func (m *CandidateList) XXX_Size() int
- func (m *CandidateList) XXX_Unmarshal(b []byte) error
- type ClaimFromRewardingFund
- func (*ClaimFromRewardingFund) Descriptor() ([]byte, []int)
- func (m *ClaimFromRewardingFund) GetAmount() []byte
- func (m *ClaimFromRewardingFund) GetData() []byte
- func (*ClaimFromRewardingFund) ProtoMessage()
- func (m *ClaimFromRewardingFund) Reset()
- func (m *ClaimFromRewardingFund) String() string
- func (m *ClaimFromRewardingFund) XXX_DiscardUnknown()
- func (m *ClaimFromRewardingFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ClaimFromRewardingFund) XXX_Merge(src proto.Message)
- func (m *ClaimFromRewardingFund) XXX_Size() int
- func (m *ClaimFromRewardingFund) XXX_Unmarshal(b []byte) error
- type ConsensusPb
- func (*ConsensusPb) Descriptor() ([]byte, []int)
- func (m *ConsensusPb) GetData() []byte
- func (m *ConsensusPb) GetHeight() uint64
- func (m *ConsensusPb) GetRound() uint32
- func (m *ConsensusPb) GetTimestamp() *timestamp.Timestamp
- func (m *ConsensusPb) GetType() ConsensusPb_ConsensusMessageType
- func (*ConsensusPb) ProtoMessage()
- func (m *ConsensusPb) Reset()
- func (m *ConsensusPb) String() string
- func (m *ConsensusPb) XXX_DiscardUnknown()
- func (m *ConsensusPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ConsensusPb) XXX_Merge(src proto.Message)
- func (m *ConsensusPb) XXX_Size() int
- func (m *ConsensusPb) XXX_Unmarshal(b []byte) error
- type ConsensusPb_ConsensusMessageType
- type CreateDepositPb
- func (*CreateDepositPb) Descriptor() ([]byte, []int)
- func (m *CreateDepositPb) GetAmount() []byte
- func (m *CreateDepositPb) GetChainID() uint32
- func (m *CreateDepositPb) GetRecipient() string
- func (*CreateDepositPb) ProtoMessage()
- func (m *CreateDepositPb) Reset()
- func (m *CreateDepositPb) String() string
- func (m *CreateDepositPb) XXX_DiscardUnknown()
- func (m *CreateDepositPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateDepositPb) XXX_Merge(src proto.Message)
- func (m *CreateDepositPb) XXX_Size() int
- func (m *CreateDepositPb) XXX_Unmarshal(b []byte) error
- type CreatePlumChainPb
- func (*CreatePlumChainPb) Descriptor() ([]byte, []int)
- func (*CreatePlumChainPb) ProtoMessage()
- func (m *CreatePlumChainPb) Reset()
- func (m *CreatePlumChainPb) String() string
- func (m *CreatePlumChainPb) XXX_DiscardUnknown()
- func (m *CreatePlumChainPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreatePlumChainPb) XXX_Merge(src proto.Message)
- func (m *CreatePlumChainPb) XXX_Size() int
- func (m *CreatePlumChainPb) XXX_Unmarshal(b []byte) error
- type DepositToRewardingFund
- func (*DepositToRewardingFund) Descriptor() ([]byte, []int)
- func (m *DepositToRewardingFund) GetAmount() []byte
- func (m *DepositToRewardingFund) GetData() []byte
- func (*DepositToRewardingFund) ProtoMessage()
- func (m *DepositToRewardingFund) Reset()
- func (m *DepositToRewardingFund) String() string
- func (m *DepositToRewardingFund) XXX_DiscardUnknown()
- func (m *DepositToRewardingFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DepositToRewardingFund) XXX_Merge(src proto.Message)
- func (m *DepositToRewardingFund) XXX_Size() int
- func (m *DepositToRewardingFund) XXX_Unmarshal(b []byte) error
- type Endorsement
- func (*Endorsement) Descriptor() ([]byte, []int)
- func (m *Endorsement) GetBlockHash() []byte
- func (m *Endorsement) GetDecision() bool
- func (m *Endorsement) GetEndorser() string
- func (m *Endorsement) GetEndorserPubKey() []byte
- func (m *Endorsement) GetHeight() uint64
- func (m *Endorsement) GetRound() uint32
- func (m *Endorsement) GetSignature() []byte
- func (m *Endorsement) GetTopic() Endorsement_ConsensusVoteTopic
- func (*Endorsement) ProtoMessage()
- func (m *Endorsement) Reset()
- func (m *Endorsement) String() string
- func (m *Endorsement) XXX_DiscardUnknown()
- func (m *Endorsement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Endorsement) XXX_Merge(src proto.Message)
- func (m *Endorsement) XXX_Size() int
- func (m *Endorsement) XXX_Unmarshal(b []byte) error
- type EndorsementSet
- func (*EndorsementSet) Descriptor() ([]byte, []int)
- func (m *EndorsementSet) GetBlockHash() []byte
- func (m *EndorsementSet) GetEndorsements() []*Endorsement
- func (m *EndorsementSet) GetRound() uint32
- func (*EndorsementSet) ProtoMessage()
- func (m *EndorsementSet) Reset()
- func (m *EndorsementSet) String() string
- func (m *EndorsementSet) XXX_DiscardUnknown()
- func (m *EndorsementSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *EndorsementSet) XXX_Merge(src proto.Message)
- func (m *EndorsementSet) XXX_Size() int
- func (m *EndorsementSet) XXX_Unmarshal(b []byte) error
- type Endorsement_ConsensusVoteTopic
- type ExecutionPb
- func (*ExecutionPb) Descriptor() ([]byte, []int)
- func (m *ExecutionPb) GetAmount() []byte
- func (m *ExecutionPb) GetContract() string
- func (m *ExecutionPb) GetData() []byte
- func (*ExecutionPb) ProtoMessage()
- func (m *ExecutionPb) Reset()
- func (m *ExecutionPb) String() string
- func (m *ExecutionPb) XXX_DiscardUnknown()
- func (m *ExecutionPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ExecutionPb) XXX_Merge(src proto.Message)
- func (m *ExecutionPb) XXX_Size() int
- func (m *ExecutionPb) XXX_Unmarshal(b []byte) error
- type GrantReward
- func (*GrantReward) Descriptor() ([]byte, []int)
- func (m *GrantReward) GetType() RewardType
- func (*GrantReward) ProtoMessage()
- func (m *GrantReward) Reset()
- func (m *GrantReward) String() string
- func (m *GrantReward) XXX_DiscardUnknown()
- func (m *GrantReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GrantReward) XXX_Merge(src proto.Message)
- func (m *GrantReward) XXX_Size() int
- func (m *GrantReward) XXX_Unmarshal(b []byte) error
- type LogPb
- func (*LogPb) Descriptor() ([]byte, []int)
- func (m *LogPb) GetAddress() string
- func (m *LogPb) GetBlockHash() []byte
- func (m *LogPb) GetBlockNumber() uint64
- func (m *LogPb) GetData() []byte
- func (m *LogPb) GetIndex() uint32
- func (m *LogPb) GetTopics() [][]byte
- func (m *LogPb) GetTxnHash() []byte
- func (*LogPb) ProtoMessage()
- func (m *LogPb) Reset()
- func (m *LogPb) String() string
- func (m *LogPb) XXX_DiscardUnknown()
- func (m *LogPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LogPb) XXX_Merge(src proto.Message)
- func (m *LogPb) XXX_Size() int
- func (m *LogPb) XXX_Unmarshal(b []byte) error
- type MerkleRoot
- func (*MerkleRoot) Descriptor() ([]byte, []int)
- func (m *MerkleRoot) GetName() string
- func (m *MerkleRoot) GetValue() []byte
- func (*MerkleRoot) ProtoMessage()
- func (m *MerkleRoot) Reset()
- func (m *MerkleRoot) String() string
- func (m *MerkleRoot) XXX_DiscardUnknown()
- func (m *MerkleRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MerkleRoot) XXX_Merge(src proto.Message)
- func (m *MerkleRoot) XXX_Size() int
- func (m *MerkleRoot) XXX_Unmarshal(b []byte) error
- type PlumChallengeExit
- func (*PlumChallengeExit) Descriptor() ([]byte, []int)
- func (m *PlumChallengeExit) GetChallengeTransfer() []byte
- func (m *PlumChallengeExit) GetChallengeTransferBlockHeight() uint64
- func (m *PlumChallengeExit) GetChallengeTransferBlockProof() []byte
- func (m *PlumChallengeExit) GetCoinID() uint64
- func (m *PlumChallengeExit) GetSubChainAddress() string
- func (*PlumChallengeExit) ProtoMessage()
- func (m *PlumChallengeExit) Reset()
- func (m *PlumChallengeExit) String() string
- func (m *PlumChallengeExit) XXX_DiscardUnknown()
- func (m *PlumChallengeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PlumChallengeExit) XXX_Merge(src proto.Message)
- func (m *PlumChallengeExit) XXX_Size() int
- func (m *PlumChallengeExit) XXX_Unmarshal(b []byte) error
- type PlumCreateDepositPb
- func (*PlumCreateDepositPb) Descriptor() ([]byte, []int)
- func (m *PlumCreateDepositPb) GetAmount() []byte
- func (m *PlumCreateDepositPb) GetRecipient() string
- func (m *PlumCreateDepositPb) GetSubChainAddress() string
- func (*PlumCreateDepositPb) ProtoMessage()
- func (m *PlumCreateDepositPb) Reset()
- func (m *PlumCreateDepositPb) String() string
- func (m *PlumCreateDepositPb) XXX_DiscardUnknown()
- func (m *PlumCreateDepositPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PlumCreateDepositPb) XXX_Merge(src proto.Message)
- func (m *PlumCreateDepositPb) XXX_Size() int
- func (m *PlumCreateDepositPb) XXX_Unmarshal(b []byte) error
- type PlumFinalizeExit
- func (*PlumFinalizeExit) Descriptor() ([]byte, []int)
- func (m *PlumFinalizeExit) GetCoinID() uint64
- func (m *PlumFinalizeExit) GetSubChainAddress() string
- func (*PlumFinalizeExit) ProtoMessage()
- func (m *PlumFinalizeExit) Reset()
- func (m *PlumFinalizeExit) String() string
- func (m *PlumFinalizeExit) XXX_DiscardUnknown()
- func (m *PlumFinalizeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PlumFinalizeExit) XXX_Merge(src proto.Message)
- func (m *PlumFinalizeExit) XXX_Size() int
- func (m *PlumFinalizeExit) XXX_Unmarshal(b []byte) error
- type PlumPutBlockPb
- func (*PlumPutBlockPb) Descriptor() ([]byte, []int)
- func (m *PlumPutBlockPb) GetHeight() uint64
- func (m *PlumPutBlockPb) GetRoots() map[string][]byte
- func (m *PlumPutBlockPb) GetSubChainAddress() string
- func (*PlumPutBlockPb) ProtoMessage()
- func (m *PlumPutBlockPb) Reset()
- func (m *PlumPutBlockPb) String() string
- func (m *PlumPutBlockPb) XXX_DiscardUnknown()
- func (m *PlumPutBlockPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PlumPutBlockPb) XXX_Merge(src proto.Message)
- func (m *PlumPutBlockPb) XXX_Size() int
- func (m *PlumPutBlockPb) XXX_Unmarshal(b []byte) error
- type PlumResponseChallengeExit
- func (*PlumResponseChallengeExit) Descriptor() ([]byte, []int)
- func (m *PlumResponseChallengeExit) GetChallengeTransfer() []byte
- func (m *PlumResponseChallengeExit) GetCoinID() uint64
- func (m *PlumResponseChallengeExit) GetPreviousTransferBlockHeight() uint64
- func (m *PlumResponseChallengeExit) GetResponseTransfer() []byte
- func (m *PlumResponseChallengeExit) GetResponseTransferBlockProof() []byte
- func (m *PlumResponseChallengeExit) GetSubChainAddress() string
- func (*PlumResponseChallengeExit) ProtoMessage()
- func (m *PlumResponseChallengeExit) Reset()
- func (m *PlumResponseChallengeExit) String() string
- func (m *PlumResponseChallengeExit) XXX_DiscardUnknown()
- func (m *PlumResponseChallengeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PlumResponseChallengeExit) XXX_Merge(src proto.Message)
- func (m *PlumResponseChallengeExit) XXX_Size() int
- func (m *PlumResponseChallengeExit) XXX_Unmarshal(b []byte) error
- type PlumSettleDepositPb
- func (*PlumSettleDepositPb) Descriptor() ([]byte, []int)
- func (m *PlumSettleDepositPb) GetCoinID() uint64
- func (*PlumSettleDepositPb) ProtoMessage()
- func (m *PlumSettleDepositPb) Reset()
- func (m *PlumSettleDepositPb) String() string
- func (m *PlumSettleDepositPb) XXX_DiscardUnknown()
- func (m *PlumSettleDepositPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PlumSettleDepositPb) XXX_Merge(src proto.Message)
- func (m *PlumSettleDepositPb) XXX_Size() int
- func (m *PlumSettleDepositPb) XXX_Unmarshal(b []byte) error
- type PlumStartExitPb
- func (*PlumStartExitPb) Descriptor() ([]byte, []int)
- func (m *PlumStartExitPb) GetExitTransfer() []byte
- func (m *PlumStartExitPb) GetExitTransferBlockHeight() uint64
- func (m *PlumStartExitPb) GetExitTransferBlockProof() []byte
- func (m *PlumStartExitPb) GetPreviousTransfer() []byte
- func (m *PlumStartExitPb) GetPreviousTransferBlockHeight() uint64
- func (m *PlumStartExitPb) GetPreviousTransferBlockProof() []byte
- func (m *PlumStartExitPb) GetSubChainAddress() string
- func (*PlumStartExitPb) ProtoMessage()
- func (m *PlumStartExitPb) Reset()
- func (m *PlumStartExitPb) String() string
- func (m *PlumStartExitPb) XXX_DiscardUnknown()
- func (m *PlumStartExitPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PlumStartExitPb) XXX_Merge(src proto.Message)
- func (m *PlumStartExitPb) XXX_Size() int
- func (m *PlumStartExitPb) XXX_Unmarshal(b []byte) error
- type PlumTransferPb
- func (*PlumTransferPb) Descriptor() ([]byte, []int)
- func (m *PlumTransferPb) GetCoinID() uint64
- func (m *PlumTransferPb) GetDenomination() []byte
- func (m *PlumTransferPb) GetOwner() string
- func (m *PlumTransferPb) GetRecipient() string
- func (*PlumTransferPb) ProtoMessage()
- func (m *PlumTransferPb) Reset()
- func (m *PlumTransferPb) String() string
- func (m *PlumTransferPb) XXX_DiscardUnknown()
- func (m *PlumTransferPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PlumTransferPb) XXX_Merge(src proto.Message)
- func (m *PlumTransferPb) XXX_Size() int
- func (m *PlumTransferPb) XXX_Unmarshal(b []byte) error
- type PutBlockPb
- func (*PutBlockPb) Descriptor() ([]byte, []int)
- func (m *PutBlockPb) GetHeight() uint64
- func (m *PutBlockPb) GetRoots() []*MerkleRoot
- func (m *PutBlockPb) GetSubChainAddress() string
- func (*PutBlockPb) ProtoMessage()
- func (m *PutBlockPb) Reset()
- func (m *PutBlockPb) String() string
- func (m *PutBlockPb) XXX_DiscardUnknown()
- func (m *PutBlockPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PutBlockPb) XXX_Merge(src proto.Message)
- func (m *PutBlockPb) XXX_Size() int
- func (m *PutBlockPb) XXX_Unmarshal(b []byte) error
- type ReceiptPb
- func (*ReceiptPb) Descriptor() ([]byte, []int)
- func (m *ReceiptPb) GetActHash() []byte
- func (m *ReceiptPb) GetContractAddress() string
- func (m *ReceiptPb) GetGasConsumed() uint64
- func (m *ReceiptPb) GetLogs() []*LogPb
- func (m *ReceiptPb) GetReturnValue() []byte
- func (m *ReceiptPb) GetStatus() uint64
- func (*ReceiptPb) ProtoMessage()
- func (m *ReceiptPb) Reset()
- func (m *ReceiptPb) String() string
- func (m *ReceiptPb) XXX_DiscardUnknown()
- func (m *ReceiptPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReceiptPb) XXX_Merge(src proto.Message)
- func (m *ReceiptPb) XXX_Size() int
- func (m *ReceiptPb) XXX_Unmarshal(b []byte) error
- type Receipts
- func (*Receipts) Descriptor() ([]byte, []int)
- func (m *Receipts) GetReceipts() []*ReceiptPb
- func (*Receipts) ProtoMessage()
- func (m *Receipts) Reset()
- func (m *Receipts) String() string
- func (m *Receipts) XXX_DiscardUnknown()
- func (m *Receipts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Receipts) XXX_Merge(src proto.Message)
- func (m *Receipts) XXX_Size() int
- func (m *Receipts) XXX_Unmarshal(b []byte) error
- type RewardType
- type SetReward
- func (*SetReward) Descriptor() ([]byte, []int)
- func (m *SetReward) GetAmount() []byte
- func (m *SetReward) GetData() []byte
- func (m *SetReward) GetType() RewardType
- func (*SetReward) ProtoMessage()
- func (m *SetReward) Reset()
- func (m *SetReward) String() string
- func (m *SetReward) XXX_DiscardUnknown()
- func (m *SetReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetReward) XXX_Merge(src proto.Message)
- func (m *SetReward) XXX_Size() int
- func (m *SetReward) XXX_Unmarshal(b []byte) error
- type SettleDepositPb
- func (*SettleDepositPb) Descriptor() ([]byte, []int)
- func (m *SettleDepositPb) GetAmount() []byte
- func (m *SettleDepositPb) GetIndex() uint64
- func (m *SettleDepositPb) GetRecipient() string
- func (*SettleDepositPb) ProtoMessage()
- func (m *SettleDepositPb) Reset()
- func (m *SettleDepositPb) String() string
- func (m *SettleDepositPb) XXX_DiscardUnknown()
- func (m *SettleDepositPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SettleDepositPb) XXX_Merge(src proto.Message)
- func (m *SettleDepositPb) XXX_Size() int
- func (m *SettleDepositPb) XXX_Unmarshal(b []byte) error
- type StartSubChainPb
- func (*StartSubChainPb) Descriptor() ([]byte, []int)
- func (m *StartSubChainPb) GetChainID() uint32
- func (m *StartSubChainPb) GetOperationDeposit() []byte
- func (m *StartSubChainPb) GetParentHeightOffset() uint64
- func (m *StartSubChainPb) GetSecurityDeposit() []byte
- func (m *StartSubChainPb) GetStartHeight() uint64
- func (*StartSubChainPb) ProtoMessage()
- func (m *StartSubChainPb) Reset()
- func (m *StartSubChainPb) String() string
- func (m *StartSubChainPb) XXX_DiscardUnknown()
- func (m *StartSubChainPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StartSubChainPb) XXX_Merge(src proto.Message)
- func (m *StartSubChainPb) XXX_Size() int
- func (m *StartSubChainPb) XXX_Unmarshal(b []byte) error
- type StopSubChainPb
- func (*StopSubChainPb) Descriptor() ([]byte, []int)
- func (m *StopSubChainPb) GetChainID() uint32
- func (m *StopSubChainPb) GetStopHeight() uint64
- func (m *StopSubChainPb) GetSubChainAddress() string
- func (*StopSubChainPb) ProtoMessage()
- func (m *StopSubChainPb) Reset()
- func (m *StopSubChainPb) String() string
- func (m *StopSubChainPb) XXX_DiscardUnknown()
- func (m *StopSubChainPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StopSubChainPb) XXX_Merge(src proto.Message)
- func (m *StopSubChainPb) XXX_Size() int
- func (m *StopSubChainPb) XXX_Unmarshal(b []byte) error
- type TerminatePlumChainPb
- func (*TerminatePlumChainPb) Descriptor() ([]byte, []int)
- func (m *TerminatePlumChainPb) GetSubChainAddress() string
- func (*TerminatePlumChainPb) ProtoMessage()
- func (m *TerminatePlumChainPb) Reset()
- func (m *TerminatePlumChainPb) String() string
- func (m *TerminatePlumChainPb) XXX_DiscardUnknown()
- func (m *TerminatePlumChainPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TerminatePlumChainPb) XXX_Merge(src proto.Message)
- func (m *TerminatePlumChainPb) XXX_Size() int
- func (m *TerminatePlumChainPb) XXX_Unmarshal(b []byte) error
- type TestPayload
- func (*TestPayload) Descriptor() ([]byte, []int)
- func (m *TestPayload) GetMsgBody() []byte
- func (*TestPayload) ProtoMessage()
- func (m *TestPayload) Reset()
- func (m *TestPayload) String() string
- func (m *TestPayload) XXX_DiscardUnknown()
- func (m *TestPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TestPayload) XXX_Merge(src proto.Message)
- func (m *TestPayload) XXX_Size() int
- func (m *TestPayload) XXX_Unmarshal(b []byte) error
- type TransferPb
- func (*TransferPb) Descriptor() ([]byte, []int)
- func (m *TransferPb) GetAmount() []byte
- func (m *TransferPb) GetPayload() []byte
- func (m *TransferPb) GetRecipient() string
- func (*TransferPb) ProtoMessage()
- func (m *TransferPb) Reset()
- func (m *TransferPb) String() string
- func (m *TransferPb) XXX_DiscardUnknown()
- func (m *TransferPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TransferPb) XXX_Merge(src proto.Message)
- func (m *TransferPb) XXX_Size() int
- func (m *TransferPb) XXX_Unmarshal(b []byte) error
- type VotePb
- func (*VotePb) Descriptor() ([]byte, []int)
- func (m *VotePb) GetTimestamp() *timestamp.Timestamp
- func (m *VotePb) GetVoteeAddress() string
- func (*VotePb) ProtoMessage()
- func (m *VotePb) Reset()
- func (m *VotePb) String() string
- func (m *VotePb) XXX_DiscardUnknown()
- func (m *VotePb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *VotePb) XXX_Merge(src proto.Message)
- func (m *VotePb) XXX_Size() int
- func (m *VotePb) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // UnknownProtoMsgType is an unknown message type that is not expected UnknownProtoMsgType uint32 = 0 // MsgTxProtoMsgType is for transactions broadcasted within the network MsgTxProtoMsgType uint32 = 1 // MsgBlockProtoMsgType is for blocks broadcasted within the network MsgBlockProtoMsgType uint32 = 2 // MsgBlockSyncReqType is for requests among peers to sync blocks MsgBlockSyncReqType uint32 = 3 // MsgBlockSyncDataType is the response to messages of type MsgBlockSyncReqType MsgBlockSyncDataType uint32 = 4 // MsgActionType is the action message MsgActionType uint32 = 5 // MsgConsensusType is for consensus message MsgConsensusType uint32 = 6 // TestPayloadType is a test payload message type TestPayloadType uint32 = 10001 )
const (
MagicBroadcastMsgHeader uint32 = 4689
)
Magic header to identify IoTex traffic
Variables ¶
var ConsensusPb_ConsensusMessageType_name = map[int32]string{
0: "PROPOSAL",
1: "ENDORSEMENT",
}
var ConsensusPb_ConsensusMessageType_value = map[string]int32{
"PROPOSAL": 0,
"ENDORSEMENT": 1,
}
var Endorsement_ConsensusVoteTopic_name = map[int32]string{
0: "PROPOSAL",
1: "LOCK",
2: "COMMIT",
}
var Endorsement_ConsensusVoteTopic_value = map[string]int32{
"PROPOSAL": 0,
"LOCK": 1,
"COMMIT": 2,
}
var RewardType_name = map[int32]string{
0: "Block",
1: "Epoch",
}
var RewardType_value = map[string]int32{
"Block": 0,
"Epoch": 1,
}
Functions ¶
func GetTypeFromProtoMsg ¶
GetTypeFromProtoMsg retrieves the proto message type
Types ¶
type AccountPb ¶
type AccountPb struct { // used by state-based model Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` Balance []byte `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"` Root []byte `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"` CodeHash []byte `protobuf:"bytes,4,opt,name=codeHash,proto3" json:"codeHash,omitempty"` IsCandidate bool `protobuf:"varint,5,opt,name=isCandidate,proto3" json:"isCandidate,omitempty"` VotingWeight []byte `protobuf:"bytes,6,opt,name=votingWeight,proto3" json:"votingWeight,omitempty"` Votee string `protobuf:"bytes,7,opt,name=votee,proto3" json:"votee,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AccountPb) Descriptor ¶
func (*AccountPb) GetBalance ¶
func (*AccountPb) GetCodeHash ¶
func (*AccountPb) GetIsCandidate ¶
func (*AccountPb) GetVotingWeight ¶
func (*AccountPb) ProtoMessage ¶
func (*AccountPb) ProtoMessage()
func (*AccountPb) XXX_DiscardUnknown ¶
func (m *AccountPb) XXX_DiscardUnknown()
func (*AccountPb) XXX_Marshal ¶
func (*AccountPb) XXX_Unmarshal ¶
type ActionPb ¶
type ActionPb struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // TODO: we should remove sender address later Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` SenderPubKey []byte `protobuf:"bytes,3,opt,name=senderPubKey,proto3" json:"senderPubKey,omitempty"` Nonce uint64 `protobuf:"varint,4,opt,name=nonce,proto3" json:"nonce,omitempty"` GasLimit uint64 `protobuf:"varint,5,opt,name=gasLimit,proto3" json:"gasLimit,omitempty"` GasPrice []byte `protobuf:"bytes,6,opt,name=gasPrice,proto3" json:"gasPrice,omitempty"` Signature []byte `protobuf:"bytes,7,opt,name=signature,proto3" json:"signature,omitempty"` // Types that are valid to be assigned to Action: // *ActionPb_Transfer // *ActionPb_Vote // *ActionPb_Execution // *ActionPb_StartSubChain // *ActionPb_StopSubChain // *ActionPb_PutBlock // *ActionPb_CreateDeposit // *ActionPb_SettleDeposit // *ActionPb_CreatePlumChain // *ActionPb_TerminatePlumChain // *ActionPb_PlumPutBlock // *ActionPb_PlumCreateDeposit // *ActionPb_PlumStartExit // *ActionPb_PlumChallengeExit // *ActionPb_PlumResponseChallengeExit // *ActionPb_PlumFinalizeExit // *ActionPb_PlumSettleDeposit // *ActionPb_PlumTransfer // *ActionPb_DepositToRewardingFund // *ActionPb_ClaimFromRewardingFund // *ActionPb_SetReward // *ActionPb_GrantReward Action isActionPb_Action `protobuf_oneof:"action"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ActionPb) Descriptor ¶
func (*ActionPb) GetClaimFromRewardingFund ¶
func (m *ActionPb) GetClaimFromRewardingFund() *ClaimFromRewardingFund
func (*ActionPb) GetCreateDeposit ¶
func (m *ActionPb) GetCreateDeposit() *CreateDepositPb
func (*ActionPb) GetCreatePlumChain ¶
func (m *ActionPb) GetCreatePlumChain() *CreatePlumChainPb
func (*ActionPb) GetDepositToRewardingFund ¶
func (m *ActionPb) GetDepositToRewardingFund() *DepositToRewardingFund
func (*ActionPb) GetExecution ¶
func (m *ActionPb) GetExecution() *ExecutionPb
func (*ActionPb) GetGasLimit ¶
func (*ActionPb) GetGasPrice ¶
func (*ActionPb) GetGrantReward ¶
func (m *ActionPb) GetGrantReward() *GrantReward
func (*ActionPb) GetPlumChallengeExit ¶
func (m *ActionPb) GetPlumChallengeExit() *PlumChallengeExit
func (*ActionPb) GetPlumCreateDeposit ¶
func (m *ActionPb) GetPlumCreateDeposit() *PlumCreateDepositPb
func (*ActionPb) GetPlumFinalizeExit ¶
func (m *ActionPb) GetPlumFinalizeExit() *PlumFinalizeExit
func (*ActionPb) GetPlumPutBlock ¶
func (m *ActionPb) GetPlumPutBlock() *PlumPutBlockPb
func (*ActionPb) GetPlumResponseChallengeExit ¶
func (m *ActionPb) GetPlumResponseChallengeExit() *PlumResponseChallengeExit
func (*ActionPb) GetPlumSettleDeposit ¶
func (m *ActionPb) GetPlumSettleDeposit() *PlumSettleDepositPb
func (*ActionPb) GetPlumStartExit ¶
func (m *ActionPb) GetPlumStartExit() *PlumStartExitPb
func (*ActionPb) GetPlumTransfer ¶
func (m *ActionPb) GetPlumTransfer() *PlumTransferPb
func (*ActionPb) GetPutBlock ¶
func (m *ActionPb) GetPutBlock() *PutBlockPb
func (*ActionPb) GetSenderPubKey ¶
func (*ActionPb) GetSetReward ¶
func (*ActionPb) GetSettleDeposit ¶
func (m *ActionPb) GetSettleDeposit() *SettleDepositPb
func (*ActionPb) GetSignature ¶
func (*ActionPb) GetStartSubChain ¶
func (m *ActionPb) GetStartSubChain() *StartSubChainPb
func (*ActionPb) GetStopSubChain ¶
func (m *ActionPb) GetStopSubChain() *StopSubChainPb
func (*ActionPb) GetTerminatePlumChain ¶
func (m *ActionPb) GetTerminatePlumChain() *TerminatePlumChainPb
func (*ActionPb) GetTransfer ¶
func (m *ActionPb) GetTransfer() *TransferPb
func (*ActionPb) GetVersion ¶
func (*ActionPb) ProtoMessage ¶
func (*ActionPb) ProtoMessage()
func (*ActionPb) XXX_DiscardUnknown ¶
func (m *ActionPb) XXX_DiscardUnknown()
func (*ActionPb) XXX_Marshal ¶
func (*ActionPb) XXX_OneofFuncs ¶
func (*ActionPb) 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 (*ActionPb) XXX_Unmarshal ¶
type ActionPb_ClaimFromRewardingFund ¶
type ActionPb_ClaimFromRewardingFund struct {
ClaimFromRewardingFund *ClaimFromRewardingFund `protobuf:"bytes,31,opt,name=claimFromRewardingFund,proto3,oneof"`
}
type ActionPb_CreateDeposit ¶
type ActionPb_CreateDeposit struct {
CreateDeposit *CreateDepositPb `protobuf:"bytes,16,opt,name=createDeposit,proto3,oneof"`
}
type ActionPb_CreatePlumChain ¶
type ActionPb_CreatePlumChain struct {
CreatePlumChain *CreatePlumChainPb `protobuf:"bytes,18,opt,name=createPlumChain,proto3,oneof"`
}
type ActionPb_DepositToRewardingFund ¶
type ActionPb_DepositToRewardingFund struct {
DepositToRewardingFund *DepositToRewardingFund `protobuf:"bytes,30,opt,name=depositToRewardingFund,proto3,oneof"`
}
type ActionPb_Execution ¶
type ActionPb_Execution struct {
Execution *ExecutionPb `protobuf:"bytes,12,opt,name=execution,proto3,oneof"`
}
type ActionPb_GrantReward ¶
type ActionPb_GrantReward struct {
GrantReward *GrantReward `protobuf:"bytes,33,opt,name=grantReward,proto3,oneof"`
}
type ActionPb_PlumChallengeExit ¶
type ActionPb_PlumChallengeExit struct {
PlumChallengeExit *PlumChallengeExit `protobuf:"bytes,23,opt,name=plumChallengeExit,proto3,oneof"`
}
type ActionPb_PlumCreateDeposit ¶
type ActionPb_PlumCreateDeposit struct {
PlumCreateDeposit *PlumCreateDepositPb `protobuf:"bytes,21,opt,name=plumCreateDeposit,proto3,oneof"`
}
type ActionPb_PlumFinalizeExit ¶
type ActionPb_PlumFinalizeExit struct {
PlumFinalizeExit *PlumFinalizeExit `protobuf:"bytes,25,opt,name=plumFinalizeExit,proto3,oneof"`
}
type ActionPb_PlumPutBlock ¶
type ActionPb_PlumPutBlock struct {
PlumPutBlock *PlumPutBlockPb `protobuf:"bytes,20,opt,name=plumPutBlock,proto3,oneof"`
}
type ActionPb_PlumResponseChallengeExit ¶
type ActionPb_PlumResponseChallengeExit struct {
PlumResponseChallengeExit *PlumResponseChallengeExit `protobuf:"bytes,24,opt,name=plumResponseChallengeExit,proto3,oneof"`
}
type ActionPb_PlumSettleDeposit ¶
type ActionPb_PlumSettleDeposit struct {
PlumSettleDeposit *PlumSettleDepositPb `protobuf:"bytes,26,opt,name=plumSettleDeposit,proto3,oneof"`
}
type ActionPb_PlumStartExit ¶
type ActionPb_PlumStartExit struct {
PlumStartExit *PlumStartExitPb `protobuf:"bytes,22,opt,name=plumStartExit,proto3,oneof"`
}
type ActionPb_PlumTransfer ¶
type ActionPb_PlumTransfer struct {
PlumTransfer *PlumTransferPb `protobuf:"bytes,27,opt,name=plumTransfer,proto3,oneof"`
}
type ActionPb_PutBlock ¶
type ActionPb_PutBlock struct {
PutBlock *PutBlockPb `protobuf:"bytes,15,opt,name=putBlock,proto3,oneof"`
}
type ActionPb_SetReward ¶
type ActionPb_SetReward struct {
SetReward *SetReward `protobuf:"bytes,32,opt,name=setReward,proto3,oneof"`
}
type ActionPb_SettleDeposit ¶
type ActionPb_SettleDeposit struct {
SettleDeposit *SettleDepositPb `protobuf:"bytes,17,opt,name=settleDeposit,proto3,oneof"`
}
type ActionPb_StartSubChain ¶
type ActionPb_StartSubChain struct {
StartSubChain *StartSubChainPb `protobuf:"bytes,13,opt,name=startSubChain,proto3,oneof"`
}
type ActionPb_StopSubChain ¶
type ActionPb_StopSubChain struct {
StopSubChain *StopSubChainPb `protobuf:"bytes,14,opt,name=stopSubChain,proto3,oneof"`
}
type ActionPb_TerminatePlumChain ¶
type ActionPb_TerminatePlumChain struct {
TerminatePlumChain *TerminatePlumChainPb `protobuf:"bytes,19,opt,name=terminatePlumChain,proto3,oneof"`
}
type ActionPb_Transfer ¶
type ActionPb_Transfer struct {
Transfer *TransferPb `protobuf:"bytes,10,opt,name=transfer,proto3,oneof"`
}
type ActionPb_Vote ¶
type ActionPb_Vote struct {
Vote *VotePb `protobuf:"bytes,11,opt,name=vote,proto3,oneof"`
}
type BlockContainer ¶
type BlockContainer struct { Block *BlockPb `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
block container used to send old/existing blocks in block sync
func (*BlockContainer) Descriptor ¶
func (*BlockContainer) Descriptor() ([]byte, []int)
func (*BlockContainer) GetBlock ¶
func (m *BlockContainer) GetBlock() *BlockPb
func (*BlockContainer) ProtoMessage ¶
func (*BlockContainer) ProtoMessage()
func (*BlockContainer) Reset ¶
func (m *BlockContainer) Reset()
func (*BlockContainer) String ¶
func (m *BlockContainer) String() string
func (*BlockContainer) XXX_DiscardUnknown ¶
func (m *BlockContainer) XXX_DiscardUnknown()
func (*BlockContainer) XXX_Marshal ¶
func (m *BlockContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockContainer) XXX_Merge ¶
func (dst *BlockContainer) XXX_Merge(src proto.Message)
func (*BlockContainer) XXX_Size ¶
func (m *BlockContainer) XXX_Size() int
func (*BlockContainer) XXX_Unmarshal ¶
func (m *BlockContainer) XXX_Unmarshal(b []byte) error
type BlockFooterPb ¶
type BlockFooterPb struct {}
footer of a block
func (*BlockFooterPb) Descriptor ¶
func (*BlockFooterPb) Descriptor() ([]byte, []int)
func (*BlockFooterPb) GetCommitTimestamp ¶
func (m *BlockFooterPb) GetCommitTimestamp() int64
func (*BlockFooterPb) GetEndorsements ¶
func (m *BlockFooterPb) GetEndorsements() *EndorsementSet
func (*BlockFooterPb) ProtoMessage ¶
func (*BlockFooterPb) ProtoMessage()
func (*BlockFooterPb) Reset ¶
func (m *BlockFooterPb) Reset()
func (*BlockFooterPb) String ¶
func (m *BlockFooterPb) String() string
func (*BlockFooterPb) XXX_DiscardUnknown ¶
func (m *BlockFooterPb) XXX_DiscardUnknown()
func (*BlockFooterPb) XXX_Marshal ¶
func (m *BlockFooterPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockFooterPb) XXX_Merge ¶
func (dst *BlockFooterPb) XXX_Merge(src proto.Message)
func (*BlockFooterPb) XXX_Size ¶
func (m *BlockFooterPb) XXX_Size() int
func (*BlockFooterPb) XXX_Unmarshal ¶
func (m *BlockFooterPb) XXX_Unmarshal(b []byte) error
type BlockHeaderPb ¶
type BlockHeaderPb struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` ChainID uint32 `protobuf:"varint,2,opt,name=chainID,proto3" json:"chainID,omitempty"` Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` PrevBlockHash []byte `protobuf:"bytes,5,opt,name=prevBlockHash,proto3" json:"prevBlockHash,omitempty"` TxRoot []byte `protobuf:"bytes,6,opt,name=txRoot,proto3" json:"txRoot,omitempty"` StateRoot []byte `protobuf:"bytes,7,opt,name=stateRoot,proto3" json:"stateRoot,omitempty"` DeltaStateDigest []byte `protobuf:"bytes,8,opt,name=deltaStateDigest,proto3" json:"deltaStateDigest,omitempty"` ReceiptRoot []byte `protobuf:"bytes,9,opt,name=receiptRoot,proto3" json:"receiptRoot,omitempty"` Reserved []byte `protobuf:"bytes,10,opt,name=reserved,proto3" json:"reserved,omitempty"` Signature []byte `protobuf:"bytes,11,opt,name=signature,proto3" json:"signature,omitempty"` Pubkey []byte `protobuf:"bytes,12,opt,name=pubkey,proto3" json:"pubkey,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
header of a block
func (*BlockHeaderPb) Descriptor ¶
func (*BlockHeaderPb) Descriptor() ([]byte, []int)
func (*BlockHeaderPb) GetChainID ¶
func (m *BlockHeaderPb) GetChainID() uint32
func (*BlockHeaderPb) GetDeltaStateDigest ¶
func (m *BlockHeaderPb) GetDeltaStateDigest() []byte
func (*BlockHeaderPb) GetHeight ¶
func (m *BlockHeaderPb) GetHeight() uint64
func (*BlockHeaderPb) GetPrevBlockHash ¶
func (m *BlockHeaderPb) GetPrevBlockHash() []byte
func (*BlockHeaderPb) GetPubkey ¶
func (m *BlockHeaderPb) GetPubkey() []byte
func (*BlockHeaderPb) GetReceiptRoot ¶
func (m *BlockHeaderPb) GetReceiptRoot() []byte
func (*BlockHeaderPb) GetReserved ¶
func (m *BlockHeaderPb) GetReserved() []byte
func (*BlockHeaderPb) GetSignature ¶
func (m *BlockHeaderPb) GetSignature() []byte
func (*BlockHeaderPb) GetStateRoot ¶
func (m *BlockHeaderPb) GetStateRoot() []byte
func (*BlockHeaderPb) GetTimestamp ¶
func (m *BlockHeaderPb) GetTimestamp() *timestamp.Timestamp
func (*BlockHeaderPb) GetTxRoot ¶
func (m *BlockHeaderPb) GetTxRoot() []byte
func (*BlockHeaderPb) GetVersion ¶
func (m *BlockHeaderPb) GetVersion() uint32
func (*BlockHeaderPb) ProtoMessage ¶
func (*BlockHeaderPb) ProtoMessage()
func (*BlockHeaderPb) Reset ¶
func (m *BlockHeaderPb) Reset()
func (*BlockHeaderPb) String ¶
func (m *BlockHeaderPb) String() string
func (*BlockHeaderPb) XXX_DiscardUnknown ¶
func (m *BlockHeaderPb) XXX_DiscardUnknown()
func (*BlockHeaderPb) XXX_Marshal ¶
func (m *BlockHeaderPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockHeaderPb) XXX_Merge ¶
func (dst *BlockHeaderPb) XXX_Merge(src proto.Message)
func (*BlockHeaderPb) XXX_Size ¶
func (m *BlockHeaderPb) XXX_Size() int
func (*BlockHeaderPb) XXX_Unmarshal ¶
func (m *BlockHeaderPb) XXX_Unmarshal(b []byte) error
type BlockIndex ¶
type BlockIndex struct { Start uint64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` End uint64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` Offset []uint32 `protobuf:"varint,3,rep,packed,name=offset,proto3" json:"offset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
index of block raw data file
func (*BlockIndex) Descriptor ¶
func (*BlockIndex) Descriptor() ([]byte, []int)
func (*BlockIndex) GetEnd ¶
func (m *BlockIndex) GetEnd() uint64
func (*BlockIndex) GetOffset ¶
func (m *BlockIndex) GetOffset() []uint32
func (*BlockIndex) GetStart ¶
func (m *BlockIndex) GetStart() uint64
func (*BlockIndex) ProtoMessage ¶
func (*BlockIndex) ProtoMessage()
func (*BlockIndex) Reset ¶
func (m *BlockIndex) Reset()
func (*BlockIndex) String ¶
func (m *BlockIndex) String() string
func (*BlockIndex) XXX_DiscardUnknown ¶
func (m *BlockIndex) XXX_DiscardUnknown()
func (*BlockIndex) XXX_Marshal ¶
func (m *BlockIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockIndex) XXX_Merge ¶
func (dst *BlockIndex) XXX_Merge(src proto.Message)
func (*BlockIndex) XXX_Size ¶
func (m *BlockIndex) XXX_Size() int
func (*BlockIndex) XXX_Unmarshal ¶
func (m *BlockIndex) XXX_Unmarshal(b []byte) error
type BlockPb ¶
type BlockPb struct { Header *BlockHeaderPb `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Actions []*ActionPb `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
block consists of header followed by transactions hash of current block can be computed from header hence not stored
func (*BlockPb) Descriptor ¶
func (*BlockPb) GetActions ¶
func (*BlockPb) GetFooter ¶
func (m *BlockPb) GetFooter() *BlockFooterPb
func (*BlockPb) GetHeader ¶
func (m *BlockPb) GetHeader() *BlockHeaderPb
func (*BlockPb) ProtoMessage ¶
func (*BlockPb) ProtoMessage()
func (*BlockPb) XXX_DiscardUnknown ¶
func (m *BlockPb) XXX_DiscardUnknown()
func (*BlockPb) XXX_Marshal ¶
func (*BlockPb) XXX_Unmarshal ¶
type BlockSync ¶
type BlockSync struct { Start uint64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"` End uint64 `protobuf:"varint,3,opt,name=end,proto3" json:"end,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockSync) Descriptor ¶
func (*BlockSync) ProtoMessage ¶
func (*BlockSync) ProtoMessage()
func (*BlockSync) XXX_DiscardUnknown ¶
func (m *BlockSync) XXX_DiscardUnknown()
func (*BlockSync) XXX_Marshal ¶
func (*BlockSync) XXX_Unmarshal ¶
type Candidate ¶
type Candidate struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Votes []byte `protobuf:"bytes,2,opt,name=votes,proto3" json:"votes,omitempty"` PubKey []byte `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"` CreationHeight uint64 `protobuf:"varint,4,opt,name=creationHeight,proto3" json:"creationHeight,omitempty"` LastUpdateHeight uint64 `protobuf:"varint,5,opt,name=lastUpdateHeight,proto3" json:"lastUpdateHeight,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Candidates and list of candidates
func (*Candidate) Descriptor ¶
func (*Candidate) GetAddress ¶
func (*Candidate) GetCreationHeight ¶
func (*Candidate) GetLastUpdateHeight ¶
func (*Candidate) ProtoMessage ¶
func (*Candidate) ProtoMessage()
func (*Candidate) XXX_DiscardUnknown ¶
func (m *Candidate) XXX_DiscardUnknown()
func (*Candidate) XXX_Marshal ¶
func (*Candidate) XXX_Unmarshal ¶
type CandidateList ¶
type CandidateList struct { Candidates []*Candidate `protobuf:"bytes,1,rep,name=candidates,proto3" json:"candidates,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CandidateList) Descriptor ¶
func (*CandidateList) Descriptor() ([]byte, []int)
func (*CandidateList) GetCandidates ¶
func (m *CandidateList) GetCandidates() []*Candidate
func (*CandidateList) ProtoMessage ¶
func (*CandidateList) ProtoMessage()
func (*CandidateList) Reset ¶
func (m *CandidateList) Reset()
func (*CandidateList) String ¶
func (m *CandidateList) String() string
func (*CandidateList) XXX_DiscardUnknown ¶
func (m *CandidateList) XXX_DiscardUnknown()
func (*CandidateList) XXX_Marshal ¶
func (m *CandidateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CandidateList) XXX_Merge ¶
func (dst *CandidateList) XXX_Merge(src proto.Message)
func (*CandidateList) XXX_Size ¶
func (m *CandidateList) XXX_Size() int
func (*CandidateList) XXX_Unmarshal ¶
func (m *CandidateList) XXX_Unmarshal(b []byte) error
type ClaimFromRewardingFund ¶
type ClaimFromRewardingFund struct { Amount []byte `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClaimFromRewardingFund) Descriptor ¶
func (*ClaimFromRewardingFund) Descriptor() ([]byte, []int)
func (*ClaimFromRewardingFund) GetAmount ¶
func (m *ClaimFromRewardingFund) GetAmount() []byte
func (*ClaimFromRewardingFund) GetData ¶
func (m *ClaimFromRewardingFund) GetData() []byte
func (*ClaimFromRewardingFund) ProtoMessage ¶
func (*ClaimFromRewardingFund) ProtoMessage()
func (*ClaimFromRewardingFund) Reset ¶
func (m *ClaimFromRewardingFund) Reset()
func (*ClaimFromRewardingFund) String ¶
func (m *ClaimFromRewardingFund) String() string
func (*ClaimFromRewardingFund) XXX_DiscardUnknown ¶
func (m *ClaimFromRewardingFund) XXX_DiscardUnknown()
func (*ClaimFromRewardingFund) XXX_Marshal ¶
func (m *ClaimFromRewardingFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClaimFromRewardingFund) XXX_Merge ¶
func (dst *ClaimFromRewardingFund) XXX_Merge(src proto.Message)
func (*ClaimFromRewardingFund) XXX_Size ¶
func (m *ClaimFromRewardingFund) XXX_Size() int
func (*ClaimFromRewardingFund) XXX_Unmarshal ¶
func (m *ClaimFromRewardingFund) XXX_Unmarshal(b []byte) error
type ConsensusPb ¶
type ConsensusPb struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Round uint32 `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"` Type ConsensusPb_ConsensusMessageType `protobuf:"varint,3,opt,name=type,proto3,enum=iproto.ConsensusPb_ConsensusMessageType" json:"type,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConsensusPb) Descriptor ¶
func (*ConsensusPb) Descriptor() ([]byte, []int)
func (*ConsensusPb) GetData ¶
func (m *ConsensusPb) GetData() []byte
func (*ConsensusPb) GetHeight ¶
func (m *ConsensusPb) GetHeight() uint64
func (*ConsensusPb) GetRound ¶
func (m *ConsensusPb) GetRound() uint32
func (*ConsensusPb) GetTimestamp ¶
func (m *ConsensusPb) GetTimestamp() *timestamp.Timestamp
func (*ConsensusPb) GetType ¶
func (m *ConsensusPb) GetType() ConsensusPb_ConsensusMessageType
func (*ConsensusPb) ProtoMessage ¶
func (*ConsensusPb) ProtoMessage()
func (*ConsensusPb) Reset ¶
func (m *ConsensusPb) Reset()
func (*ConsensusPb) String ¶
func (m *ConsensusPb) String() string
func (*ConsensusPb) XXX_DiscardUnknown ¶
func (m *ConsensusPb) XXX_DiscardUnknown()
func (*ConsensusPb) XXX_Marshal ¶
func (m *ConsensusPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusPb) XXX_Merge ¶
func (dst *ConsensusPb) XXX_Merge(src proto.Message)
func (*ConsensusPb) XXX_Size ¶
func (m *ConsensusPb) XXX_Size() int
func (*ConsensusPb) XXX_Unmarshal ¶
func (m *ConsensusPb) XXX_Unmarshal(b []byte) error
type ConsensusPb_ConsensusMessageType ¶
type ConsensusPb_ConsensusMessageType int32
const ( ConsensusPb_PROPOSAL ConsensusPb_ConsensusMessageType = 0 ConsensusPb_ENDORSEMENT ConsensusPb_ConsensusMessageType = 1 )
func (ConsensusPb_ConsensusMessageType) EnumDescriptor ¶
func (ConsensusPb_ConsensusMessageType) EnumDescriptor() ([]byte, []int)
func (ConsensusPb_ConsensusMessageType) String ¶
func (x ConsensusPb_ConsensusMessageType) String() string
type CreateDepositPb ¶
type CreateDepositPb struct { ChainID uint32 `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"` Amount []byte `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateDepositPb) Descriptor ¶
func (*CreateDepositPb) Descriptor() ([]byte, []int)
func (*CreateDepositPb) GetAmount ¶
func (m *CreateDepositPb) GetAmount() []byte
func (*CreateDepositPb) GetChainID ¶
func (m *CreateDepositPb) GetChainID() uint32
func (*CreateDepositPb) GetRecipient ¶
func (m *CreateDepositPb) GetRecipient() string
func (*CreateDepositPb) ProtoMessage ¶
func (*CreateDepositPb) ProtoMessage()
func (*CreateDepositPb) Reset ¶
func (m *CreateDepositPb) Reset()
func (*CreateDepositPb) String ¶
func (m *CreateDepositPb) String() string
func (*CreateDepositPb) XXX_DiscardUnknown ¶
func (m *CreateDepositPb) XXX_DiscardUnknown()
func (*CreateDepositPb) XXX_Marshal ¶
func (m *CreateDepositPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateDepositPb) XXX_Merge ¶
func (dst *CreateDepositPb) XXX_Merge(src proto.Message)
func (*CreateDepositPb) XXX_Size ¶
func (m *CreateDepositPb) XXX_Size() int
func (*CreateDepositPb) XXX_Unmarshal ¶
func (m *CreateDepositPb) XXX_Unmarshal(b []byte) error
type CreatePlumChainPb ¶
type CreatePlumChainPb struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
plum main chain APIs
func (*CreatePlumChainPb) Descriptor ¶
func (*CreatePlumChainPb) Descriptor() ([]byte, []int)
func (*CreatePlumChainPb) ProtoMessage ¶
func (*CreatePlumChainPb) ProtoMessage()
func (*CreatePlumChainPb) Reset ¶
func (m *CreatePlumChainPb) Reset()
func (*CreatePlumChainPb) String ¶
func (m *CreatePlumChainPb) String() string
func (*CreatePlumChainPb) XXX_DiscardUnknown ¶
func (m *CreatePlumChainPb) XXX_DiscardUnknown()
func (*CreatePlumChainPb) XXX_Marshal ¶
func (m *CreatePlumChainPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreatePlumChainPb) XXX_Merge ¶
func (dst *CreatePlumChainPb) XXX_Merge(src proto.Message)
func (*CreatePlumChainPb) XXX_Size ¶
func (m *CreatePlumChainPb) XXX_Size() int
func (*CreatePlumChainPb) XXX_Unmarshal ¶
func (m *CreatePlumChainPb) XXX_Unmarshal(b []byte) error
type DepositToRewardingFund ¶
type DepositToRewardingFund struct { Amount []byte `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DepositToRewardingFund) Descriptor ¶
func (*DepositToRewardingFund) Descriptor() ([]byte, []int)
func (*DepositToRewardingFund) GetAmount ¶
func (m *DepositToRewardingFund) GetAmount() []byte
func (*DepositToRewardingFund) GetData ¶
func (m *DepositToRewardingFund) GetData() []byte
func (*DepositToRewardingFund) ProtoMessage ¶
func (*DepositToRewardingFund) ProtoMessage()
func (*DepositToRewardingFund) Reset ¶
func (m *DepositToRewardingFund) Reset()
func (*DepositToRewardingFund) String ¶
func (m *DepositToRewardingFund) String() string
func (*DepositToRewardingFund) XXX_DiscardUnknown ¶
func (m *DepositToRewardingFund) XXX_DiscardUnknown()
func (*DepositToRewardingFund) XXX_Marshal ¶
func (m *DepositToRewardingFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DepositToRewardingFund) XXX_Merge ¶
func (dst *DepositToRewardingFund) XXX_Merge(src proto.Message)
func (*DepositToRewardingFund) XXX_Size ¶
func (m *DepositToRewardingFund) XXX_Size() int
func (*DepositToRewardingFund) XXX_Unmarshal ¶
func (m *DepositToRewardingFund) XXX_Unmarshal(b []byte) error
type Endorsement ¶
type Endorsement struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Round uint32 `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"` BlockHash []byte `protobuf:"bytes,3,opt,name=blockHash,proto3" json:"blockHash,omitempty"` Topic Endorsement_ConsensusVoteTopic `protobuf:"varint,4,opt,name=topic,proto3,enum=iproto.Endorsement_ConsensusVoteTopic" json:"topic,omitempty"` Endorser string `protobuf:"bytes,5,opt,name=endorser,proto3" json:"endorser,omitempty"` EndorserPubKey []byte `protobuf:"bytes,6,opt,name=endorserPubKey,proto3" json:"endorserPubKey,omitempty"` Decision bool `protobuf:"varint,7,opt,name=decision,proto3" json:"decision,omitempty"` Signature []byte `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
corresponding to prepare and pre-prepare phase in view change protocol
func (*Endorsement) Descriptor ¶
func (*Endorsement) Descriptor() ([]byte, []int)
func (*Endorsement) GetBlockHash ¶
func (m *Endorsement) GetBlockHash() []byte
func (*Endorsement) GetDecision ¶
func (m *Endorsement) GetDecision() bool
func (*Endorsement) GetEndorser ¶
func (m *Endorsement) GetEndorser() string
func (*Endorsement) GetEndorserPubKey ¶
func (m *Endorsement) GetEndorserPubKey() []byte
func (*Endorsement) GetHeight ¶
func (m *Endorsement) GetHeight() uint64
func (*Endorsement) GetRound ¶
func (m *Endorsement) GetRound() uint32
func (*Endorsement) GetSignature ¶
func (m *Endorsement) GetSignature() []byte
func (*Endorsement) GetTopic ¶
func (m *Endorsement) GetTopic() Endorsement_ConsensusVoteTopic
func (*Endorsement) ProtoMessage ¶
func (*Endorsement) ProtoMessage()
func (*Endorsement) Reset ¶
func (m *Endorsement) Reset()
func (*Endorsement) String ¶
func (m *Endorsement) String() string
func (*Endorsement) XXX_DiscardUnknown ¶
func (m *Endorsement) XXX_DiscardUnknown()
func (*Endorsement) XXX_Marshal ¶
func (m *Endorsement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Endorsement) XXX_Merge ¶
func (dst *Endorsement) XXX_Merge(src proto.Message)
func (*Endorsement) XXX_Size ¶
func (m *Endorsement) XXX_Size() int
func (*Endorsement) XXX_Unmarshal ¶
func (m *Endorsement) XXX_Unmarshal(b []byte) error
type EndorsementSet ¶
type EndorsementSet struct { BlockHash []byte `protobuf:"bytes,1,opt,name=blockHash,proto3" json:"blockHash,omitempty"` Round uint32 `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"` Endorsements []*Endorsement `protobuf:"bytes,3,rep,name=endorsements,proto3" json:"endorsements,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EndorsementSet) Descriptor ¶
func (*EndorsementSet) Descriptor() ([]byte, []int)
func (*EndorsementSet) GetBlockHash ¶
func (m *EndorsementSet) GetBlockHash() []byte
func (*EndorsementSet) GetEndorsements ¶
func (m *EndorsementSet) GetEndorsements() []*Endorsement
func (*EndorsementSet) GetRound ¶
func (m *EndorsementSet) GetRound() uint32
func (*EndorsementSet) ProtoMessage ¶
func (*EndorsementSet) ProtoMessage()
func (*EndorsementSet) Reset ¶
func (m *EndorsementSet) Reset()
func (*EndorsementSet) String ¶
func (m *EndorsementSet) String() string
func (*EndorsementSet) XXX_DiscardUnknown ¶
func (m *EndorsementSet) XXX_DiscardUnknown()
func (*EndorsementSet) XXX_Marshal ¶
func (m *EndorsementSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EndorsementSet) XXX_Merge ¶
func (dst *EndorsementSet) XXX_Merge(src proto.Message)
func (*EndorsementSet) XXX_Size ¶
func (m *EndorsementSet) XXX_Size() int
func (*EndorsementSet) XXX_Unmarshal ¶
func (m *EndorsementSet) XXX_Unmarshal(b []byte) error
type Endorsement_ConsensusVoteTopic ¶
type Endorsement_ConsensusVoteTopic int32
const ( Endorsement_PROPOSAL Endorsement_ConsensusVoteTopic = 0 Endorsement_LOCK Endorsement_ConsensusVoteTopic = 1 Endorsement_COMMIT Endorsement_ConsensusVoteTopic = 2 )
func (Endorsement_ConsensusVoteTopic) EnumDescriptor ¶
func (Endorsement_ConsensusVoteTopic) EnumDescriptor() ([]byte, []int)
func (Endorsement_ConsensusVoteTopic) String ¶
func (x Endorsement_ConsensusVoteTopic) String() string
type ExecutionPb ¶
type ExecutionPb struct { Amount []byte `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` Contract string `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExecutionPb) Descriptor ¶
func (*ExecutionPb) Descriptor() ([]byte, []int)
func (*ExecutionPb) GetAmount ¶
func (m *ExecutionPb) GetAmount() []byte
func (*ExecutionPb) GetContract ¶
func (m *ExecutionPb) GetContract() string
func (*ExecutionPb) GetData ¶
func (m *ExecutionPb) GetData() []byte
func (*ExecutionPb) ProtoMessage ¶
func (*ExecutionPb) ProtoMessage()
func (*ExecutionPb) Reset ¶
func (m *ExecutionPb) Reset()
func (*ExecutionPb) String ¶
func (m *ExecutionPb) String() string
func (*ExecutionPb) XXX_DiscardUnknown ¶
func (m *ExecutionPb) XXX_DiscardUnknown()
func (*ExecutionPb) XXX_Marshal ¶
func (m *ExecutionPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecutionPb) XXX_Merge ¶
func (dst *ExecutionPb) XXX_Merge(src proto.Message)
func (*ExecutionPb) XXX_Size ¶
func (m *ExecutionPb) XXX_Size() int
func (*ExecutionPb) XXX_Unmarshal ¶
func (m *ExecutionPb) XXX_Unmarshal(b []byte) error
type GrantReward ¶
type GrantReward struct { Type RewardType `protobuf:"varint,1,opt,name=type,proto3,enum=iproto.RewardType" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GrantReward) Descriptor ¶
func (*GrantReward) Descriptor() ([]byte, []int)
func (*GrantReward) GetType ¶
func (m *GrantReward) GetType() RewardType
func (*GrantReward) ProtoMessage ¶
func (*GrantReward) ProtoMessage()
func (*GrantReward) Reset ¶
func (m *GrantReward) Reset()
func (*GrantReward) String ¶
func (m *GrantReward) String() string
func (*GrantReward) XXX_DiscardUnknown ¶
func (m *GrantReward) XXX_DiscardUnknown()
func (*GrantReward) XXX_Marshal ¶
func (m *GrantReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GrantReward) XXX_Merge ¶
func (dst *GrantReward) XXX_Merge(src proto.Message)
func (*GrantReward) XXX_Size ¶
func (m *GrantReward) XXX_Size() int
func (*GrantReward) XXX_Unmarshal ¶
func (m *GrantReward) XXX_Unmarshal(b []byte) error
type LogPb ¶
type LogPb struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Topics [][]byte `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` BlockNumber uint64 `protobuf:"varint,4,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` TxnHash []byte `protobuf:"bytes,5,opt,name=txnHash,proto3" json:"txnHash,omitempty"` BlockHash []byte `protobuf:"bytes,6,opt,name=blockHash,proto3" json:"blockHash,omitempty"` Index uint32 `protobuf:"varint,7,opt,name=index,proto3" json:"index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LogPb) Descriptor ¶
func (*LogPb) GetAddress ¶
func (*LogPb) GetBlockHash ¶
func (*LogPb) GetBlockNumber ¶
func (*LogPb) GetTxnHash ¶
func (*LogPb) ProtoMessage ¶
func (*LogPb) ProtoMessage()
func (*LogPb) XXX_DiscardUnknown ¶
func (m *LogPb) XXX_DiscardUnknown()
func (*LogPb) XXX_Marshal ¶
func (*LogPb) XXX_Unmarshal ¶
type MerkleRoot ¶
type MerkleRoot struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MerkleRoot) Descriptor ¶
func (*MerkleRoot) Descriptor() ([]byte, []int)
func (*MerkleRoot) GetName ¶
func (m *MerkleRoot) GetName() string
func (*MerkleRoot) GetValue ¶
func (m *MerkleRoot) GetValue() []byte
func (*MerkleRoot) ProtoMessage ¶
func (*MerkleRoot) ProtoMessage()
func (*MerkleRoot) Reset ¶
func (m *MerkleRoot) Reset()
func (*MerkleRoot) String ¶
func (m *MerkleRoot) String() string
func (*MerkleRoot) XXX_DiscardUnknown ¶
func (m *MerkleRoot) XXX_DiscardUnknown()
func (*MerkleRoot) XXX_Marshal ¶
func (m *MerkleRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MerkleRoot) XXX_Merge ¶
func (dst *MerkleRoot) XXX_Merge(src proto.Message)
func (*MerkleRoot) XXX_Size ¶
func (m *MerkleRoot) XXX_Size() int
func (*MerkleRoot) XXX_Unmarshal ¶
func (m *MerkleRoot) XXX_Unmarshal(b []byte) error
type PlumChallengeExit ¶
type PlumChallengeExit struct { SubChainAddress string `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"` CoinID uint64 `protobuf:"varint,2,opt,name=coinID,proto3" json:"coinID,omitempty"` ChallengeTransfer []byte `protobuf:"bytes,3,opt,name=challengeTransfer,proto3" json:"challengeTransfer,omitempty"` ChallengeTransferBlockProof []byte `protobuf:"bytes,4,opt,name=challengeTransferBlockProof,proto3" json:"challengeTransferBlockProof,omitempty"` ChallengeTransferBlockHeight uint64 `protobuf:"varint,5,opt,name=challengeTransferBlockHeight,proto3" json:"challengeTransferBlockHeight,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlumChallengeExit) Descriptor ¶
func (*PlumChallengeExit) Descriptor() ([]byte, []int)
func (*PlumChallengeExit) GetChallengeTransfer ¶
func (m *PlumChallengeExit) GetChallengeTransfer() []byte
func (*PlumChallengeExit) GetChallengeTransferBlockHeight ¶
func (m *PlumChallengeExit) GetChallengeTransferBlockHeight() uint64
func (*PlumChallengeExit) GetChallengeTransferBlockProof ¶
func (m *PlumChallengeExit) GetChallengeTransferBlockProof() []byte
func (*PlumChallengeExit) GetCoinID ¶
func (m *PlumChallengeExit) GetCoinID() uint64
func (*PlumChallengeExit) GetSubChainAddress ¶
func (m *PlumChallengeExit) GetSubChainAddress() string
func (*PlumChallengeExit) ProtoMessage ¶
func (*PlumChallengeExit) ProtoMessage()
func (*PlumChallengeExit) Reset ¶
func (m *PlumChallengeExit) Reset()
func (*PlumChallengeExit) String ¶
func (m *PlumChallengeExit) String() string
func (*PlumChallengeExit) XXX_DiscardUnknown ¶
func (m *PlumChallengeExit) XXX_DiscardUnknown()
func (*PlumChallengeExit) XXX_Marshal ¶
func (m *PlumChallengeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumChallengeExit) XXX_Merge ¶
func (dst *PlumChallengeExit) XXX_Merge(src proto.Message)
func (*PlumChallengeExit) XXX_Size ¶
func (m *PlumChallengeExit) XXX_Size() int
func (*PlumChallengeExit) XXX_Unmarshal ¶
func (m *PlumChallengeExit) XXX_Unmarshal(b []byte) error
type PlumCreateDepositPb ¶
type PlumCreateDepositPb struct { SubChainAddress string `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"` Amount []byte `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlumCreateDepositPb) Descriptor ¶
func (*PlumCreateDepositPb) Descriptor() ([]byte, []int)
func (*PlumCreateDepositPb) GetAmount ¶
func (m *PlumCreateDepositPb) GetAmount() []byte
func (*PlumCreateDepositPb) GetRecipient ¶
func (m *PlumCreateDepositPb) GetRecipient() string
func (*PlumCreateDepositPb) GetSubChainAddress ¶
func (m *PlumCreateDepositPb) GetSubChainAddress() string
func (*PlumCreateDepositPb) ProtoMessage ¶
func (*PlumCreateDepositPb) ProtoMessage()
func (*PlumCreateDepositPb) Reset ¶
func (m *PlumCreateDepositPb) Reset()
func (*PlumCreateDepositPb) String ¶
func (m *PlumCreateDepositPb) String() string
func (*PlumCreateDepositPb) XXX_DiscardUnknown ¶
func (m *PlumCreateDepositPb) XXX_DiscardUnknown()
func (*PlumCreateDepositPb) XXX_Marshal ¶
func (m *PlumCreateDepositPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumCreateDepositPb) XXX_Merge ¶
func (dst *PlumCreateDepositPb) XXX_Merge(src proto.Message)
func (*PlumCreateDepositPb) XXX_Size ¶
func (m *PlumCreateDepositPb) XXX_Size() int
func (*PlumCreateDepositPb) XXX_Unmarshal ¶
func (m *PlumCreateDepositPb) XXX_Unmarshal(b []byte) error
type PlumFinalizeExit ¶
type PlumFinalizeExit struct { SubChainAddress string `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"` CoinID uint64 `protobuf:"varint,2,opt,name=coinID,proto3" json:"coinID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlumFinalizeExit) Descriptor ¶
func (*PlumFinalizeExit) Descriptor() ([]byte, []int)
func (*PlumFinalizeExit) GetCoinID ¶
func (m *PlumFinalizeExit) GetCoinID() uint64
func (*PlumFinalizeExit) GetSubChainAddress ¶
func (m *PlumFinalizeExit) GetSubChainAddress() string
func (*PlumFinalizeExit) ProtoMessage ¶
func (*PlumFinalizeExit) ProtoMessage()
func (*PlumFinalizeExit) Reset ¶
func (m *PlumFinalizeExit) Reset()
func (*PlumFinalizeExit) String ¶
func (m *PlumFinalizeExit) String() string
func (*PlumFinalizeExit) XXX_DiscardUnknown ¶
func (m *PlumFinalizeExit) XXX_DiscardUnknown()
func (*PlumFinalizeExit) XXX_Marshal ¶
func (m *PlumFinalizeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumFinalizeExit) XXX_Merge ¶
func (dst *PlumFinalizeExit) XXX_Merge(src proto.Message)
func (*PlumFinalizeExit) XXX_Size ¶
func (m *PlumFinalizeExit) XXX_Size() int
func (*PlumFinalizeExit) XXX_Unmarshal ¶
func (m *PlumFinalizeExit) XXX_Unmarshal(b []byte) error
type PlumPutBlockPb ¶
type PlumPutBlockPb struct { SubChainAddress string `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Roots map[string][]byte `` /* 151-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlumPutBlockPb) Descriptor ¶
func (*PlumPutBlockPb) Descriptor() ([]byte, []int)
func (*PlumPutBlockPb) GetHeight ¶
func (m *PlumPutBlockPb) GetHeight() uint64
func (*PlumPutBlockPb) GetRoots ¶
func (m *PlumPutBlockPb) GetRoots() map[string][]byte
func (*PlumPutBlockPb) GetSubChainAddress ¶
func (m *PlumPutBlockPb) GetSubChainAddress() string
func (*PlumPutBlockPb) ProtoMessage ¶
func (*PlumPutBlockPb) ProtoMessage()
func (*PlumPutBlockPb) Reset ¶
func (m *PlumPutBlockPb) Reset()
func (*PlumPutBlockPb) String ¶
func (m *PlumPutBlockPb) String() string
func (*PlumPutBlockPb) XXX_DiscardUnknown ¶
func (m *PlumPutBlockPb) XXX_DiscardUnknown()
func (*PlumPutBlockPb) XXX_Marshal ¶
func (m *PlumPutBlockPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumPutBlockPb) XXX_Merge ¶
func (dst *PlumPutBlockPb) XXX_Merge(src proto.Message)
func (*PlumPutBlockPb) XXX_Size ¶
func (m *PlumPutBlockPb) XXX_Size() int
func (*PlumPutBlockPb) XXX_Unmarshal ¶
func (m *PlumPutBlockPb) XXX_Unmarshal(b []byte) error
type PlumResponseChallengeExit ¶
type PlumResponseChallengeExit struct { SubChainAddress string `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"` CoinID uint64 `protobuf:"varint,2,opt,name=coinID,proto3" json:"coinID,omitempty"` ChallengeTransfer []byte `protobuf:"bytes,3,opt,name=challengeTransfer,proto3" json:"challengeTransfer,omitempty"` ResponseTransfer []byte `protobuf:"bytes,4,opt,name=responseTransfer,proto3" json:"responseTransfer,omitempty"` ResponseTransferBlockProof []byte `protobuf:"bytes,5,opt,name=responseTransferBlockProof,proto3" json:"responseTransferBlockProof,omitempty"` PreviousTransferBlockHeight uint64 `protobuf:"varint,6,opt,name=previousTransferBlockHeight,proto3" json:"previousTransferBlockHeight,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlumResponseChallengeExit) Descriptor ¶
func (*PlumResponseChallengeExit) Descriptor() ([]byte, []int)
func (*PlumResponseChallengeExit) GetChallengeTransfer ¶
func (m *PlumResponseChallengeExit) GetChallengeTransfer() []byte
func (*PlumResponseChallengeExit) GetCoinID ¶
func (m *PlumResponseChallengeExit) GetCoinID() uint64
func (*PlumResponseChallengeExit) GetPreviousTransferBlockHeight ¶
func (m *PlumResponseChallengeExit) GetPreviousTransferBlockHeight() uint64
func (*PlumResponseChallengeExit) GetResponseTransfer ¶
func (m *PlumResponseChallengeExit) GetResponseTransfer() []byte
func (*PlumResponseChallengeExit) GetResponseTransferBlockProof ¶
func (m *PlumResponseChallengeExit) GetResponseTransferBlockProof() []byte
func (*PlumResponseChallengeExit) GetSubChainAddress ¶
func (m *PlumResponseChallengeExit) GetSubChainAddress() string
func (*PlumResponseChallengeExit) ProtoMessage ¶
func (*PlumResponseChallengeExit) ProtoMessage()
func (*PlumResponseChallengeExit) Reset ¶
func (m *PlumResponseChallengeExit) Reset()
func (*PlumResponseChallengeExit) String ¶
func (m *PlumResponseChallengeExit) String() string
func (*PlumResponseChallengeExit) XXX_DiscardUnknown ¶
func (m *PlumResponseChallengeExit) XXX_DiscardUnknown()
func (*PlumResponseChallengeExit) XXX_Marshal ¶
func (m *PlumResponseChallengeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumResponseChallengeExit) XXX_Merge ¶
func (dst *PlumResponseChallengeExit) XXX_Merge(src proto.Message)
func (*PlumResponseChallengeExit) XXX_Size ¶
func (m *PlumResponseChallengeExit) XXX_Size() int
func (*PlumResponseChallengeExit) XXX_Unmarshal ¶
func (m *PlumResponseChallengeExit) XXX_Unmarshal(b []byte) error
type PlumSettleDepositPb ¶
type PlumSettleDepositPb struct { CoinID uint64 `protobuf:"varint,1,opt,name=coinID,proto3" json:"coinID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
plum sub chain APIs
func (*PlumSettleDepositPb) Descriptor ¶
func (*PlumSettleDepositPb) Descriptor() ([]byte, []int)
func (*PlumSettleDepositPb) GetCoinID ¶
func (m *PlumSettleDepositPb) GetCoinID() uint64
func (*PlumSettleDepositPb) ProtoMessage ¶
func (*PlumSettleDepositPb) ProtoMessage()
func (*PlumSettleDepositPb) Reset ¶
func (m *PlumSettleDepositPb) Reset()
func (*PlumSettleDepositPb) String ¶
func (m *PlumSettleDepositPb) String() string
func (*PlumSettleDepositPb) XXX_DiscardUnknown ¶
func (m *PlumSettleDepositPb) XXX_DiscardUnknown()
func (*PlumSettleDepositPb) XXX_Marshal ¶
func (m *PlumSettleDepositPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumSettleDepositPb) XXX_Merge ¶
func (dst *PlumSettleDepositPb) XXX_Merge(src proto.Message)
func (*PlumSettleDepositPb) XXX_Size ¶
func (m *PlumSettleDepositPb) XXX_Size() int
func (*PlumSettleDepositPb) XXX_Unmarshal ¶
func (m *PlumSettleDepositPb) XXX_Unmarshal(b []byte) error
type PlumStartExitPb ¶
type PlumStartExitPb struct { SubChainAddress string `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"` PreviousTransfer []byte `protobuf:"bytes,2,opt,name=previousTransfer,proto3" json:"previousTransfer,omitempty"` PreviousTransferBlockProof []byte `protobuf:"bytes,3,opt,name=previousTransferBlockProof,proto3" json:"previousTransferBlockProof,omitempty"` PreviousTransferBlockHeight uint64 `protobuf:"varint,4,opt,name=previousTransferBlockHeight,proto3" json:"previousTransferBlockHeight,omitempty"` ExitTransfer []byte `protobuf:"bytes,5,opt,name=exitTransfer,proto3" json:"exitTransfer,omitempty"` ExitTransferBlockProof []byte `protobuf:"bytes,6,opt,name=exitTransferBlockProof,proto3" json:"exitTransferBlockProof,omitempty"` ExitTransferBlockHeight uint64 `protobuf:"varint,7,opt,name=exitTransferBlockHeight,proto3" json:"exitTransferBlockHeight,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlumStartExitPb) Descriptor ¶
func (*PlumStartExitPb) Descriptor() ([]byte, []int)
func (*PlumStartExitPb) GetExitTransfer ¶
func (m *PlumStartExitPb) GetExitTransfer() []byte
func (*PlumStartExitPb) GetExitTransferBlockHeight ¶
func (m *PlumStartExitPb) GetExitTransferBlockHeight() uint64
func (*PlumStartExitPb) GetExitTransferBlockProof ¶
func (m *PlumStartExitPb) GetExitTransferBlockProof() []byte
func (*PlumStartExitPb) GetPreviousTransfer ¶
func (m *PlumStartExitPb) GetPreviousTransfer() []byte
func (*PlumStartExitPb) GetPreviousTransferBlockHeight ¶
func (m *PlumStartExitPb) GetPreviousTransferBlockHeight() uint64
func (*PlumStartExitPb) GetPreviousTransferBlockProof ¶
func (m *PlumStartExitPb) GetPreviousTransferBlockProof() []byte
func (*PlumStartExitPb) GetSubChainAddress ¶
func (m *PlumStartExitPb) GetSubChainAddress() string
func (*PlumStartExitPb) ProtoMessage ¶
func (*PlumStartExitPb) ProtoMessage()
func (*PlumStartExitPb) Reset ¶
func (m *PlumStartExitPb) Reset()
func (*PlumStartExitPb) String ¶
func (m *PlumStartExitPb) String() string
func (*PlumStartExitPb) XXX_DiscardUnknown ¶
func (m *PlumStartExitPb) XXX_DiscardUnknown()
func (*PlumStartExitPb) XXX_Marshal ¶
func (m *PlumStartExitPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumStartExitPb) XXX_Merge ¶
func (dst *PlumStartExitPb) XXX_Merge(src proto.Message)
func (*PlumStartExitPb) XXX_Size ¶
func (m *PlumStartExitPb) XXX_Size() int
func (*PlumStartExitPb) XXX_Unmarshal ¶
func (m *PlumStartExitPb) XXX_Unmarshal(b []byte) error
type PlumTransferPb ¶
type PlumTransferPb struct { CoinID uint64 `protobuf:"varint,1,opt,name=coinID,proto3" json:"coinID,omitempty"` Denomination []byte `protobuf:"bytes,2,opt,name=denomination,proto3" json:"denomination,omitempty"` Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` Recipient string `protobuf:"bytes,4,opt,name=recipient,proto3" json:"recipient,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlumTransferPb) Descriptor ¶
func (*PlumTransferPb) Descriptor() ([]byte, []int)
func (*PlumTransferPb) GetCoinID ¶
func (m *PlumTransferPb) GetCoinID() uint64
func (*PlumTransferPb) GetDenomination ¶
func (m *PlumTransferPb) GetDenomination() []byte
func (*PlumTransferPb) GetOwner ¶
func (m *PlumTransferPb) GetOwner() string
func (*PlumTransferPb) GetRecipient ¶
func (m *PlumTransferPb) GetRecipient() string
func (*PlumTransferPb) ProtoMessage ¶
func (*PlumTransferPb) ProtoMessage()
func (*PlumTransferPb) Reset ¶
func (m *PlumTransferPb) Reset()
func (*PlumTransferPb) String ¶
func (m *PlumTransferPb) String() string
func (*PlumTransferPb) XXX_DiscardUnknown ¶
func (m *PlumTransferPb) XXX_DiscardUnknown()
func (*PlumTransferPb) XXX_Marshal ¶
func (m *PlumTransferPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumTransferPb) XXX_Merge ¶
func (dst *PlumTransferPb) XXX_Merge(src proto.Message)
func (*PlumTransferPb) XXX_Size ¶
func (m *PlumTransferPb) XXX_Size() int
func (*PlumTransferPb) XXX_Unmarshal ¶
func (m *PlumTransferPb) XXX_Unmarshal(b []byte) error
type PutBlockPb ¶
type PutBlockPb struct { SubChainAddress string `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Roots []*MerkleRoot `protobuf:"bytes,3,rep,name=roots,proto3" json:"roots,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutBlockPb) Descriptor ¶
func (*PutBlockPb) Descriptor() ([]byte, []int)
func (*PutBlockPb) GetHeight ¶
func (m *PutBlockPb) GetHeight() uint64
func (*PutBlockPb) GetRoots ¶
func (m *PutBlockPb) GetRoots() []*MerkleRoot
func (*PutBlockPb) GetSubChainAddress ¶
func (m *PutBlockPb) GetSubChainAddress() string
func (*PutBlockPb) ProtoMessage ¶
func (*PutBlockPb) ProtoMessage()
func (*PutBlockPb) Reset ¶
func (m *PutBlockPb) Reset()
func (*PutBlockPb) String ¶
func (m *PutBlockPb) String() string
func (*PutBlockPb) XXX_DiscardUnknown ¶
func (m *PutBlockPb) XXX_DiscardUnknown()
func (*PutBlockPb) XXX_Marshal ¶
func (m *PutBlockPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutBlockPb) XXX_Merge ¶
func (dst *PutBlockPb) XXX_Merge(src proto.Message)
func (*PutBlockPb) XXX_Size ¶
func (m *PutBlockPb) XXX_Size() int
func (*PutBlockPb) XXX_Unmarshal ¶
func (m *PutBlockPb) XXX_Unmarshal(b []byte) error
type ReceiptPb ¶
type ReceiptPb struct { ReturnValue []byte `protobuf:"bytes,1,opt,name=returnValue,proto3" json:"returnValue,omitempty"` Status uint64 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` ActHash []byte `protobuf:"bytes,3,opt,name=actHash,proto3" json:"actHash,omitempty"` GasConsumed uint64 `protobuf:"varint,4,opt,name=gasConsumed,proto3" json:"gasConsumed,omitempty"` ContractAddress string `protobuf:"bytes,5,opt,name=contractAddress,proto3" json:"contractAddress,omitempty"` Logs []*LogPb `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReceiptPb) Descriptor ¶
func (*ReceiptPb) GetActHash ¶
func (*ReceiptPb) GetContractAddress ¶
func (*ReceiptPb) GetGasConsumed ¶
func (*ReceiptPb) GetReturnValue ¶
func (*ReceiptPb) ProtoMessage ¶
func (*ReceiptPb) ProtoMessage()
func (*ReceiptPb) XXX_DiscardUnknown ¶
func (m *ReceiptPb) XXX_DiscardUnknown()
func (*ReceiptPb) XXX_Marshal ¶
func (*ReceiptPb) XXX_Unmarshal ¶
type Receipts ¶
type Receipts struct { Receipts []*ReceiptPb `protobuf:"bytes,1,rep,name=receipts,proto3" json:"receipts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Receipts consists of a collection of recepit
func (*Receipts) Descriptor ¶
func (*Receipts) GetReceipts ¶
func (*Receipts) ProtoMessage ¶
func (*Receipts) ProtoMessage()
func (*Receipts) XXX_DiscardUnknown ¶
func (m *Receipts) XXX_DiscardUnknown()
func (*Receipts) XXX_Marshal ¶
func (*Receipts) XXX_Unmarshal ¶
type RewardType ¶
type RewardType int32
const ( RewardType_Block RewardType = 0 RewardType_Epoch RewardType = 1 )
func (RewardType) EnumDescriptor ¶
func (RewardType) EnumDescriptor() ([]byte, []int)
func (RewardType) String ¶
func (x RewardType) String() string
type SetReward ¶
type SetReward struct { Amount []byte `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Type RewardType `protobuf:"varint,3,opt,name=type,proto3,enum=iproto.RewardType" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetReward) Descriptor ¶
func (*SetReward) GetType ¶
func (m *SetReward) GetType() RewardType
func (*SetReward) ProtoMessage ¶
func (*SetReward) ProtoMessage()
func (*SetReward) XXX_DiscardUnknown ¶
func (m *SetReward) XXX_DiscardUnknown()
func (*SetReward) XXX_Marshal ¶
func (*SetReward) XXX_Unmarshal ¶
type SettleDepositPb ¶
type SettleDepositPb struct { Amount []byte `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` Index uint64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SettleDepositPb) Descriptor ¶
func (*SettleDepositPb) Descriptor() ([]byte, []int)
func (*SettleDepositPb) GetAmount ¶
func (m *SettleDepositPb) GetAmount() []byte
func (*SettleDepositPb) GetIndex ¶
func (m *SettleDepositPb) GetIndex() uint64
func (*SettleDepositPb) GetRecipient ¶
func (m *SettleDepositPb) GetRecipient() string
func (*SettleDepositPb) ProtoMessage ¶
func (*SettleDepositPb) ProtoMessage()
func (*SettleDepositPb) Reset ¶
func (m *SettleDepositPb) Reset()
func (*SettleDepositPb) String ¶
func (m *SettleDepositPb) String() string
func (*SettleDepositPb) XXX_DiscardUnknown ¶
func (m *SettleDepositPb) XXX_DiscardUnknown()
func (*SettleDepositPb) XXX_Marshal ¶
func (m *SettleDepositPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SettleDepositPb) XXX_Merge ¶
func (dst *SettleDepositPb) XXX_Merge(src proto.Message)
func (*SettleDepositPb) XXX_Size ¶
func (m *SettleDepositPb) XXX_Size() int
func (*SettleDepositPb) XXX_Unmarshal ¶
func (m *SettleDepositPb) XXX_Unmarshal(b []byte) error
type StartSubChainPb ¶
type StartSubChainPb struct { // TODO: chainID chould be assigned by system and returned via a receipt ChainID uint32 `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"` SecurityDeposit []byte `protobuf:"bytes,2,opt,name=securityDeposit,proto3" json:"securityDeposit,omitempty"` OperationDeposit []byte `protobuf:"bytes,3,opt,name=operationDeposit,proto3" json:"operationDeposit,omitempty"` StartHeight uint64 `protobuf:"varint,4,opt,name=startHeight,proto3" json:"startHeight,omitempty"` ParentHeightOffset uint64 `protobuf:"varint,5,opt,name=parentHeightOffset,proto3" json:"parentHeightOffset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StartSubChainPb) Descriptor ¶
func (*StartSubChainPb) Descriptor() ([]byte, []int)
func (*StartSubChainPb) GetChainID ¶
func (m *StartSubChainPb) GetChainID() uint32
func (*StartSubChainPb) GetOperationDeposit ¶
func (m *StartSubChainPb) GetOperationDeposit() []byte
func (*StartSubChainPb) GetParentHeightOffset ¶
func (m *StartSubChainPb) GetParentHeightOffset() uint64
func (*StartSubChainPb) GetSecurityDeposit ¶
func (m *StartSubChainPb) GetSecurityDeposit() []byte
func (*StartSubChainPb) GetStartHeight ¶
func (m *StartSubChainPb) GetStartHeight() uint64
func (*StartSubChainPb) ProtoMessage ¶
func (*StartSubChainPb) ProtoMessage()
func (*StartSubChainPb) Reset ¶
func (m *StartSubChainPb) Reset()
func (*StartSubChainPb) String ¶
func (m *StartSubChainPb) String() string
func (*StartSubChainPb) XXX_DiscardUnknown ¶
func (m *StartSubChainPb) XXX_DiscardUnknown()
func (*StartSubChainPb) XXX_Marshal ¶
func (m *StartSubChainPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StartSubChainPb) XXX_Merge ¶
func (dst *StartSubChainPb) XXX_Merge(src proto.Message)
func (*StartSubChainPb) XXX_Size ¶
func (m *StartSubChainPb) XXX_Size() int
func (*StartSubChainPb) XXX_Unmarshal ¶
func (m *StartSubChainPb) XXX_Unmarshal(b []byte) error
type StopSubChainPb ¶
type StopSubChainPb struct { ChainID uint32 `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"` StopHeight uint64 `protobuf:"varint,2,opt,name=stopHeight,proto3" json:"stopHeight,omitempty"` SubChainAddress string `protobuf:"bytes,3,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StopSubChainPb) Descriptor ¶
func (*StopSubChainPb) Descriptor() ([]byte, []int)
func (*StopSubChainPb) GetChainID ¶
func (m *StopSubChainPb) GetChainID() uint32
func (*StopSubChainPb) GetStopHeight ¶
func (m *StopSubChainPb) GetStopHeight() uint64
func (*StopSubChainPb) GetSubChainAddress ¶
func (m *StopSubChainPb) GetSubChainAddress() string
func (*StopSubChainPb) ProtoMessage ¶
func (*StopSubChainPb) ProtoMessage()
func (*StopSubChainPb) Reset ¶
func (m *StopSubChainPb) Reset()
func (*StopSubChainPb) String ¶
func (m *StopSubChainPb) String() string
func (*StopSubChainPb) XXX_DiscardUnknown ¶
func (m *StopSubChainPb) XXX_DiscardUnknown()
func (*StopSubChainPb) XXX_Marshal ¶
func (m *StopSubChainPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StopSubChainPb) XXX_Merge ¶
func (dst *StopSubChainPb) XXX_Merge(src proto.Message)
func (*StopSubChainPb) XXX_Size ¶
func (m *StopSubChainPb) XXX_Size() int
func (*StopSubChainPb) XXX_Unmarshal ¶
func (m *StopSubChainPb) XXX_Unmarshal(b []byte) error
type TerminatePlumChainPb ¶
type TerminatePlumChainPb struct { SubChainAddress string `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TerminatePlumChainPb) Descriptor ¶
func (*TerminatePlumChainPb) Descriptor() ([]byte, []int)
func (*TerminatePlumChainPb) GetSubChainAddress ¶
func (m *TerminatePlumChainPb) GetSubChainAddress() string
func (*TerminatePlumChainPb) ProtoMessage ¶
func (*TerminatePlumChainPb) ProtoMessage()
func (*TerminatePlumChainPb) Reset ¶
func (m *TerminatePlumChainPb) Reset()
func (*TerminatePlumChainPb) String ¶
func (m *TerminatePlumChainPb) String() string
func (*TerminatePlumChainPb) XXX_DiscardUnknown ¶
func (m *TerminatePlumChainPb) XXX_DiscardUnknown()
func (*TerminatePlumChainPb) XXX_Marshal ¶
func (m *TerminatePlumChainPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TerminatePlumChainPb) XXX_Merge ¶
func (dst *TerminatePlumChainPb) XXX_Merge(src proto.Message)
func (*TerminatePlumChainPb) XXX_Size ¶
func (m *TerminatePlumChainPb) XXX_Size() int
func (*TerminatePlumChainPb) XXX_Unmarshal ¶
func (m *TerminatePlumChainPb) XXX_Unmarshal(b []byte) error
type TestPayload ¶
type TestPayload struct { MsgBody []byte `protobuf:"bytes,1,opt,name=msg_body,json=msgBody,proto3" json:"msg_body,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
////////////////////////////////////////////////////////////////////////////////////////////////// BELOW ARE DEFINITIONS FOR TEST-ONLY MESSAGES! //////////////////////////////////////////////////////////////////////////////////////////////////
func (*TestPayload) Descriptor ¶
func (*TestPayload) Descriptor() ([]byte, []int)
func (*TestPayload) GetMsgBody ¶
func (m *TestPayload) GetMsgBody() []byte
func (*TestPayload) ProtoMessage ¶
func (*TestPayload) ProtoMessage()
func (*TestPayload) Reset ¶
func (m *TestPayload) Reset()
func (*TestPayload) String ¶
func (m *TestPayload) String() string
func (*TestPayload) XXX_DiscardUnknown ¶
func (m *TestPayload) XXX_DiscardUnknown()
func (*TestPayload) XXX_Marshal ¶
func (m *TestPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TestPayload) XXX_Merge ¶
func (dst *TestPayload) XXX_Merge(src proto.Message)
func (*TestPayload) XXX_Size ¶
func (m *TestPayload) XXX_Size() int
func (*TestPayload) XXX_Unmarshal ¶
func (m *TestPayload) XXX_Unmarshal(b []byte) error
type TransferPb ¶
type TransferPb struct { // used by state-based model Amount []byte `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransferPb) Descriptor ¶
func (*TransferPb) Descriptor() ([]byte, []int)
func (*TransferPb) GetAmount ¶
func (m *TransferPb) GetAmount() []byte
func (*TransferPb) GetPayload ¶
func (m *TransferPb) GetPayload() []byte
func (*TransferPb) GetRecipient ¶
func (m *TransferPb) GetRecipient() string
func (*TransferPb) ProtoMessage ¶
func (*TransferPb) ProtoMessage()
func (*TransferPb) Reset ¶
func (m *TransferPb) Reset()
func (*TransferPb) String ¶
func (m *TransferPb) String() string
func (*TransferPb) XXX_DiscardUnknown ¶
func (m *TransferPb) XXX_DiscardUnknown()
func (*TransferPb) XXX_Marshal ¶
func (m *TransferPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferPb) XXX_Merge ¶
func (dst *TransferPb) XXX_Merge(src proto.Message)
func (*TransferPb) XXX_Size ¶
func (m *TransferPb) XXX_Size() int
func (*TransferPb) XXX_Unmarshal ¶
func (m *TransferPb) XXX_Unmarshal(b []byte) error
type VotePb ¶
type VotePb struct { Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` VoteeAddress string `protobuf:"bytes,2,opt,name=voteeAddress,proto3" json:"voteeAddress,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VotePb) Descriptor ¶
func (*VotePb) GetTimestamp ¶
func (*VotePb) GetVoteeAddress ¶
func (*VotePb) ProtoMessage ¶
func (*VotePb) ProtoMessage()
func (*VotePb) XXX_DiscardUnknown ¶
func (m *VotePb) XXX_DiscardUnknown()