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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (*AccountPb) GetBalance ¶ added in v0.4.0
func (*AccountPb) GetCodeHash ¶ added in v0.4.0
func (*AccountPb) GetIsCandidate ¶ added in v0.4.0
func (*AccountPb) GetVotingWeight ¶ added in v0.4.0
func (*AccountPb) ProtoMessage ¶ added in v0.4.0
func (*AccountPb) ProtoMessage()
func (*AccountPb) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *AccountPb) XXX_DiscardUnknown()
func (*AccountPb) XXX_Marshal ¶ added in v0.4.0
func (*AccountPb) XXX_Unmarshal ¶ added in v0.4.0
type ActionPb ¶ added in v0.2.0
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 ¶ added in v0.2.0
func (*ActionPb) GetClaimFromRewardingFund ¶ added in v0.4.4
func (m *ActionPb) GetClaimFromRewardingFund() *ClaimFromRewardingFund
func (*ActionPb) GetCreateDeposit ¶ added in v0.4.0
func (m *ActionPb) GetCreateDeposit() *CreateDepositPb
func (*ActionPb) GetCreatePlumChain ¶ added in v0.4.0
func (m *ActionPb) GetCreatePlumChain() *CreatePlumChainPb
func (*ActionPb) GetDepositToRewardingFund ¶ added in v0.4.4
func (m *ActionPb) GetDepositToRewardingFund() *DepositToRewardingFund
func (*ActionPb) GetExecution ¶ added in v0.3.0
func (m *ActionPb) GetExecution() *ExecutionPb
func (*ActionPb) GetGasLimit ¶ added in v0.4.0
func (*ActionPb) GetGasPrice ¶ added in v0.4.0
func (*ActionPb) GetGrantReward ¶ added in v0.4.4
func (m *ActionPb) GetGrantReward() *GrantReward
func (*ActionPb) GetPlumChallengeExit ¶ added in v0.4.0
func (m *ActionPb) GetPlumChallengeExit() *PlumChallengeExit
func (*ActionPb) GetPlumCreateDeposit ¶ added in v0.4.0
func (m *ActionPb) GetPlumCreateDeposit() *PlumCreateDepositPb
func (*ActionPb) GetPlumFinalizeExit ¶ added in v0.4.0
func (m *ActionPb) GetPlumFinalizeExit() *PlumFinalizeExit
func (*ActionPb) GetPlumPutBlock ¶ added in v0.4.0
func (m *ActionPb) GetPlumPutBlock() *PlumPutBlockPb
func (*ActionPb) GetPlumResponseChallengeExit ¶ added in v0.4.0
func (m *ActionPb) GetPlumResponseChallengeExit() *PlumResponseChallengeExit
func (*ActionPb) GetPlumSettleDeposit ¶ added in v0.4.0
func (m *ActionPb) GetPlumSettleDeposit() *PlumSettleDepositPb
func (*ActionPb) GetPlumStartExit ¶ added in v0.4.0
func (m *ActionPb) GetPlumStartExit() *PlumStartExitPb
func (*ActionPb) GetPlumTransfer ¶ added in v0.4.0
func (m *ActionPb) GetPlumTransfer() *PlumTransferPb
func (*ActionPb) GetPutBlock ¶ added in v0.4.0
func (m *ActionPb) GetPutBlock() *PutBlockPb
func (*ActionPb) GetSenderPubKey ¶ added in v0.4.0
func (*ActionPb) GetSetReward ¶ added in v0.4.4
func (*ActionPb) GetSettleDeposit ¶ added in v0.4.0
func (m *ActionPb) GetSettleDeposit() *SettleDepositPb
func (*ActionPb) GetSignature ¶ added in v0.3.0
func (*ActionPb) GetStartSubChain ¶ added in v0.4.0
func (m *ActionPb) GetStartSubChain() *StartSubChainPb
func (*ActionPb) GetStopSubChain ¶ added in v0.4.0
func (m *ActionPb) GetStopSubChain() *StopSubChainPb
func (*ActionPb) GetTerminatePlumChain ¶ added in v0.4.0
func (m *ActionPb) GetTerminatePlumChain() *TerminatePlumChainPb
func (*ActionPb) GetTransfer ¶ added in v0.2.0
func (m *ActionPb) GetTransfer() *TransferPb
func (*ActionPb) GetVersion ¶ added in v0.3.0
func (*ActionPb) ProtoMessage ¶ added in v0.2.0
func (*ActionPb) ProtoMessage()
func (*ActionPb) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *ActionPb) XXX_DiscardUnknown()
func (*ActionPb) XXX_Marshal ¶ added in v0.4.0
func (*ActionPb) XXX_OneofFuncs ¶ added in v0.2.0
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 ¶ added in v0.4.0
type ActionPb_ClaimFromRewardingFund ¶ added in v0.4.4
type ActionPb_ClaimFromRewardingFund struct {
ClaimFromRewardingFund *ClaimFromRewardingFund `protobuf:"bytes,31,opt,name=claimFromRewardingFund,proto3,oneof"`
}
type ActionPb_CreateDeposit ¶ added in v0.4.0
type ActionPb_CreateDeposit struct {
CreateDeposit *CreateDepositPb `protobuf:"bytes,16,opt,name=createDeposit,proto3,oneof"`
}
type ActionPb_CreatePlumChain ¶ added in v0.4.0
type ActionPb_CreatePlumChain struct {
CreatePlumChain *CreatePlumChainPb `protobuf:"bytes,18,opt,name=createPlumChain,proto3,oneof"`
}
type ActionPb_DepositToRewardingFund ¶ added in v0.4.4
type ActionPb_DepositToRewardingFund struct {
DepositToRewardingFund *DepositToRewardingFund `protobuf:"bytes,30,opt,name=depositToRewardingFund,proto3,oneof"`
}
type ActionPb_Execution ¶ added in v0.3.0
type ActionPb_Execution struct {
Execution *ExecutionPb `protobuf:"bytes,12,opt,name=execution,proto3,oneof"`
}
type ActionPb_GrantReward ¶ added in v0.4.4
type ActionPb_GrantReward struct {
GrantReward *GrantReward `protobuf:"bytes,33,opt,name=grantReward,proto3,oneof"`
}
type ActionPb_PlumChallengeExit ¶ added in v0.4.0
type ActionPb_PlumChallengeExit struct {
PlumChallengeExit *PlumChallengeExit `protobuf:"bytes,23,opt,name=plumChallengeExit,proto3,oneof"`
}
type ActionPb_PlumCreateDeposit ¶ added in v0.4.0
type ActionPb_PlumCreateDeposit struct {
PlumCreateDeposit *PlumCreateDepositPb `protobuf:"bytes,21,opt,name=plumCreateDeposit,proto3,oneof"`
}
type ActionPb_PlumFinalizeExit ¶ added in v0.4.0
type ActionPb_PlumFinalizeExit struct {
PlumFinalizeExit *PlumFinalizeExit `protobuf:"bytes,25,opt,name=plumFinalizeExit,proto3,oneof"`
}
type ActionPb_PlumPutBlock ¶ added in v0.4.0
type ActionPb_PlumPutBlock struct {
PlumPutBlock *PlumPutBlockPb `protobuf:"bytes,20,opt,name=plumPutBlock,proto3,oneof"`
}
type ActionPb_PlumResponseChallengeExit ¶ added in v0.4.0
type ActionPb_PlumResponseChallengeExit struct {
PlumResponseChallengeExit *PlumResponseChallengeExit `protobuf:"bytes,24,opt,name=plumResponseChallengeExit,proto3,oneof"`
}
type ActionPb_PlumSettleDeposit ¶ added in v0.4.0
type ActionPb_PlumSettleDeposit struct {
PlumSettleDeposit *PlumSettleDepositPb `protobuf:"bytes,26,opt,name=plumSettleDeposit,proto3,oneof"`
}
type ActionPb_PlumStartExit ¶ added in v0.4.0
type ActionPb_PlumStartExit struct {
PlumStartExit *PlumStartExitPb `protobuf:"bytes,22,opt,name=plumStartExit,proto3,oneof"`
}
type ActionPb_PlumTransfer ¶ added in v0.4.0
type ActionPb_PlumTransfer struct {
PlumTransfer *PlumTransferPb `protobuf:"bytes,27,opt,name=plumTransfer,proto3,oneof"`
}
type ActionPb_PutBlock ¶ added in v0.4.0
type ActionPb_PutBlock struct {
PutBlock *PutBlockPb `protobuf:"bytes,15,opt,name=putBlock,proto3,oneof"`
}
type ActionPb_SetReward ¶ added in v0.4.4
type ActionPb_SetReward struct {
SetReward *SetReward `protobuf:"bytes,32,opt,name=setReward,proto3,oneof"`
}
type ActionPb_SettleDeposit ¶ added in v0.4.0
type ActionPb_SettleDeposit struct {
SettleDeposit *SettleDepositPb `protobuf:"bytes,17,opt,name=settleDeposit,proto3,oneof"`
}
type ActionPb_StartSubChain ¶ added in v0.4.0
type ActionPb_StartSubChain struct {
StartSubChain *StartSubChainPb `protobuf:"bytes,13,opt,name=startSubChain,proto3,oneof"`
}
type ActionPb_StopSubChain ¶ added in v0.4.0
type ActionPb_StopSubChain struct {
StopSubChain *StopSubChainPb `protobuf:"bytes,14,opt,name=stopSubChain,proto3,oneof"`
}
type ActionPb_TerminatePlumChain ¶ added in v0.4.0
type ActionPb_TerminatePlumChain struct {
TerminatePlumChain *TerminatePlumChainPb `protobuf:"bytes,19,opt,name=terminatePlumChain,proto3,oneof"`
}
type ActionPb_Transfer ¶ added in v0.2.0
type ActionPb_Transfer struct {
Transfer *TransferPb `protobuf:"bytes,10,opt,name=transfer,proto3,oneof"`
}
type ActionPb_Vote ¶ added in v0.2.0
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 ¶ added in v0.4.0
func (m *BlockContainer) XXX_DiscardUnknown()
func (*BlockContainer) XXX_Marshal ¶ added in v0.4.0
func (m *BlockContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockContainer) XXX_Merge ¶ added in v0.4.0
func (dst *BlockContainer) XXX_Merge(src proto.Message)
func (*BlockContainer) XXX_Size ¶ added in v0.4.0
func (m *BlockContainer) XXX_Size() int
func (*BlockContainer) XXX_Unmarshal ¶ added in v0.4.0
func (m *BlockContainer) XXX_Unmarshal(b []byte) error
type BlockFooterPb ¶ added in v0.4.4
type BlockFooterPb struct {}
footer of a block
func (*BlockFooterPb) Descriptor ¶ added in v0.4.4
func (*BlockFooterPb) Descriptor() ([]byte, []int)
func (*BlockFooterPb) GetCommitTimestamp ¶ added in v0.4.4
func (m *BlockFooterPb) GetCommitTimestamp() int64
func (*BlockFooterPb) GetEndorsements ¶ added in v0.4.4
func (m *BlockFooterPb) GetEndorsements() *EndorsementSet
func (*BlockFooterPb) ProtoMessage ¶ added in v0.4.4
func (*BlockFooterPb) ProtoMessage()
func (*BlockFooterPb) Reset ¶ added in v0.4.4
func (m *BlockFooterPb) Reset()
func (*BlockFooterPb) String ¶ added in v0.4.4
func (m *BlockFooterPb) String() string
func (*BlockFooterPb) XXX_DiscardUnknown ¶ added in v0.4.4
func (m *BlockFooterPb) XXX_DiscardUnknown()
func (*BlockFooterPb) XXX_Marshal ¶ added in v0.4.4
func (m *BlockFooterPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockFooterPb) XXX_Merge ¶ added in v0.4.4
func (dst *BlockFooterPb) XXX_Merge(src proto.Message)
func (*BlockFooterPb) XXX_Size ¶ added in v0.4.4
func (m *BlockFooterPb) XXX_Size() int
func (*BlockFooterPb) XXX_Unmarshal ¶ added in v0.4.4
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 ¶ added in v0.4.4
func (m *BlockHeaderPb) GetDeltaStateDigest() []byte
func (*BlockHeaderPb) GetHeight ¶
func (m *BlockHeaderPb) GetHeight() uint64
func (*BlockHeaderPb) GetPrevBlockHash ¶
func (m *BlockHeaderPb) GetPrevBlockHash() []byte
func (*BlockHeaderPb) GetPubkey ¶ added in v0.2.0
func (m *BlockHeaderPb) GetPubkey() []byte
func (*BlockHeaderPb) GetReceiptRoot ¶ added in v0.3.0
func (m *BlockHeaderPb) GetReceiptRoot() []byte
func (*BlockHeaderPb) GetReserved ¶ added in v0.3.0
func (m *BlockHeaderPb) GetReserved() []byte
func (*BlockHeaderPb) GetSignature ¶ added in v0.2.0
func (m *BlockHeaderPb) GetSignature() []byte
func (*BlockHeaderPb) GetStateRoot ¶ added in v0.2.0
func (m *BlockHeaderPb) GetStateRoot() []byte
func (*BlockHeaderPb) GetTimestamp ¶
func (m *BlockHeaderPb) GetTimestamp() *timestamp.Timestamp
func (*BlockHeaderPb) GetTxRoot ¶ added in v0.2.0
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 ¶ added in v0.4.0
func (m *BlockHeaderPb) XXX_DiscardUnknown()
func (*BlockHeaderPb) XXX_Marshal ¶ added in v0.4.0
func (m *BlockHeaderPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockHeaderPb) XXX_Merge ¶ added in v0.4.0
func (dst *BlockHeaderPb) XXX_Merge(src proto.Message)
func (*BlockHeaderPb) XXX_Size ¶ added in v0.4.0
func (m *BlockHeaderPb) XXX_Size() int
func (*BlockHeaderPb) XXX_Unmarshal ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (m *BlockIndex) XXX_DiscardUnknown()
func (*BlockIndex) XXX_Marshal ¶ added in v0.4.0
func (m *BlockIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockIndex) XXX_Merge ¶ added in v0.4.0
func (dst *BlockIndex) XXX_Merge(src proto.Message)
func (*BlockIndex) XXX_Size ¶ added in v0.4.0
func (m *BlockIndex) XXX_Size() int
func (*BlockIndex) XXX_Unmarshal ¶ added in v0.4.0
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 ¶ added in v0.2.0
func (*BlockPb) GetFooter ¶ added in v0.4.4
func (m *BlockPb) GetFooter() *BlockFooterPb
func (*BlockPb) GetHeader ¶
func (m *BlockPb) GetHeader() *BlockHeaderPb
func (*BlockPb) ProtoMessage ¶
func (*BlockPb) ProtoMessage()
func (*BlockPb) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *BlockPb) XXX_DiscardUnknown()
func (*BlockPb) XXX_Marshal ¶ added in v0.4.0
func (*BlockPb) XXX_Unmarshal ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (m *BlockSync) XXX_DiscardUnknown()
func (*BlockSync) XXX_Marshal ¶ added in v0.4.0
func (*BlockSync) XXX_Unmarshal ¶ added in v0.4.0
type Candidate ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (*Candidate) GetAddress ¶ added in v0.3.0
func (*Candidate) GetCreationHeight ¶ added in v0.3.0
func (*Candidate) GetLastUpdateHeight ¶ added in v0.3.0
func (*Candidate) ProtoMessage ¶ added in v0.3.0
func (*Candidate) ProtoMessage()
func (*Candidate) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *Candidate) XXX_DiscardUnknown()
func (*Candidate) XXX_Marshal ¶ added in v0.4.0
func (*Candidate) XXX_Unmarshal ¶ added in v0.4.0
type CandidateList ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (*CandidateList) Descriptor() ([]byte, []int)
func (*CandidateList) GetCandidates ¶ added in v0.3.0
func (m *CandidateList) GetCandidates() []*Candidate
func (*CandidateList) ProtoMessage ¶ added in v0.3.0
func (*CandidateList) ProtoMessage()
func (*CandidateList) Reset ¶ added in v0.3.0
func (m *CandidateList) Reset()
func (*CandidateList) String ¶ added in v0.3.0
func (m *CandidateList) String() string
func (*CandidateList) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *CandidateList) XXX_DiscardUnknown()
func (*CandidateList) XXX_Marshal ¶ added in v0.4.0
func (m *CandidateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CandidateList) XXX_Merge ¶ added in v0.4.0
func (dst *CandidateList) XXX_Merge(src proto.Message)
func (*CandidateList) XXX_Size ¶ added in v0.4.0
func (m *CandidateList) XXX_Size() int
func (*CandidateList) XXX_Unmarshal ¶ added in v0.4.0
func (m *CandidateList) XXX_Unmarshal(b []byte) error
type ClaimFromRewardingFund ¶ added in v0.4.4
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 ¶ added in v0.4.4
func (*ClaimFromRewardingFund) Descriptor() ([]byte, []int)
func (*ClaimFromRewardingFund) GetAmount ¶ added in v0.4.4
func (m *ClaimFromRewardingFund) GetAmount() []byte
func (*ClaimFromRewardingFund) GetData ¶ added in v0.4.4
func (m *ClaimFromRewardingFund) GetData() []byte
func (*ClaimFromRewardingFund) ProtoMessage ¶ added in v0.4.4
func (*ClaimFromRewardingFund) ProtoMessage()
func (*ClaimFromRewardingFund) Reset ¶ added in v0.4.4
func (m *ClaimFromRewardingFund) Reset()
func (*ClaimFromRewardingFund) String ¶ added in v0.4.4
func (m *ClaimFromRewardingFund) String() string
func (*ClaimFromRewardingFund) XXX_DiscardUnknown ¶ added in v0.4.4
func (m *ClaimFromRewardingFund) XXX_DiscardUnknown()
func (*ClaimFromRewardingFund) XXX_Marshal ¶ added in v0.4.4
func (m *ClaimFromRewardingFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClaimFromRewardingFund) XXX_Merge ¶ added in v0.4.4
func (dst *ClaimFromRewardingFund) XXX_Merge(src proto.Message)
func (*ClaimFromRewardingFund) XXX_Size ¶ added in v0.4.4
func (m *ClaimFromRewardingFund) XXX_Size() int
func (*ClaimFromRewardingFund) XXX_Unmarshal ¶ added in v0.4.4
func (m *ClaimFromRewardingFund) XXX_Unmarshal(b []byte) error
type ConsensusPb ¶ added in v0.4.4
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 ¶ added in v0.4.4
func (*ConsensusPb) Descriptor() ([]byte, []int)
func (*ConsensusPb) GetData ¶ added in v0.4.4
func (m *ConsensusPb) GetData() []byte
func (*ConsensusPb) GetHeight ¶ added in v0.4.4
func (m *ConsensusPb) GetHeight() uint64
func (*ConsensusPb) GetRound ¶ added in v0.4.4
func (m *ConsensusPb) GetRound() uint32
func (*ConsensusPb) GetTimestamp ¶ added in v0.4.4
func (m *ConsensusPb) GetTimestamp() *timestamp.Timestamp
func (*ConsensusPb) GetType ¶ added in v0.4.4
func (m *ConsensusPb) GetType() ConsensusPb_ConsensusMessageType
func (*ConsensusPb) ProtoMessage ¶ added in v0.4.4
func (*ConsensusPb) ProtoMessage()
func (*ConsensusPb) Reset ¶ added in v0.4.4
func (m *ConsensusPb) Reset()
func (*ConsensusPb) String ¶ added in v0.4.4
func (m *ConsensusPb) String() string
func (*ConsensusPb) XXX_DiscardUnknown ¶ added in v0.4.4
func (m *ConsensusPb) XXX_DiscardUnknown()
func (*ConsensusPb) XXX_Marshal ¶ added in v0.4.4
func (m *ConsensusPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusPb) XXX_Merge ¶ added in v0.4.4
func (dst *ConsensusPb) XXX_Merge(src proto.Message)
func (*ConsensusPb) XXX_Size ¶ added in v0.4.4
func (m *ConsensusPb) XXX_Size() int
func (*ConsensusPb) XXX_Unmarshal ¶ added in v0.4.4
func (m *ConsensusPb) XXX_Unmarshal(b []byte) error
type ConsensusPb_ConsensusMessageType ¶ added in v0.4.4
type ConsensusPb_ConsensusMessageType int32
const ( ConsensusPb_PROPOSAL ConsensusPb_ConsensusMessageType = 0 ConsensusPb_ENDORSEMENT ConsensusPb_ConsensusMessageType = 1 )
func (ConsensusPb_ConsensusMessageType) EnumDescriptor ¶ added in v0.4.4
func (ConsensusPb_ConsensusMessageType) EnumDescriptor() ([]byte, []int)
func (ConsensusPb_ConsensusMessageType) String ¶ added in v0.4.4
func (x ConsensusPb_ConsensusMessageType) String() string
type CreateDepositPb ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (*CreateDepositPb) Descriptor() ([]byte, []int)
func (*CreateDepositPb) GetAmount ¶ added in v0.4.0
func (m *CreateDepositPb) GetAmount() []byte
func (*CreateDepositPb) GetChainID ¶ added in v0.4.4
func (m *CreateDepositPb) GetChainID() uint32
func (*CreateDepositPb) GetRecipient ¶ added in v0.4.0
func (m *CreateDepositPb) GetRecipient() string
func (*CreateDepositPb) ProtoMessage ¶ added in v0.4.0
func (*CreateDepositPb) ProtoMessage()
func (*CreateDepositPb) Reset ¶ added in v0.4.0
func (m *CreateDepositPb) Reset()
func (*CreateDepositPb) String ¶ added in v0.4.0
func (m *CreateDepositPb) String() string
func (*CreateDepositPb) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *CreateDepositPb) XXX_DiscardUnknown()
func (*CreateDepositPb) XXX_Marshal ¶ added in v0.4.0
func (m *CreateDepositPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateDepositPb) XXX_Merge ¶ added in v0.4.0
func (dst *CreateDepositPb) XXX_Merge(src proto.Message)
func (*CreateDepositPb) XXX_Size ¶ added in v0.4.0
func (m *CreateDepositPb) XXX_Size() int
func (*CreateDepositPb) XXX_Unmarshal ¶ added in v0.4.0
func (m *CreateDepositPb) XXX_Unmarshal(b []byte) error
type CreatePlumChainPb ¶ added in v0.4.0
type CreatePlumChainPb struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
plum main chain APIs
func (*CreatePlumChainPb) Descriptor ¶ added in v0.4.0
func (*CreatePlumChainPb) Descriptor() ([]byte, []int)
func (*CreatePlumChainPb) ProtoMessage ¶ added in v0.4.0
func (*CreatePlumChainPb) ProtoMessage()
func (*CreatePlumChainPb) Reset ¶ added in v0.4.0
func (m *CreatePlumChainPb) Reset()
func (*CreatePlumChainPb) String ¶ added in v0.4.0
func (m *CreatePlumChainPb) String() string
func (*CreatePlumChainPb) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *CreatePlumChainPb) XXX_DiscardUnknown()
func (*CreatePlumChainPb) XXX_Marshal ¶ added in v0.4.0
func (m *CreatePlumChainPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreatePlumChainPb) XXX_Merge ¶ added in v0.4.0
func (dst *CreatePlumChainPb) XXX_Merge(src proto.Message)
func (*CreatePlumChainPb) XXX_Size ¶ added in v0.4.0
func (m *CreatePlumChainPb) XXX_Size() int
func (*CreatePlumChainPb) XXX_Unmarshal ¶ added in v0.4.0
func (m *CreatePlumChainPb) XXX_Unmarshal(b []byte) error
type DepositToRewardingFund ¶ added in v0.4.4
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 ¶ added in v0.4.4
func (*DepositToRewardingFund) Descriptor() ([]byte, []int)
func (*DepositToRewardingFund) GetAmount ¶ added in v0.4.4
func (m *DepositToRewardingFund) GetAmount() []byte
func (*DepositToRewardingFund) GetData ¶ added in v0.4.4
func (m *DepositToRewardingFund) GetData() []byte
func (*DepositToRewardingFund) ProtoMessage ¶ added in v0.4.4
func (*DepositToRewardingFund) ProtoMessage()
func (*DepositToRewardingFund) Reset ¶ added in v0.4.4
func (m *DepositToRewardingFund) Reset()
func (*DepositToRewardingFund) String ¶ added in v0.4.4
func (m *DepositToRewardingFund) String() string
func (*DepositToRewardingFund) XXX_DiscardUnknown ¶ added in v0.4.4
func (m *DepositToRewardingFund) XXX_DiscardUnknown()
func (*DepositToRewardingFund) XXX_Marshal ¶ added in v0.4.4
func (m *DepositToRewardingFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DepositToRewardingFund) XXX_Merge ¶ added in v0.4.4
func (dst *DepositToRewardingFund) XXX_Merge(src proto.Message)
func (*DepositToRewardingFund) XXX_Size ¶ added in v0.4.4
func (m *DepositToRewardingFund) XXX_Size() int
func (*DepositToRewardingFund) XXX_Unmarshal ¶ added in v0.4.4
func (m *DepositToRewardingFund) XXX_Unmarshal(b []byte) error
type Endorsement ¶ added in v0.4.4
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 ¶ added in v0.4.4
func (*Endorsement) Descriptor() ([]byte, []int)
func (*Endorsement) GetBlockHash ¶ added in v0.4.4
func (m *Endorsement) GetBlockHash() []byte
func (*Endorsement) GetDecision ¶ added in v0.4.4
func (m *Endorsement) GetDecision() bool
func (*Endorsement) GetEndorser ¶ added in v0.4.4
func (m *Endorsement) GetEndorser() string
func (*Endorsement) GetEndorserPubKey ¶ added in v0.4.4
func (m *Endorsement) GetEndorserPubKey() []byte
func (*Endorsement) GetHeight ¶ added in v0.4.4
func (m *Endorsement) GetHeight() uint64
func (*Endorsement) GetRound ¶ added in v0.4.4
func (m *Endorsement) GetRound() uint32
func (*Endorsement) GetSignature ¶ added in v0.4.4
func (m *Endorsement) GetSignature() []byte
func (*Endorsement) GetTopic ¶ added in v0.4.4
func (m *Endorsement) GetTopic() Endorsement_ConsensusVoteTopic
func (*Endorsement) ProtoMessage ¶ added in v0.4.4
func (*Endorsement) ProtoMessage()
func (*Endorsement) Reset ¶ added in v0.4.4
func (m *Endorsement) Reset()
func (*Endorsement) String ¶ added in v0.4.4
func (m *Endorsement) String() string
func (*Endorsement) XXX_DiscardUnknown ¶ added in v0.4.4
func (m *Endorsement) XXX_DiscardUnknown()
func (*Endorsement) XXX_Marshal ¶ added in v0.4.4
func (m *Endorsement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Endorsement) XXX_Merge ¶ added in v0.4.4
func (dst *Endorsement) XXX_Merge(src proto.Message)
func (*Endorsement) XXX_Size ¶ added in v0.4.4
func (m *Endorsement) XXX_Size() int
func (*Endorsement) XXX_Unmarshal ¶ added in v0.4.4
func (m *Endorsement) XXX_Unmarshal(b []byte) error
type EndorsementSet ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (*EndorsementSet) Descriptor() ([]byte, []int)
func (*EndorsementSet) GetBlockHash ¶ added in v0.4.0
func (m *EndorsementSet) GetBlockHash() []byte
func (*EndorsementSet) GetEndorsements ¶ added in v0.4.0
func (m *EndorsementSet) GetEndorsements() []*Endorsement
func (*EndorsementSet) GetRound ¶ added in v0.4.0
func (m *EndorsementSet) GetRound() uint32
func (*EndorsementSet) ProtoMessage ¶ added in v0.4.0
func (*EndorsementSet) ProtoMessage()
func (*EndorsementSet) Reset ¶ added in v0.4.0
func (m *EndorsementSet) Reset()
func (*EndorsementSet) String ¶ added in v0.4.0
func (m *EndorsementSet) String() string
func (*EndorsementSet) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *EndorsementSet) XXX_DiscardUnknown()
func (*EndorsementSet) XXX_Marshal ¶ added in v0.4.0
func (m *EndorsementSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EndorsementSet) XXX_Merge ¶ added in v0.4.0
func (dst *EndorsementSet) XXX_Merge(src proto.Message)
func (*EndorsementSet) XXX_Size ¶ added in v0.4.0
func (m *EndorsementSet) XXX_Size() int
func (*EndorsementSet) XXX_Unmarshal ¶ added in v0.4.0
func (m *EndorsementSet) XXX_Unmarshal(b []byte) error
type Endorsement_ConsensusVoteTopic ¶ added in v0.4.4
type Endorsement_ConsensusVoteTopic int32
const ( Endorsement_PROPOSAL Endorsement_ConsensusVoteTopic = 0 Endorsement_LOCK Endorsement_ConsensusVoteTopic = 1 Endorsement_COMMIT Endorsement_ConsensusVoteTopic = 2 )
func (Endorsement_ConsensusVoteTopic) EnumDescriptor ¶ added in v0.4.4
func (Endorsement_ConsensusVoteTopic) EnumDescriptor() ([]byte, []int)
func (Endorsement_ConsensusVoteTopic) String ¶ added in v0.4.4
func (x Endorsement_ConsensusVoteTopic) String() string
type ExecutionPb ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (*ExecutionPb) Descriptor() ([]byte, []int)
func (*ExecutionPb) GetAmount ¶ added in v0.3.0
func (m *ExecutionPb) GetAmount() []byte
func (*ExecutionPb) GetContract ¶ added in v0.3.0
func (m *ExecutionPb) GetContract() string
func (*ExecutionPb) GetData ¶ added in v0.3.0
func (m *ExecutionPb) GetData() []byte
func (*ExecutionPb) ProtoMessage ¶ added in v0.3.0
func (*ExecutionPb) ProtoMessage()
func (*ExecutionPb) Reset ¶ added in v0.3.0
func (m *ExecutionPb) Reset()
func (*ExecutionPb) String ¶ added in v0.3.0
func (m *ExecutionPb) String() string
func (*ExecutionPb) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *ExecutionPb) XXX_DiscardUnknown()
func (*ExecutionPb) XXX_Marshal ¶ added in v0.4.0
func (m *ExecutionPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecutionPb) XXX_Merge ¶ added in v0.4.0
func (dst *ExecutionPb) XXX_Merge(src proto.Message)
func (*ExecutionPb) XXX_Size ¶ added in v0.4.0
func (m *ExecutionPb) XXX_Size() int
func (*ExecutionPb) XXX_Unmarshal ¶ added in v0.4.0
func (m *ExecutionPb) XXX_Unmarshal(b []byte) error
type GrantReward ¶ added in v0.4.4
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 ¶ added in v0.4.4
func (*GrantReward) Descriptor() ([]byte, []int)
func (*GrantReward) GetType ¶ added in v0.4.4
func (m *GrantReward) GetType() RewardType
func (*GrantReward) ProtoMessage ¶ added in v0.4.4
func (*GrantReward) ProtoMessage()
func (*GrantReward) Reset ¶ added in v0.4.4
func (m *GrantReward) Reset()
func (*GrantReward) String ¶ added in v0.4.4
func (m *GrantReward) String() string
func (*GrantReward) XXX_DiscardUnknown ¶ added in v0.4.4
func (m *GrantReward) XXX_DiscardUnknown()
func (*GrantReward) XXX_Marshal ¶ added in v0.4.4
func (m *GrantReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GrantReward) XXX_Merge ¶ added in v0.4.4
func (dst *GrantReward) XXX_Merge(src proto.Message)
func (*GrantReward) XXX_Size ¶ added in v0.4.4
func (m *GrantReward) XXX_Size() int
func (*GrantReward) XXX_Unmarshal ¶ added in v0.4.4
func (m *GrantReward) XXX_Unmarshal(b []byte) error
type LogPb ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (*LogPb) GetAddress ¶ added in v0.3.0
func (*LogPb) GetBlockHash ¶ added in v0.3.0
func (*LogPb) GetBlockNumber ¶ added in v0.3.0
func (*LogPb) GetTxnHash ¶ added in v0.3.0
func (*LogPb) ProtoMessage ¶ added in v0.3.0
func (*LogPb) ProtoMessage()
func (*LogPb) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *LogPb) XXX_DiscardUnknown()
func (*LogPb) XXX_Marshal ¶ added in v0.4.0
func (*LogPb) XXX_Unmarshal ¶ added in v0.4.0
type MerkleRoot ¶ added in v0.4.4
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 ¶ added in v0.4.4
func (*MerkleRoot) Descriptor() ([]byte, []int)
func (*MerkleRoot) GetName ¶ added in v0.4.4
func (m *MerkleRoot) GetName() string
func (*MerkleRoot) GetValue ¶ added in v0.4.4
func (m *MerkleRoot) GetValue() []byte
func (*MerkleRoot) ProtoMessage ¶ added in v0.4.4
func (*MerkleRoot) ProtoMessage()
func (*MerkleRoot) Reset ¶ added in v0.4.4
func (m *MerkleRoot) Reset()
func (*MerkleRoot) String ¶ added in v0.4.4
func (m *MerkleRoot) String() string
func (*MerkleRoot) XXX_DiscardUnknown ¶ added in v0.4.4
func (m *MerkleRoot) XXX_DiscardUnknown()
func (*MerkleRoot) XXX_Marshal ¶ added in v0.4.4
func (m *MerkleRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MerkleRoot) XXX_Merge ¶ added in v0.4.4
func (dst *MerkleRoot) XXX_Merge(src proto.Message)
func (*MerkleRoot) XXX_Size ¶ added in v0.4.4
func (m *MerkleRoot) XXX_Size() int
func (*MerkleRoot) XXX_Unmarshal ¶ added in v0.4.4
func (m *MerkleRoot) XXX_Unmarshal(b []byte) error
type PlumChallengeExit ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (*PlumChallengeExit) Descriptor() ([]byte, []int)
func (*PlumChallengeExit) GetChallengeTransfer ¶ added in v0.4.0
func (m *PlumChallengeExit) GetChallengeTransfer() []byte
func (*PlumChallengeExit) GetChallengeTransferBlockHeight ¶ added in v0.4.0
func (m *PlumChallengeExit) GetChallengeTransferBlockHeight() uint64
func (*PlumChallengeExit) GetChallengeTransferBlockProof ¶ added in v0.4.0
func (m *PlumChallengeExit) GetChallengeTransferBlockProof() []byte
func (*PlumChallengeExit) GetCoinID ¶ added in v0.4.0
func (m *PlumChallengeExit) GetCoinID() uint64
func (*PlumChallengeExit) GetSubChainAddress ¶ added in v0.4.0
func (m *PlumChallengeExit) GetSubChainAddress() string
func (*PlumChallengeExit) ProtoMessage ¶ added in v0.4.0
func (*PlumChallengeExit) ProtoMessage()
func (*PlumChallengeExit) Reset ¶ added in v0.4.0
func (m *PlumChallengeExit) Reset()
func (*PlumChallengeExit) String ¶ added in v0.4.0
func (m *PlumChallengeExit) String() string
func (*PlumChallengeExit) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *PlumChallengeExit) XXX_DiscardUnknown()
func (*PlumChallengeExit) XXX_Marshal ¶ added in v0.4.0
func (m *PlumChallengeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumChallengeExit) XXX_Merge ¶ added in v0.4.0
func (dst *PlumChallengeExit) XXX_Merge(src proto.Message)
func (*PlumChallengeExit) XXX_Size ¶ added in v0.4.0
func (m *PlumChallengeExit) XXX_Size() int
func (*PlumChallengeExit) XXX_Unmarshal ¶ added in v0.4.0
func (m *PlumChallengeExit) XXX_Unmarshal(b []byte) error
type PlumCreateDepositPb ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (*PlumCreateDepositPb) Descriptor() ([]byte, []int)
func (*PlumCreateDepositPb) GetAmount ¶ added in v0.4.0
func (m *PlumCreateDepositPb) GetAmount() []byte
func (*PlumCreateDepositPb) GetRecipient ¶ added in v0.4.0
func (m *PlumCreateDepositPb) GetRecipient() string
func (*PlumCreateDepositPb) GetSubChainAddress ¶ added in v0.4.0
func (m *PlumCreateDepositPb) GetSubChainAddress() string
func (*PlumCreateDepositPb) ProtoMessage ¶ added in v0.4.0
func (*PlumCreateDepositPb) ProtoMessage()
func (*PlumCreateDepositPb) Reset ¶ added in v0.4.0
func (m *PlumCreateDepositPb) Reset()
func (*PlumCreateDepositPb) String ¶ added in v0.4.0
func (m *PlumCreateDepositPb) String() string
func (*PlumCreateDepositPb) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *PlumCreateDepositPb) XXX_DiscardUnknown()
func (*PlumCreateDepositPb) XXX_Marshal ¶ added in v0.4.0
func (m *PlumCreateDepositPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumCreateDepositPb) XXX_Merge ¶ added in v0.4.0
func (dst *PlumCreateDepositPb) XXX_Merge(src proto.Message)
func (*PlumCreateDepositPb) XXX_Size ¶ added in v0.4.0
func (m *PlumCreateDepositPb) XXX_Size() int
func (*PlumCreateDepositPb) XXX_Unmarshal ¶ added in v0.4.0
func (m *PlumCreateDepositPb) XXX_Unmarshal(b []byte) error
type PlumFinalizeExit ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (*PlumFinalizeExit) Descriptor() ([]byte, []int)
func (*PlumFinalizeExit) GetCoinID ¶ added in v0.4.0
func (m *PlumFinalizeExit) GetCoinID() uint64
func (*PlumFinalizeExit) GetSubChainAddress ¶ added in v0.4.0
func (m *PlumFinalizeExit) GetSubChainAddress() string
func (*PlumFinalizeExit) ProtoMessage ¶ added in v0.4.0
func (*PlumFinalizeExit) ProtoMessage()
func (*PlumFinalizeExit) Reset ¶ added in v0.4.0
func (m *PlumFinalizeExit) Reset()
func (*PlumFinalizeExit) String ¶ added in v0.4.0
func (m *PlumFinalizeExit) String() string
func (*PlumFinalizeExit) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *PlumFinalizeExit) XXX_DiscardUnknown()
func (*PlumFinalizeExit) XXX_Marshal ¶ added in v0.4.0
func (m *PlumFinalizeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumFinalizeExit) XXX_Merge ¶ added in v0.4.0
func (dst *PlumFinalizeExit) XXX_Merge(src proto.Message)
func (*PlumFinalizeExit) XXX_Size ¶ added in v0.4.0
func (m *PlumFinalizeExit) XXX_Size() int
func (*PlumFinalizeExit) XXX_Unmarshal ¶ added in v0.4.0
func (m *PlumFinalizeExit) XXX_Unmarshal(b []byte) error
type PlumPutBlockPb ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (*PlumPutBlockPb) Descriptor() ([]byte, []int)
func (*PlumPutBlockPb) GetHeight ¶ added in v0.4.0
func (m *PlumPutBlockPb) GetHeight() uint64
func (*PlumPutBlockPb) GetRoots ¶ added in v0.4.0
func (m *PlumPutBlockPb) GetRoots() map[string][]byte
func (*PlumPutBlockPb) GetSubChainAddress ¶ added in v0.4.0
func (m *PlumPutBlockPb) GetSubChainAddress() string
func (*PlumPutBlockPb) ProtoMessage ¶ added in v0.4.0
func (*PlumPutBlockPb) ProtoMessage()
func (*PlumPutBlockPb) Reset ¶ added in v0.4.0
func (m *PlumPutBlockPb) Reset()
func (*PlumPutBlockPb) String ¶ added in v0.4.0
func (m *PlumPutBlockPb) String() string
func (*PlumPutBlockPb) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *PlumPutBlockPb) XXX_DiscardUnknown()
func (*PlumPutBlockPb) XXX_Marshal ¶ added in v0.4.0
func (m *PlumPutBlockPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumPutBlockPb) XXX_Merge ¶ added in v0.4.0
func (dst *PlumPutBlockPb) XXX_Merge(src proto.Message)
func (*PlumPutBlockPb) XXX_Size ¶ added in v0.4.0
func (m *PlumPutBlockPb) XXX_Size() int
func (*PlumPutBlockPb) XXX_Unmarshal ¶ added in v0.4.0
func (m *PlumPutBlockPb) XXX_Unmarshal(b []byte) error
type PlumResponseChallengeExit ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (*PlumResponseChallengeExit) Descriptor() ([]byte, []int)
func (*PlumResponseChallengeExit) GetChallengeTransfer ¶ added in v0.4.0
func (m *PlumResponseChallengeExit) GetChallengeTransfer() []byte
func (*PlumResponseChallengeExit) GetCoinID ¶ added in v0.4.0
func (m *PlumResponseChallengeExit) GetCoinID() uint64
func (*PlumResponseChallengeExit) GetPreviousTransferBlockHeight ¶ added in v0.4.0
func (m *PlumResponseChallengeExit) GetPreviousTransferBlockHeight() uint64
func (*PlumResponseChallengeExit) GetResponseTransfer ¶ added in v0.4.0
func (m *PlumResponseChallengeExit) GetResponseTransfer() []byte
func (*PlumResponseChallengeExit) GetResponseTransferBlockProof ¶ added in v0.4.0
func (m *PlumResponseChallengeExit) GetResponseTransferBlockProof() []byte
func (*PlumResponseChallengeExit) GetSubChainAddress ¶ added in v0.4.0
func (m *PlumResponseChallengeExit) GetSubChainAddress() string
func (*PlumResponseChallengeExit) ProtoMessage ¶ added in v0.4.0
func (*PlumResponseChallengeExit) ProtoMessage()
func (*PlumResponseChallengeExit) Reset ¶ added in v0.4.0
func (m *PlumResponseChallengeExit) Reset()
func (*PlumResponseChallengeExit) String ¶ added in v0.4.0
func (m *PlumResponseChallengeExit) String() string
func (*PlumResponseChallengeExit) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *PlumResponseChallengeExit) XXX_DiscardUnknown()
func (*PlumResponseChallengeExit) XXX_Marshal ¶ added in v0.4.0
func (m *PlumResponseChallengeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumResponseChallengeExit) XXX_Merge ¶ added in v0.4.0
func (dst *PlumResponseChallengeExit) XXX_Merge(src proto.Message)
func (*PlumResponseChallengeExit) XXX_Size ¶ added in v0.4.0
func (m *PlumResponseChallengeExit) XXX_Size() int
func (*PlumResponseChallengeExit) XXX_Unmarshal ¶ added in v0.4.0
func (m *PlumResponseChallengeExit) XXX_Unmarshal(b []byte) error
type PlumSettleDepositPb ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (*PlumSettleDepositPb) Descriptor() ([]byte, []int)
func (*PlumSettleDepositPb) GetCoinID ¶ added in v0.4.0
func (m *PlumSettleDepositPb) GetCoinID() uint64
func (*PlumSettleDepositPb) ProtoMessage ¶ added in v0.4.0
func (*PlumSettleDepositPb) ProtoMessage()
func (*PlumSettleDepositPb) Reset ¶ added in v0.4.0
func (m *PlumSettleDepositPb) Reset()
func (*PlumSettleDepositPb) String ¶ added in v0.4.0
func (m *PlumSettleDepositPb) String() string
func (*PlumSettleDepositPb) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *PlumSettleDepositPb) XXX_DiscardUnknown()
func (*PlumSettleDepositPb) XXX_Marshal ¶ added in v0.4.0
func (m *PlumSettleDepositPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumSettleDepositPb) XXX_Merge ¶ added in v0.4.0
func (dst *PlumSettleDepositPb) XXX_Merge(src proto.Message)
func (*PlumSettleDepositPb) XXX_Size ¶ added in v0.4.0
func (m *PlumSettleDepositPb) XXX_Size() int
func (*PlumSettleDepositPb) XXX_Unmarshal ¶ added in v0.4.0
func (m *PlumSettleDepositPb) XXX_Unmarshal(b []byte) error
type PlumStartExitPb ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (*PlumStartExitPb) Descriptor() ([]byte, []int)
func (*PlumStartExitPb) GetExitTransfer ¶ added in v0.4.0
func (m *PlumStartExitPb) GetExitTransfer() []byte
func (*PlumStartExitPb) GetExitTransferBlockHeight ¶ added in v0.4.0
func (m *PlumStartExitPb) GetExitTransferBlockHeight() uint64
func (*PlumStartExitPb) GetExitTransferBlockProof ¶ added in v0.4.0
func (m *PlumStartExitPb) GetExitTransferBlockProof() []byte
func (*PlumStartExitPb) GetPreviousTransfer ¶ added in v0.4.0
func (m *PlumStartExitPb) GetPreviousTransfer() []byte
func (*PlumStartExitPb) GetPreviousTransferBlockHeight ¶ added in v0.4.0
func (m *PlumStartExitPb) GetPreviousTransferBlockHeight() uint64
func (*PlumStartExitPb) GetPreviousTransferBlockProof ¶ added in v0.4.0
func (m *PlumStartExitPb) GetPreviousTransferBlockProof() []byte
func (*PlumStartExitPb) GetSubChainAddress ¶ added in v0.4.0
func (m *PlumStartExitPb) GetSubChainAddress() string
func (*PlumStartExitPb) ProtoMessage ¶ added in v0.4.0
func (*PlumStartExitPb) ProtoMessage()
func (*PlumStartExitPb) Reset ¶ added in v0.4.0
func (m *PlumStartExitPb) Reset()
func (*PlumStartExitPb) String ¶ added in v0.4.0
func (m *PlumStartExitPb) String() string
func (*PlumStartExitPb) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *PlumStartExitPb) XXX_DiscardUnknown()
func (*PlumStartExitPb) XXX_Marshal ¶ added in v0.4.0
func (m *PlumStartExitPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumStartExitPb) XXX_Merge ¶ added in v0.4.0
func (dst *PlumStartExitPb) XXX_Merge(src proto.Message)
func (*PlumStartExitPb) XXX_Size ¶ added in v0.4.0
func (m *PlumStartExitPb) XXX_Size() int
func (*PlumStartExitPb) XXX_Unmarshal ¶ added in v0.4.0
func (m *PlumStartExitPb) XXX_Unmarshal(b []byte) error
type PlumTransferPb ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (*PlumTransferPb) Descriptor() ([]byte, []int)
func (*PlumTransferPb) GetCoinID ¶ added in v0.4.0
func (m *PlumTransferPb) GetCoinID() uint64
func (*PlumTransferPb) GetDenomination ¶ added in v0.4.0
func (m *PlumTransferPb) GetDenomination() []byte
func (*PlumTransferPb) GetOwner ¶ added in v0.4.0
func (m *PlumTransferPb) GetOwner() string
func (*PlumTransferPb) GetRecipient ¶ added in v0.4.0
func (m *PlumTransferPb) GetRecipient() string
func (*PlumTransferPb) ProtoMessage ¶ added in v0.4.0
func (*PlumTransferPb) ProtoMessage()
func (*PlumTransferPb) Reset ¶ added in v0.4.0
func (m *PlumTransferPb) Reset()
func (*PlumTransferPb) String ¶ added in v0.4.0
func (m *PlumTransferPb) String() string
func (*PlumTransferPb) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *PlumTransferPb) XXX_DiscardUnknown()
func (*PlumTransferPb) XXX_Marshal ¶ added in v0.4.0
func (m *PlumTransferPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumTransferPb) XXX_Merge ¶ added in v0.4.0
func (dst *PlumTransferPb) XXX_Merge(src proto.Message)
func (*PlumTransferPb) XXX_Size ¶ added in v0.4.0
func (m *PlumTransferPb) XXX_Size() int
func (*PlumTransferPb) XXX_Unmarshal ¶ added in v0.4.0
func (m *PlumTransferPb) XXX_Unmarshal(b []byte) error
type PutBlockPb ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (*PutBlockPb) Descriptor() ([]byte, []int)
func (*PutBlockPb) GetHeight ¶ added in v0.4.0
func (m *PutBlockPb) GetHeight() uint64
func (*PutBlockPb) GetRoots ¶ added in v0.4.0
func (m *PutBlockPb) GetRoots() []*MerkleRoot
func (*PutBlockPb) GetSubChainAddress ¶ added in v0.4.0
func (m *PutBlockPb) GetSubChainAddress() string
func (*PutBlockPb) ProtoMessage ¶ added in v0.4.0
func (*PutBlockPb) ProtoMessage()
func (*PutBlockPb) Reset ¶ added in v0.4.0
func (m *PutBlockPb) Reset()
func (*PutBlockPb) String ¶ added in v0.4.0
func (m *PutBlockPb) String() string
func (*PutBlockPb) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *PutBlockPb) XXX_DiscardUnknown()
func (*PutBlockPb) XXX_Marshal ¶ added in v0.4.0
func (m *PutBlockPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutBlockPb) XXX_Merge ¶ added in v0.4.0
func (dst *PutBlockPb) XXX_Merge(src proto.Message)
func (*PutBlockPb) XXX_Size ¶ added in v0.4.0
func (m *PutBlockPb) XXX_Size() int
func (*PutBlockPb) XXX_Unmarshal ¶ added in v0.4.0
func (m *PutBlockPb) XXX_Unmarshal(b []byte) error
type ReceiptPb ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (*ReceiptPb) GetActHash ¶ added in v0.4.4
func (*ReceiptPb) GetContractAddress ¶ added in v0.3.0
func (*ReceiptPb) GetGasConsumed ¶ added in v0.3.0
func (*ReceiptPb) GetReturnValue ¶ added in v0.3.0
func (*ReceiptPb) ProtoMessage ¶ added in v0.3.0
func (*ReceiptPb) ProtoMessage()
func (*ReceiptPb) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *ReceiptPb) XXX_DiscardUnknown()
func (*ReceiptPb) XXX_Marshal ¶ added in v0.4.0
func (*ReceiptPb) XXX_Unmarshal ¶ added in v0.4.0
type Receipts ¶ added in v0.4.4
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 ¶ added in v0.4.4
func (*Receipts) GetReceipts ¶ added in v0.4.4
func (*Receipts) ProtoMessage ¶ added in v0.4.4
func (*Receipts) ProtoMessage()
func (*Receipts) XXX_DiscardUnknown ¶ added in v0.4.4
func (m *Receipts) XXX_DiscardUnknown()
func (*Receipts) XXX_Marshal ¶ added in v0.4.4
func (*Receipts) XXX_Unmarshal ¶ added in v0.4.4
type RewardType ¶ added in v0.4.4
type RewardType int32
const ( RewardType_Block RewardType = 0 RewardType_Epoch RewardType = 1 )
func (RewardType) EnumDescriptor ¶ added in v0.4.4
func (RewardType) EnumDescriptor() ([]byte, []int)
func (RewardType) String ¶ added in v0.4.4
func (x RewardType) String() string
type SetReward ¶ added in v0.4.4
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 ¶ added in v0.4.4
func (*SetReward) GetType ¶ added in v0.4.4
func (m *SetReward) GetType() RewardType
func (*SetReward) ProtoMessage ¶ added in v0.4.4
func (*SetReward) ProtoMessage()
func (*SetReward) XXX_DiscardUnknown ¶ added in v0.4.4
func (m *SetReward) XXX_DiscardUnknown()
func (*SetReward) XXX_Marshal ¶ added in v0.4.4
func (*SetReward) XXX_Unmarshal ¶ added in v0.4.4
type SettleDepositPb ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (*SettleDepositPb) Descriptor() ([]byte, []int)
func (*SettleDepositPb) GetAmount ¶ added in v0.4.0
func (m *SettleDepositPb) GetAmount() []byte
func (*SettleDepositPb) GetIndex ¶ added in v0.4.0
func (m *SettleDepositPb) GetIndex() uint64
func (*SettleDepositPb) GetRecipient ¶ added in v0.4.0
func (m *SettleDepositPb) GetRecipient() string
func (*SettleDepositPb) ProtoMessage ¶ added in v0.4.0
func (*SettleDepositPb) ProtoMessage()
func (*SettleDepositPb) Reset ¶ added in v0.4.0
func (m *SettleDepositPb) Reset()
func (*SettleDepositPb) String ¶ added in v0.4.0
func (m *SettleDepositPb) String() string
func (*SettleDepositPb) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *SettleDepositPb) XXX_DiscardUnknown()
func (*SettleDepositPb) XXX_Marshal ¶ added in v0.4.0
func (m *SettleDepositPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SettleDepositPb) XXX_Merge ¶ added in v0.4.0
func (dst *SettleDepositPb) XXX_Merge(src proto.Message)
func (*SettleDepositPb) XXX_Size ¶ added in v0.4.0
func (m *SettleDepositPb) XXX_Size() int
func (*SettleDepositPb) XXX_Unmarshal ¶ added in v0.4.0
func (m *SettleDepositPb) XXX_Unmarshal(b []byte) error
type StartSubChainPb ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (*StartSubChainPb) Descriptor() ([]byte, []int)
func (*StartSubChainPb) GetChainID ¶ added in v0.4.0
func (m *StartSubChainPb) GetChainID() uint32
func (*StartSubChainPb) GetOperationDeposit ¶ added in v0.4.0
func (m *StartSubChainPb) GetOperationDeposit() []byte
func (*StartSubChainPb) GetParentHeightOffset ¶ added in v0.4.0
func (m *StartSubChainPb) GetParentHeightOffset() uint64
func (*StartSubChainPb) GetSecurityDeposit ¶ added in v0.4.0
func (m *StartSubChainPb) GetSecurityDeposit() []byte
func (*StartSubChainPb) GetStartHeight ¶ added in v0.4.0
func (m *StartSubChainPb) GetStartHeight() uint64
func (*StartSubChainPb) ProtoMessage ¶ added in v0.4.0
func (*StartSubChainPb) ProtoMessage()
func (*StartSubChainPb) Reset ¶ added in v0.4.0
func (m *StartSubChainPb) Reset()
func (*StartSubChainPb) String ¶ added in v0.4.0
func (m *StartSubChainPb) String() string
func (*StartSubChainPb) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *StartSubChainPb) XXX_DiscardUnknown()
func (*StartSubChainPb) XXX_Marshal ¶ added in v0.4.0
func (m *StartSubChainPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StartSubChainPb) XXX_Merge ¶ added in v0.4.0
func (dst *StartSubChainPb) XXX_Merge(src proto.Message)
func (*StartSubChainPb) XXX_Size ¶ added in v0.4.0
func (m *StartSubChainPb) XXX_Size() int
func (*StartSubChainPb) XXX_Unmarshal ¶ added in v0.4.0
func (m *StartSubChainPb) XXX_Unmarshal(b []byte) error
type StopSubChainPb ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (*StopSubChainPb) Descriptor() ([]byte, []int)
func (*StopSubChainPb) GetChainID ¶ added in v0.4.0
func (m *StopSubChainPb) GetChainID() uint32
func (*StopSubChainPb) GetStopHeight ¶ added in v0.4.0
func (m *StopSubChainPb) GetStopHeight() uint64
func (*StopSubChainPb) GetSubChainAddress ¶ added in v0.4.0
func (m *StopSubChainPb) GetSubChainAddress() string
func (*StopSubChainPb) ProtoMessage ¶ added in v0.4.0
func (*StopSubChainPb) ProtoMessage()
func (*StopSubChainPb) Reset ¶ added in v0.4.0
func (m *StopSubChainPb) Reset()
func (*StopSubChainPb) String ¶ added in v0.4.0
func (m *StopSubChainPb) String() string
func (*StopSubChainPb) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *StopSubChainPb) XXX_DiscardUnknown()
func (*StopSubChainPb) XXX_Marshal ¶ added in v0.4.0
func (m *StopSubChainPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StopSubChainPb) XXX_Merge ¶ added in v0.4.0
func (dst *StopSubChainPb) XXX_Merge(src proto.Message)
func (*StopSubChainPb) XXX_Size ¶ added in v0.4.0
func (m *StopSubChainPb) XXX_Size() int
func (*StopSubChainPb) XXX_Unmarshal ¶ added in v0.4.0
func (m *StopSubChainPb) XXX_Unmarshal(b []byte) error
type TerminatePlumChainPb ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (*TerminatePlumChainPb) Descriptor() ([]byte, []int)
func (*TerminatePlumChainPb) GetSubChainAddress ¶ added in v0.4.0
func (m *TerminatePlumChainPb) GetSubChainAddress() string
func (*TerminatePlumChainPb) ProtoMessage ¶ added in v0.4.0
func (*TerminatePlumChainPb) ProtoMessage()
func (*TerminatePlumChainPb) Reset ¶ added in v0.4.0
func (m *TerminatePlumChainPb) Reset()
func (*TerminatePlumChainPb) String ¶ added in v0.4.0
func (m *TerminatePlumChainPb) String() string
func (*TerminatePlumChainPb) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *TerminatePlumChainPb) XXX_DiscardUnknown()
func (*TerminatePlumChainPb) XXX_Marshal ¶ added in v0.4.0
func (m *TerminatePlumChainPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TerminatePlumChainPb) XXX_Merge ¶ added in v0.4.0
func (dst *TerminatePlumChainPb) XXX_Merge(src proto.Message)
func (*TerminatePlumChainPb) XXX_Size ¶ added in v0.4.0
func (m *TerminatePlumChainPb) XXX_Size() int
func (*TerminatePlumChainPb) XXX_Unmarshal ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (m *TestPayload) XXX_DiscardUnknown()
func (*TestPayload) XXX_Marshal ¶ added in v0.4.0
func (m *TestPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TestPayload) XXX_Merge ¶ added in v0.4.0
func (dst *TestPayload) XXX_Merge(src proto.Message)
func (*TestPayload) XXX_Size ¶ added in v0.4.0
func (m *TestPayload) XXX_Size() int
func (*TestPayload) XXX_Unmarshal ¶ added in v0.4.0
func (m *TestPayload) XXX_Unmarshal(b []byte) error
type TransferPb ¶ added in v0.2.0
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 ¶ added in v0.2.0
func (*TransferPb) Descriptor() ([]byte, []int)
func (*TransferPb) GetAmount ¶ added in v0.2.0
func (m *TransferPb) GetAmount() []byte
func (*TransferPb) GetPayload ¶ added in v0.2.0
func (m *TransferPb) GetPayload() []byte
func (*TransferPb) GetRecipient ¶ added in v0.2.0
func (m *TransferPb) GetRecipient() string
func (*TransferPb) ProtoMessage ¶ added in v0.2.0
func (*TransferPb) ProtoMessage()
func (*TransferPb) Reset ¶ added in v0.2.0
func (m *TransferPb) Reset()
func (*TransferPb) String ¶ added in v0.2.0
func (m *TransferPb) String() string
func (*TransferPb) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *TransferPb) XXX_DiscardUnknown()
func (*TransferPb) XXX_Marshal ¶ added in v0.4.0
func (m *TransferPb) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferPb) XXX_Merge ¶ added in v0.4.0
func (dst *TransferPb) XXX_Merge(src proto.Message)
func (*TransferPb) XXX_Size ¶ added in v0.4.0
func (m *TransferPb) XXX_Size() int
func (*TransferPb) XXX_Unmarshal ¶ added in v0.4.0
func (m *TransferPb) XXX_Unmarshal(b []byte) error
type VotePb ¶ added in v0.2.0
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 ¶ added in v0.2.0
func (*VotePb) GetTimestamp ¶ added in v0.2.0
func (*VotePb) GetVoteeAddress ¶ added in v0.3.0
func (*VotePb) ProtoMessage ¶ added in v0.2.0
func (*VotePb) ProtoMessage()
func (*VotePb) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *VotePb) XXX_DiscardUnknown()