Documentation ¶
Index ¶
- Variables
- type AccountMeta
- func (*AccountMeta) Descriptor() ([]byte, []int)
- func (m *AccountMeta) GetAddress() string
- func (m *AccountMeta) GetBalance() string
- func (m *AccountMeta) GetNonce() uint64
- func (m *AccountMeta) GetPendingNonce() uint64
- func (*AccountMeta) ProtoMessage()
- func (m *AccountMeta) Reset()
- func (m *AccountMeta) String() string
- func (m *AccountMeta) XXX_DiscardUnknown()
- func (m *AccountMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountMeta) XXX_Merge(src proto.Message)
- func (m *AccountMeta) XXX_Size() int
- func (m *AccountMeta) XXX_Unmarshal(b []byte) error
- type Action
- func (*Action) Descriptor() ([]byte, []int)
- func (m *Action) GetCore() *ActionCore
- func (m *Action) GetSenderPubKey() []byte
- func (m *Action) GetSignature() []byte
- func (*Action) ProtoMessage()
- func (m *Action) Reset()
- func (m *Action) String() string
- func (m *Action) XXX_DiscardUnknown()
- func (m *Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Action) XXX_Merge(src proto.Message)
- func (m *Action) XXX_Size() int
- func (m *Action) XXX_Unmarshal(b []byte) error
- type ActionCore
- func (*ActionCore) Descriptor() ([]byte, []int)
- func (m *ActionCore) GetAction() isActionCore_Action
- func (m *ActionCore) GetClaimFromRewardingFund() *ClaimFromRewardingFund
- func (m *ActionCore) GetCreateDeposit() *CreateDeposit
- func (m *ActionCore) GetCreatePlumChain() *CreatePlumChain
- func (m *ActionCore) GetDepositToRewardingFund() *DepositToRewardingFund
- func (m *ActionCore) GetExecution() *Execution
- func (m *ActionCore) GetGasLimit() uint64
- func (m *ActionCore) GetGasPrice() string
- func (m *ActionCore) GetGrantReward() *GrantReward
- func (m *ActionCore) GetNonce() uint64
- func (m *ActionCore) GetPlumChallengeExit() *PlumChallengeExit
- func (m *ActionCore) GetPlumCreateDeposit() *PlumCreateDeposit
- func (m *ActionCore) GetPlumFinalizeExit() *PlumFinalizeExit
- func (m *ActionCore) GetPlumPutBlock() *PlumPutBlock
- func (m *ActionCore) GetPlumResponseChallengeExit() *PlumResponseChallengeExit
- func (m *ActionCore) GetPlumSettleDeposit() *PlumSettleDeposit
- func (m *ActionCore) GetPlumStartExit() *PlumStartExit
- func (m *ActionCore) GetPlumTransfer() *PlumTransfer
- func (m *ActionCore) GetPutBlock() *PutBlock
- func (m *ActionCore) GetPutPollResult() *PutPollResult
- func (m *ActionCore) GetSettleDeposit() *SettleDeposit
- func (m *ActionCore) GetStartSubChain() *StartSubChain
- func (m *ActionCore) GetStopSubChain() *StopSubChain
- func (m *ActionCore) GetTerminatePlumChain() *TerminatePlumChain
- func (m *ActionCore) GetTransfer() *Transfer
- func (m *ActionCore) GetVersion() uint32
- func (m *ActionCore) GetVote() *Vote
- func (*ActionCore) ProtoMessage()
- func (m *ActionCore) Reset()
- func (m *ActionCore) String() string
- func (m *ActionCore) XXX_DiscardUnknown()
- func (m *ActionCore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActionCore) XXX_Merge(src proto.Message)
- func (*ActionCore) XXX_OneofWrappers() []interface{}
- func (m *ActionCore) XXX_Size() int
- func (m *ActionCore) XXX_Unmarshal(b []byte) error
- type ActionCore_ClaimFromRewardingFund
- type ActionCore_CreateDeposit
- type ActionCore_CreatePlumChain
- type ActionCore_DepositToRewardingFund
- type ActionCore_Execution
- type ActionCore_GrantReward
- type ActionCore_PlumChallengeExit
- type ActionCore_PlumCreateDeposit
- type ActionCore_PlumFinalizeExit
- type ActionCore_PlumPutBlock
- type ActionCore_PlumResponseChallengeExit
- type ActionCore_PlumSettleDeposit
- type ActionCore_PlumStartExit
- type ActionCore_PlumTransfer
- type ActionCore_PutBlock
- type ActionCore_PutPollResult
- type ActionCore_SettleDeposit
- type ActionCore_StartSubChain
- type ActionCore_StopSubChain
- type ActionCore_TerminatePlumChain
- type ActionCore_Transfer
- type ActionCore_Vote
- type Block
- func (*Block) Descriptor() ([]byte, []int)
- func (m *Block) GetActions() []*Action
- func (m *Block) GetFooter() *BlockFooter
- func (m *Block) GetHeader() *BlockHeader
- func (*Block) ProtoMessage()
- func (m *Block) Reset()
- func (m *Block) String() string
- func (m *Block) XXX_DiscardUnknown()
- func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Block) XXX_Merge(src proto.Message)
- func (m *Block) XXX_Size() int
- func (m *Block) XXX_Unmarshal(b []byte) error
- type BlockFooter
- func (*BlockFooter) Descriptor() ([]byte, []int)
- func (m *BlockFooter) GetEndorsements() []*Endorsement
- func (m *BlockFooter) GetTimestamp() *timestamp.Timestamp
- func (*BlockFooter) ProtoMessage()
- func (m *BlockFooter) Reset()
- func (m *BlockFooter) String() string
- func (m *BlockFooter) XXX_DiscardUnknown()
- func (m *BlockFooter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockFooter) XXX_Merge(src proto.Message)
- func (m *BlockFooter) XXX_Size() int
- func (m *BlockFooter) XXX_Unmarshal(b []byte) error
- type BlockHeader
- func (*BlockHeader) Descriptor() ([]byte, []int)
- func (m *BlockHeader) GetCore() *BlockHeaderCore
- func (m *BlockHeader) GetProducerPubkey() []byte
- func (m *BlockHeader) GetSignature() []byte
- func (*BlockHeader) ProtoMessage()
- func (m *BlockHeader) Reset()
- func (m *BlockHeader) String() string
- func (m *BlockHeader) XXX_DiscardUnknown()
- func (m *BlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockHeader) XXX_Merge(src proto.Message)
- func (m *BlockHeader) XXX_Size() int
- func (m *BlockHeader) XXX_Unmarshal(b []byte) error
- type BlockHeaderCore
- func (*BlockHeaderCore) Descriptor() ([]byte, []int)
- func (m *BlockHeaderCore) GetDeltaStateDigest() []byte
- func (m *BlockHeaderCore) GetHeight() uint64
- func (m *BlockHeaderCore) GetPrevBlockHash() []byte
- func (m *BlockHeaderCore) GetReceiptRoot() []byte
- func (m *BlockHeaderCore) GetTimestamp() *timestamp.Timestamp
- func (m *BlockHeaderCore) GetTxRoot() []byte
- func (m *BlockHeaderCore) GetVersion() uint32
- func (*BlockHeaderCore) ProtoMessage()
- func (m *BlockHeaderCore) Reset()
- func (m *BlockHeaderCore) String() string
- func (m *BlockHeaderCore) XXX_DiscardUnknown()
- func (m *BlockHeaderCore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockHeaderCore) XXX_Merge(src proto.Message)
- func (m *BlockHeaderCore) XXX_Size() int
- func (m *BlockHeaderCore) XXX_Unmarshal(b []byte) error
- type BlockMeta
- func (*BlockMeta) Descriptor() ([]byte, []int)
- func (m *BlockMeta) GetDeltaStateDigest() string
- func (m *BlockMeta) GetHash() string
- func (m *BlockMeta) GetHeight() uint64
- func (m *BlockMeta) GetNumActions() int64
- func (m *BlockMeta) GetProducerAddress() string
- func (m *BlockMeta) GetReceiptRoot() string
- func (m *BlockMeta) GetTimestamp() int64
- func (m *BlockMeta) GetTransferAmount() string
- func (m *BlockMeta) GetTxRoot() string
- func (*BlockMeta) ProtoMessage()
- func (m *BlockMeta) Reset()
- func (m *BlockMeta) String() string
- func (m *BlockMeta) XXX_DiscardUnknown()
- func (m *BlockMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockMeta) XXX_Merge(src proto.Message)
- func (m *BlockMeta) XXX_Size() int
- func (m *BlockMeta) XXX_Unmarshal(b []byte) error
- type BlockProposal
- func (*BlockProposal) Descriptor() ([]byte, []int)
- func (m *BlockProposal) GetBlock() *Block
- func (m *BlockProposal) GetEndorsements() []*Endorsement
- func (*BlockProposal) ProtoMessage()
- func (m *BlockProposal) Reset()
- func (m *BlockProposal) String() string
- func (m *BlockProposal) XXX_DiscardUnknown()
- func (m *BlockProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockProposal) XXX_Merge(src proto.Message)
- func (m *BlockProposal) XXX_Size() int
- func (m *BlockProposal) 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) GetRewardAddress() string
- 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 (m *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 (m *CandidateList) XXX_Merge(src proto.Message)
- func (m *CandidateList) XXX_Size() int
- func (m *CandidateList) XXX_Unmarshal(b []byte) error
- type ChainMeta
- func (*ChainMeta) Descriptor() ([]byte, []int)
- func (m *ChainMeta) GetEpoch() *EpochData
- func (m *ChainMeta) GetHeight() uint64
- func (m *ChainMeta) GetNumActions() int64
- func (m *ChainMeta) GetTps() int64
- func (*ChainMeta) ProtoMessage()
- func (m *ChainMeta) Reset()
- func (m *ChainMeta) String() string
- func (m *ChainMeta) XXX_DiscardUnknown()
- func (m *ChainMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainMeta) XXX_Merge(src proto.Message)
- func (m *ChainMeta) XXX_Size() int
- func (m *ChainMeta) XXX_Unmarshal(b []byte) error
- type ClaimFromRewardingFund
- func (*ClaimFromRewardingFund) Descriptor() ([]byte, []int)
- func (m *ClaimFromRewardingFund) GetAmount() string
- 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 (m *ClaimFromRewardingFund) XXX_Merge(src proto.Message)
- func (m *ClaimFromRewardingFund) XXX_Size() int
- func (m *ClaimFromRewardingFund) XXX_Unmarshal(b []byte) error
- type ConsensusMessage
- func (*ConsensusMessage) Descriptor() ([]byte, []int)
- func (m *ConsensusMessage) GetBlockProposal() *BlockProposal
- func (m *ConsensusMessage) GetEndorsement() *Endorsement
- func (m *ConsensusMessage) GetHeight() uint64
- func (m *ConsensusMessage) GetMsg() isConsensusMessage_Msg
- func (m *ConsensusMessage) GetVote() *ConsensusVote
- func (*ConsensusMessage) ProtoMessage()
- func (m *ConsensusMessage) Reset()
- func (m *ConsensusMessage) String() string
- func (m *ConsensusMessage) XXX_DiscardUnknown()
- func (m *ConsensusMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsensusMessage) XXX_Merge(src proto.Message)
- func (*ConsensusMessage) XXX_OneofWrappers() []interface{}
- func (m *ConsensusMessage) XXX_Size() int
- func (m *ConsensusMessage) XXX_Unmarshal(b []byte) error
- type ConsensusMessage_BlockProposal
- type ConsensusMessage_Vote
- type ConsensusVote
- func (*ConsensusVote) Descriptor() ([]byte, []int)
- func (m *ConsensusVote) GetBlockHash() []byte
- func (m *ConsensusVote) GetTopic() ConsensusVote_Topic
- func (*ConsensusVote) ProtoMessage()
- func (m *ConsensusVote) Reset()
- func (m *ConsensusVote) String() string
- func (m *ConsensusVote) XXX_DiscardUnknown()
- func (m *ConsensusVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsensusVote) XXX_Merge(src proto.Message)
- func (m *ConsensusVote) XXX_Size() int
- func (m *ConsensusVote) XXX_Unmarshal(b []byte) error
- type ConsensusVote_Topic
- type CreateDeposit
- func (*CreateDeposit) Descriptor() ([]byte, []int)
- func (m *CreateDeposit) GetAmount() string
- func (m *CreateDeposit) GetChainID() uint32
- func (m *CreateDeposit) GetRecipient() string
- func (*CreateDeposit) ProtoMessage()
- func (m *CreateDeposit) Reset()
- func (m *CreateDeposit) String() string
- func (m *CreateDeposit) XXX_DiscardUnknown()
- func (m *CreateDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateDeposit) XXX_Merge(src proto.Message)
- func (m *CreateDeposit) XXX_Size() int
- func (m *CreateDeposit) XXX_Unmarshal(b []byte) error
- type CreatePlumChain
- func (*CreatePlumChain) Descriptor() ([]byte, []int)
- func (*CreatePlumChain) ProtoMessage()
- func (m *CreatePlumChain) Reset()
- func (m *CreatePlumChain) String() string
- func (m *CreatePlumChain) XXX_DiscardUnknown()
- func (m *CreatePlumChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreatePlumChain) XXX_Merge(src proto.Message)
- func (m *CreatePlumChain) XXX_Size() int
- func (m *CreatePlumChain) XXX_Unmarshal(b []byte) error
- type DepositToRewardingFund
- func (*DepositToRewardingFund) Descriptor() ([]byte, []int)
- func (m *DepositToRewardingFund) GetAmount() string
- 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 (m *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) GetEndorser() []byte
- func (m *Endorsement) GetSignature() []byte
- func (m *Endorsement) GetTimestamp() *timestamp.Timestamp
- 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 (m *Endorsement) XXX_Merge(src proto.Message)
- func (m *Endorsement) XXX_Size() int
- func (m *Endorsement) XXX_Unmarshal(b []byte) error
- type EpochData
- func (*EpochData) Descriptor() ([]byte, []int)
- func (m *EpochData) GetHeight() uint64
- func (m *EpochData) GetNum() uint64
- func (*EpochData) ProtoMessage()
- func (m *EpochData) Reset()
- func (m *EpochData) String() string
- func (m *EpochData) XXX_DiscardUnknown()
- func (m *EpochData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EpochData) XXX_Merge(src proto.Message)
- func (m *EpochData) XXX_Size() int
- func (m *EpochData) XXX_Unmarshal(b []byte) error
- type Execution
- func (*Execution) Descriptor() ([]byte, []int)
- func (m *Execution) GetAmount() string
- func (m *Execution) GetContract() string
- func (m *Execution) GetData() []byte
- func (*Execution) ProtoMessage()
- func (m *Execution) Reset()
- func (m *Execution) String() string
- func (m *Execution) XXX_DiscardUnknown()
- func (m *Execution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Execution) XXX_Merge(src proto.Message)
- func (m *Execution) XXX_Size() int
- func (m *Execution) XXX_Unmarshal(b []byte) error
- type Genesis
- func (*Genesis) Descriptor() ([]byte, []int)
- func (m *Genesis) GetAccount() *GenesisAccount
- func (m *Genesis) GetBlockchain() *GenesisBlockchain
- func (m *Genesis) GetPoll() *GenesisPoll
- func (m *Genesis) GetRewarding() *GenesisRewarding
- func (*Genesis) ProtoMessage()
- func (m *Genesis) Reset()
- func (m *Genesis) String() string
- func (m *Genesis) XXX_DiscardUnknown()
- func (m *Genesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Genesis) XXX_Merge(src proto.Message)
- func (m *Genesis) XXX_Size() int
- func (m *Genesis) XXX_Unmarshal(b []byte) error
- type GenesisAccount
- func (*GenesisAccount) Descriptor() ([]byte, []int)
- func (m *GenesisAccount) GetInitBalanceAddrs() []string
- func (m *GenesisAccount) GetInitBalances() []string
- func (*GenesisAccount) ProtoMessage()
- func (m *GenesisAccount) Reset()
- func (m *GenesisAccount) String() string
- func (m *GenesisAccount) XXX_DiscardUnknown()
- func (m *GenesisAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisAccount) XXX_Merge(src proto.Message)
- func (m *GenesisAccount) XXX_Size() int
- func (m *GenesisAccount) XXX_Unmarshal(b []byte) error
- type GenesisBlockchain
- func (*GenesisBlockchain) Descriptor() ([]byte, []int)
- func (m *GenesisBlockchain) GetActionGasLimit() uint64
- func (m *GenesisBlockchain) GetBlockGasLimit() uint64
- func (m *GenesisBlockchain) GetBlockInterval() int64
- func (m *GenesisBlockchain) GetNumCandidateDelegates() uint64
- func (m *GenesisBlockchain) GetNumDelegates() uint64
- func (m *GenesisBlockchain) GetNumSubEpochs() uint64
- func (m *GenesisBlockchain) GetTimeBasedRotation() bool
- func (m *GenesisBlockchain) GetTimestamp() int64
- func (*GenesisBlockchain) ProtoMessage()
- func (m *GenesisBlockchain) Reset()
- func (m *GenesisBlockchain) String() string
- func (m *GenesisBlockchain) XXX_DiscardUnknown()
- func (m *GenesisBlockchain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisBlockchain) XXX_Merge(src proto.Message)
- func (m *GenesisBlockchain) XXX_Size() int
- func (m *GenesisBlockchain) XXX_Unmarshal(b []byte) error
- type GenesisDelegate
- func (*GenesisDelegate) Descriptor() ([]byte, []int)
- func (m *GenesisDelegate) GetOperatorAddr() string
- func (m *GenesisDelegate) GetRewardAddr() string
- func (m *GenesisDelegate) GetVotes() string
- func (*GenesisDelegate) ProtoMessage()
- func (m *GenesisDelegate) Reset()
- func (m *GenesisDelegate) String() string
- func (m *GenesisDelegate) XXX_DiscardUnknown()
- func (m *GenesisDelegate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisDelegate) XXX_Merge(src proto.Message)
- func (m *GenesisDelegate) XXX_Size() int
- func (m *GenesisDelegate) XXX_Unmarshal(b []byte) error
- type GenesisPoll
- func (*GenesisPoll) Descriptor() ([]byte, []int)
- func (m *GenesisPoll) GetDelegates() []*GenesisDelegate
- func (m *GenesisPoll) GetEnableGravityChainVoting() bool
- func (m *GenesisPoll) GetGravityChainStartHeight() uint64
- func (m *GenesisPoll) GetRegisterContractAddress() string
- func (m *GenesisPoll) GetScoreThreshold() string
- func (m *GenesisPoll) GetSelfStakingThreshold() string
- func (m *GenesisPoll) GetStakingContractAddress() string
- func (m *GenesisPoll) GetVoteThreshold() string
- func (*GenesisPoll) ProtoMessage()
- func (m *GenesisPoll) Reset()
- func (m *GenesisPoll) String() string
- func (m *GenesisPoll) XXX_DiscardUnknown()
- func (m *GenesisPoll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisPoll) XXX_Merge(src proto.Message)
- func (m *GenesisPoll) XXX_Size() int
- func (m *GenesisPoll) XXX_Unmarshal(b []byte) error
- type GenesisRewarding
- func (*GenesisRewarding) Descriptor() ([]byte, []int)
- func (m *GenesisRewarding) GetBlockReward() string
- func (m *GenesisRewarding) GetEpochReward() string
- func (m *GenesisRewarding) GetFoundationBonus() string
- func (m *GenesisRewarding) GetFoundationBonusLastEpoch() uint64
- func (m *GenesisRewarding) GetInitAdminAddr() string
- func (m *GenesisRewarding) GetInitBalance() string
- func (m *GenesisRewarding) GetNumDelegatesForEpochReward() uint64
- func (m *GenesisRewarding) GetNumDelegatesForFoundationBonus() uint64
- func (m *GenesisRewarding) GetProductivityThreshold() uint64
- func (*GenesisRewarding) ProtoMessage()
- func (m *GenesisRewarding) Reset()
- func (m *GenesisRewarding) String() string
- func (m *GenesisRewarding) XXX_DiscardUnknown()
- func (m *GenesisRewarding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisRewarding) XXX_Merge(src proto.Message)
- func (m *GenesisRewarding) XXX_Size() int
- func (m *GenesisRewarding) 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 (m *GrantReward) XXX_Merge(src proto.Message)
- func (m *GrantReward) XXX_Size() int
- func (m *GrantReward) XXX_Unmarshal(b []byte) error
- type Log
- func (*Log) Descriptor() ([]byte, []int)
- func (m *Log) GetAddress() string
- func (m *Log) GetBlockNumber() uint64
- func (m *Log) GetData() []byte
- func (m *Log) GetIndex() uint32
- func (m *Log) GetTopics() [][]byte
- func (m *Log) GetTxnHash() []byte
- func (*Log) ProtoMessage()
- func (m *Log) Reset()
- func (m *Log) String() string
- func (m *Log) XXX_DiscardUnknown()
- func (m *Log) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Log) XXX_Merge(src proto.Message)
- func (m *Log) XXX_Size() int
- func (m *Log) XXX_Unmarshal(b []byte) error
- type 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 (m *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 (m *PlumChallengeExit) XXX_Merge(src proto.Message)
- func (m *PlumChallengeExit) XXX_Size() int
- func (m *PlumChallengeExit) XXX_Unmarshal(b []byte) error
- type PlumCreateDeposit
- func (*PlumCreateDeposit) Descriptor() ([]byte, []int)
- func (m *PlumCreateDeposit) GetAmount() string
- func (m *PlumCreateDeposit) GetRecipient() string
- func (m *PlumCreateDeposit) GetSubChainAddress() string
- func (*PlumCreateDeposit) ProtoMessage()
- func (m *PlumCreateDeposit) Reset()
- func (m *PlumCreateDeposit) String() string
- func (m *PlumCreateDeposit) XXX_DiscardUnknown()
- func (m *PlumCreateDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlumCreateDeposit) XXX_Merge(src proto.Message)
- func (m *PlumCreateDeposit) XXX_Size() int
- func (m *PlumCreateDeposit) 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 (m *PlumFinalizeExit) XXX_Merge(src proto.Message)
- func (m *PlumFinalizeExit) XXX_Size() int
- func (m *PlumFinalizeExit) XXX_Unmarshal(b []byte) error
- type PlumPutBlock
- func (*PlumPutBlock) Descriptor() ([]byte, []int)
- func (m *PlumPutBlock) GetHeight() uint64
- func (m *PlumPutBlock) GetRoots() map[string][]byte
- func (m *PlumPutBlock) GetSubChainAddress() string
- func (*PlumPutBlock) ProtoMessage()
- func (m *PlumPutBlock) Reset()
- func (m *PlumPutBlock) String() string
- func (m *PlumPutBlock) XXX_DiscardUnknown()
- func (m *PlumPutBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlumPutBlock) XXX_Merge(src proto.Message)
- func (m *PlumPutBlock) XXX_Size() int
- func (m *PlumPutBlock) 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 (m *PlumResponseChallengeExit) XXX_Merge(src proto.Message)
- func (m *PlumResponseChallengeExit) XXX_Size() int
- func (m *PlumResponseChallengeExit) XXX_Unmarshal(b []byte) error
- type PlumSettleDeposit
- func (*PlumSettleDeposit) Descriptor() ([]byte, []int)
- func (m *PlumSettleDeposit) GetCoinID() uint64
- func (*PlumSettleDeposit) ProtoMessage()
- func (m *PlumSettleDeposit) Reset()
- func (m *PlumSettleDeposit) String() string
- func (m *PlumSettleDeposit) XXX_DiscardUnknown()
- func (m *PlumSettleDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlumSettleDeposit) XXX_Merge(src proto.Message)
- func (m *PlumSettleDeposit) XXX_Size() int
- func (m *PlumSettleDeposit) XXX_Unmarshal(b []byte) error
- type PlumStartExit
- func (*PlumStartExit) Descriptor() ([]byte, []int)
- func (m *PlumStartExit) GetExitTransfer() []byte
- func (m *PlumStartExit) GetExitTransferBlockHeight() uint64
- func (m *PlumStartExit) GetExitTransferBlockProof() []byte
- func (m *PlumStartExit) GetPreviousTransfer() []byte
- func (m *PlumStartExit) GetPreviousTransferBlockHeight() uint64
- func (m *PlumStartExit) GetPreviousTransferBlockProof() []byte
- func (m *PlumStartExit) GetSubChainAddress() string
- func (*PlumStartExit) ProtoMessage()
- func (m *PlumStartExit) Reset()
- func (m *PlumStartExit) String() string
- func (m *PlumStartExit) XXX_DiscardUnknown()
- func (m *PlumStartExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlumStartExit) XXX_Merge(src proto.Message)
- func (m *PlumStartExit) XXX_Size() int
- func (m *PlumStartExit) XXX_Unmarshal(b []byte) error
- type PlumTransfer
- func (*PlumTransfer) Descriptor() ([]byte, []int)
- func (m *PlumTransfer) GetCoinID() uint64
- func (m *PlumTransfer) GetDenomination() []byte
- func (m *PlumTransfer) GetOwner() string
- func (m *PlumTransfer) GetRecipient() string
- func (*PlumTransfer) ProtoMessage()
- func (m *PlumTransfer) Reset()
- func (m *PlumTransfer) String() string
- func (m *PlumTransfer) XXX_DiscardUnknown()
- func (m *PlumTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlumTransfer) XXX_Merge(src proto.Message)
- func (m *PlumTransfer) XXX_Size() int
- func (m *PlumTransfer) XXX_Unmarshal(b []byte) error
- type PutBlock
- func (*PutBlock) Descriptor() ([]byte, []int)
- func (m *PutBlock) GetHeight() uint64
- func (m *PutBlock) GetRoots() []*MerkleRoot
- func (m *PutBlock) GetSubChainAddress() string
- func (*PutBlock) ProtoMessage()
- func (m *PutBlock) Reset()
- func (m *PutBlock) String() string
- func (m *PutBlock) XXX_DiscardUnknown()
- func (m *PutBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutBlock) XXX_Merge(src proto.Message)
- func (m *PutBlock) XXX_Size() int
- func (m *PutBlock) XXX_Unmarshal(b []byte) error
- type PutPollResult
- func (*PutPollResult) Descriptor() ([]byte, []int)
- func (m *PutPollResult) GetCandidates() *CandidateList
- func (m *PutPollResult) GetHeight() uint64
- func (*PutPollResult) ProtoMessage()
- func (m *PutPollResult) Reset()
- func (m *PutPollResult) String() string
- func (m *PutPollResult) XXX_DiscardUnknown()
- func (m *PutPollResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutPollResult) XXX_Merge(src proto.Message)
- func (m *PutPollResult) XXX_Size() int
- func (m *PutPollResult) XXX_Unmarshal(b []byte) error
- type Receipt
- func (*Receipt) Descriptor() ([]byte, []int)
- func (m *Receipt) GetActHash() []byte
- func (m *Receipt) GetContractAddress() string
- func (m *Receipt) GetGasConsumed() uint64
- func (m *Receipt) GetLogs() []*Log
- func (m *Receipt) GetReturnValue() []byte
- func (m *Receipt) GetStatus() uint64
- func (*Receipt) ProtoMessage()
- func (m *Receipt) Reset()
- func (m *Receipt) String() string
- func (m *Receipt) XXX_DiscardUnknown()
- func (m *Receipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Receipt) XXX_Merge(src proto.Message)
- func (m *Receipt) XXX_Size() int
- func (m *Receipt) XXX_Unmarshal(b []byte) error
- type Receipts
- func (*Receipts) Descriptor() ([]byte, []int)
- func (m *Receipts) GetReceipts() []*Receipt
- func (*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 (m *Receipts) XXX_Merge(src proto.Message)
- func (m *Receipts) XXX_Size() int
- func (m *Receipts) XXX_Unmarshal(b []byte) error
- type RewardType
- type ServerMeta
- func (*ServerMeta) Descriptor() ([]byte, []int)
- func (m *ServerMeta) GetBuidTime() string
- func (m *ServerMeta) GetGitStatus() string
- func (m *ServerMeta) GetGoVersion() string
- func (m *ServerMeta) GetPackageCommitID() string
- func (m *ServerMeta) GetPackageVersion() string
- func (*ServerMeta) ProtoMessage()
- func (m *ServerMeta) Reset()
- func (m *ServerMeta) String() string
- func (m *ServerMeta) XXX_DiscardUnknown()
- func (m *ServerMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerMeta) XXX_Merge(src proto.Message)
- func (m *ServerMeta) XXX_Size() int
- func (m *ServerMeta) XXX_Unmarshal(b []byte) error
- type SettleDeposit
- func (*SettleDeposit) Descriptor() ([]byte, []int)
- func (m *SettleDeposit) GetAmount() string
- func (m *SettleDeposit) GetIndex() uint64
- func (m *SettleDeposit) GetRecipient() string
- func (*SettleDeposit) ProtoMessage()
- func (m *SettleDeposit) Reset()
- func (m *SettleDeposit) String() string
- func (m *SettleDeposit) XXX_DiscardUnknown()
- func (m *SettleDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SettleDeposit) XXX_Merge(src proto.Message)
- func (m *SettleDeposit) XXX_Size() int
- func (m *SettleDeposit) XXX_Unmarshal(b []byte) error
- type StartSubChain
- func (*StartSubChain) Descriptor() ([]byte, []int)
- func (m *StartSubChain) GetChainID() uint32
- func (m *StartSubChain) GetOperationDeposit() string
- func (m *StartSubChain) GetParentHeightOffset() uint64
- func (m *StartSubChain) GetSecurityDeposit() string
- func (m *StartSubChain) GetStartHeight() uint64
- func (*StartSubChain) ProtoMessage()
- func (m *StartSubChain) Reset()
- func (m *StartSubChain) String() string
- func (m *StartSubChain) XXX_DiscardUnknown()
- func (m *StartSubChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StartSubChain) XXX_Merge(src proto.Message)
- func (m *StartSubChain) XXX_Size() int
- func (m *StartSubChain) XXX_Unmarshal(b []byte) error
- type StopSubChain
- func (*StopSubChain) Descriptor() ([]byte, []int)
- func (m *StopSubChain) GetChainID() uint32
- func (m *StopSubChain) GetStopHeight() uint64
- func (m *StopSubChain) GetSubChainAddress() string
- func (*StopSubChain) ProtoMessage()
- func (m *StopSubChain) Reset()
- func (m *StopSubChain) String() string
- func (m *StopSubChain) XXX_DiscardUnknown()
- func (m *StopSubChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StopSubChain) XXX_Merge(src proto.Message)
- func (m *StopSubChain) XXX_Size() int
- func (m *StopSubChain) XXX_Unmarshal(b []byte) error
- type TerminatePlumChain
- func (*TerminatePlumChain) Descriptor() ([]byte, []int)
- func (m *TerminatePlumChain) GetSubChainAddress() string
- func (*TerminatePlumChain) ProtoMessage()
- func (m *TerminatePlumChain) Reset()
- func (m *TerminatePlumChain) String() string
- func (m *TerminatePlumChain) XXX_DiscardUnknown()
- func (m *TerminatePlumChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TerminatePlumChain) XXX_Merge(src proto.Message)
- func (m *TerminatePlumChain) XXX_Size() int
- func (m *TerminatePlumChain) XXX_Unmarshal(b []byte) error
- type Transfer
- func (*Transfer) Descriptor() ([]byte, []int)
- func (m *Transfer) GetAmount() string
- func (m *Transfer) GetPayload() []byte
- func (m *Transfer) GetRecipient() string
- func (*Transfer) ProtoMessage()
- func (m *Transfer) Reset()
- func (m *Transfer) String() string
- func (m *Transfer) XXX_DiscardUnknown()
- func (m *Transfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Transfer) XXX_Merge(src proto.Message)
- func (m *Transfer) XXX_Size() int
- func (m *Transfer) XXX_Unmarshal(b []byte) error
- type Vote
- func (*Vote) Descriptor() ([]byte, []int)
- func (m *Vote) GetTimestamp() *timestamp.Timestamp
- func (m *Vote) GetVoteeAddress() string
- func (*Vote) ProtoMessage()
- func (m *Vote) Reset()
- func (m *Vote) String() string
- func (m *Vote) XXX_DiscardUnknown()
- func (m *Vote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vote) XXX_Merge(src proto.Message)
- func (m *Vote) XXX_Size() int
- func (m *Vote) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ConsensusVote_Topic_name = map[int32]string{
0: "PROPOSAL",
1: "LOCK",
2: "COMMIT",
}
View Source
var ConsensusVote_Topic_value = map[string]int32{
"PROPOSAL": 0,
"LOCK": 1,
"COMMIT": 2,
}
View Source
var RewardType_name = map[int32]string{
0: "BlockReward",
1: "EpochReward",
}
View Source
var RewardType_value = map[string]int32{
"BlockReward": 0,
"EpochReward": 1,
}
Functions ¶
This section is empty.
Types ¶
type AccountMeta ¶
type AccountMeta struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Balance string `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"` Nonce uint64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"` PendingNonce uint64 `protobuf:"varint,4,opt,name=pendingNonce,proto3" json:"pendingNonce,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Account Metadata
func (*AccountMeta) Descriptor ¶
func (*AccountMeta) Descriptor() ([]byte, []int)
func (*AccountMeta) GetAddress ¶
func (m *AccountMeta) GetAddress() string
func (*AccountMeta) GetBalance ¶
func (m *AccountMeta) GetBalance() string
func (*AccountMeta) GetNonce ¶
func (m *AccountMeta) GetNonce() uint64
func (*AccountMeta) GetPendingNonce ¶
func (m *AccountMeta) GetPendingNonce() uint64
func (*AccountMeta) ProtoMessage ¶
func (*AccountMeta) ProtoMessage()
func (*AccountMeta) Reset ¶
func (m *AccountMeta) Reset()
func (*AccountMeta) String ¶
func (m *AccountMeta) String() string
func (*AccountMeta) XXX_DiscardUnknown ¶
func (m *AccountMeta) XXX_DiscardUnknown()
func (*AccountMeta) XXX_Marshal ¶
func (m *AccountMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountMeta) XXX_Merge ¶
func (m *AccountMeta) XXX_Merge(src proto.Message)
func (*AccountMeta) XXX_Size ¶
func (m *AccountMeta) XXX_Size() int
func (*AccountMeta) XXX_Unmarshal ¶
func (m *AccountMeta) XXX_Unmarshal(b []byte) error
type Action ¶
type Action struct { Core *ActionCore `protobuf:"bytes,1,opt,name=core,proto3" json:"core,omitempty"` SenderPubKey []byte `protobuf:"bytes,2,opt,name=senderPubKey,proto3" json:"senderPubKey,omitempty"` Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Action) Descriptor ¶
func (*Action) GetCore ¶
func (m *Action) GetCore() *ActionCore
func (*Action) GetSenderPubKey ¶
func (*Action) GetSignature ¶
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
func (*Action) XXX_DiscardUnknown ¶
func (m *Action) XXX_DiscardUnknown()
func (*Action) XXX_Marshal ¶
func (*Action) XXX_Unmarshal ¶
type ActionCore ¶
type ActionCore struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` GasLimit uint64 `protobuf:"varint,3,opt,name=gasLimit,proto3" json:"gasLimit,omitempty"` GasPrice string `protobuf:"bytes,4,opt,name=gasPrice,proto3" json:"gasPrice,omitempty"` // Types that are valid to be assigned to Action: // *ActionCore_Transfer // *ActionCore_Vote // *ActionCore_Execution // *ActionCore_StartSubChain // *ActionCore_StopSubChain // *ActionCore_PutBlock // *ActionCore_CreateDeposit // *ActionCore_SettleDeposit // *ActionCore_CreatePlumChain // *ActionCore_TerminatePlumChain // *ActionCore_PlumPutBlock // *ActionCore_PlumCreateDeposit // *ActionCore_PlumStartExit // *ActionCore_PlumChallengeExit // *ActionCore_PlumResponseChallengeExit // *ActionCore_PlumFinalizeExit // *ActionCore_PlumSettleDeposit // *ActionCore_PlumTransfer // *ActionCore_DepositToRewardingFund // *ActionCore_ClaimFromRewardingFund // *ActionCore_GrantReward // *ActionCore_PutPollResult Action isActionCore_Action `protobuf_oneof:"action"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ActionCore) Descriptor ¶
func (*ActionCore) Descriptor() ([]byte, []int)
func (*ActionCore) GetAction ¶
func (m *ActionCore) GetAction() isActionCore_Action
func (*ActionCore) GetClaimFromRewardingFund ¶
func (m *ActionCore) GetClaimFromRewardingFund() *ClaimFromRewardingFund
func (*ActionCore) GetCreateDeposit ¶
func (m *ActionCore) GetCreateDeposit() *CreateDeposit
func (*ActionCore) GetCreatePlumChain ¶
func (m *ActionCore) GetCreatePlumChain() *CreatePlumChain
func (*ActionCore) GetDepositToRewardingFund ¶
func (m *ActionCore) GetDepositToRewardingFund() *DepositToRewardingFund
func (*ActionCore) GetExecution ¶
func (m *ActionCore) GetExecution() *Execution
func (*ActionCore) GetGasLimit ¶
func (m *ActionCore) GetGasLimit() uint64
func (*ActionCore) GetGasPrice ¶
func (m *ActionCore) GetGasPrice() string
func (*ActionCore) GetGrantReward ¶
func (m *ActionCore) GetGrantReward() *GrantReward
func (*ActionCore) GetNonce ¶
func (m *ActionCore) GetNonce() uint64
func (*ActionCore) GetPlumChallengeExit ¶
func (m *ActionCore) GetPlumChallengeExit() *PlumChallengeExit
func (*ActionCore) GetPlumCreateDeposit ¶
func (m *ActionCore) GetPlumCreateDeposit() *PlumCreateDeposit
func (*ActionCore) GetPlumFinalizeExit ¶
func (m *ActionCore) GetPlumFinalizeExit() *PlumFinalizeExit
func (*ActionCore) GetPlumPutBlock ¶
func (m *ActionCore) GetPlumPutBlock() *PlumPutBlock
func (*ActionCore) GetPlumResponseChallengeExit ¶
func (m *ActionCore) GetPlumResponseChallengeExit() *PlumResponseChallengeExit
func (*ActionCore) GetPlumSettleDeposit ¶
func (m *ActionCore) GetPlumSettleDeposit() *PlumSettleDeposit
func (*ActionCore) GetPlumStartExit ¶
func (m *ActionCore) GetPlumStartExit() *PlumStartExit
func (*ActionCore) GetPlumTransfer ¶
func (m *ActionCore) GetPlumTransfer() *PlumTransfer
func (*ActionCore) GetPutBlock ¶
func (m *ActionCore) GetPutBlock() *PutBlock
func (*ActionCore) GetPutPollResult ¶
func (m *ActionCore) GetPutPollResult() *PutPollResult
func (*ActionCore) GetSettleDeposit ¶
func (m *ActionCore) GetSettleDeposit() *SettleDeposit
func (*ActionCore) GetStartSubChain ¶
func (m *ActionCore) GetStartSubChain() *StartSubChain
func (*ActionCore) GetStopSubChain ¶
func (m *ActionCore) GetStopSubChain() *StopSubChain
func (*ActionCore) GetTerminatePlumChain ¶
func (m *ActionCore) GetTerminatePlumChain() *TerminatePlumChain
func (*ActionCore) GetTransfer ¶
func (m *ActionCore) GetTransfer() *Transfer
func (*ActionCore) GetVersion ¶
func (m *ActionCore) GetVersion() uint32
func (*ActionCore) GetVote ¶
func (m *ActionCore) GetVote() *Vote
func (*ActionCore) ProtoMessage ¶
func (*ActionCore) ProtoMessage()
func (*ActionCore) Reset ¶
func (m *ActionCore) Reset()
func (*ActionCore) String ¶
func (m *ActionCore) String() string
func (*ActionCore) XXX_DiscardUnknown ¶
func (m *ActionCore) XXX_DiscardUnknown()
func (*ActionCore) XXX_Marshal ¶
func (m *ActionCore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActionCore) XXX_Merge ¶
func (m *ActionCore) XXX_Merge(src proto.Message)
func (*ActionCore) XXX_OneofWrappers ¶
func (*ActionCore) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ActionCore) XXX_Size ¶
func (m *ActionCore) XXX_Size() int
func (*ActionCore) XXX_Unmarshal ¶
func (m *ActionCore) XXX_Unmarshal(b []byte) error
type ActionCore_ClaimFromRewardingFund ¶
type ActionCore_ClaimFromRewardingFund struct {
ClaimFromRewardingFund *ClaimFromRewardingFund `protobuf:"bytes,31,opt,name=claimFromRewardingFund,proto3,oneof"`
}
type ActionCore_CreateDeposit ¶
type ActionCore_CreateDeposit struct {
CreateDeposit *CreateDeposit `protobuf:"bytes,16,opt,name=createDeposit,proto3,oneof"`
}
type ActionCore_CreatePlumChain ¶
type ActionCore_CreatePlumChain struct {
CreatePlumChain *CreatePlumChain `protobuf:"bytes,18,opt,name=createPlumChain,proto3,oneof"`
}
type ActionCore_DepositToRewardingFund ¶
type ActionCore_DepositToRewardingFund struct {
DepositToRewardingFund *DepositToRewardingFund `protobuf:"bytes,30,opt,name=depositToRewardingFund,proto3,oneof"`
}
type ActionCore_Execution ¶
type ActionCore_Execution struct {
Execution *Execution `protobuf:"bytes,12,opt,name=execution,proto3,oneof"`
}
type ActionCore_GrantReward ¶
type ActionCore_GrantReward struct {
GrantReward *GrantReward `protobuf:"bytes,32,opt,name=grantReward,proto3,oneof"`
}
type ActionCore_PlumChallengeExit ¶
type ActionCore_PlumChallengeExit struct {
PlumChallengeExit *PlumChallengeExit `protobuf:"bytes,23,opt,name=plumChallengeExit,proto3,oneof"`
}
type ActionCore_PlumCreateDeposit ¶
type ActionCore_PlumCreateDeposit struct {
PlumCreateDeposit *PlumCreateDeposit `protobuf:"bytes,21,opt,name=plumCreateDeposit,proto3,oneof"`
}
type ActionCore_PlumFinalizeExit ¶
type ActionCore_PlumFinalizeExit struct {
PlumFinalizeExit *PlumFinalizeExit `protobuf:"bytes,25,opt,name=plumFinalizeExit,proto3,oneof"`
}
type ActionCore_PlumPutBlock ¶
type ActionCore_PlumPutBlock struct {
PlumPutBlock *PlumPutBlock `protobuf:"bytes,20,opt,name=plumPutBlock,proto3,oneof"`
}
type ActionCore_PlumResponseChallengeExit ¶
type ActionCore_PlumResponseChallengeExit struct {
PlumResponseChallengeExit *PlumResponseChallengeExit `protobuf:"bytes,24,opt,name=plumResponseChallengeExit,proto3,oneof"`
}
type ActionCore_PlumSettleDeposit ¶
type ActionCore_PlumSettleDeposit struct {
PlumSettleDeposit *PlumSettleDeposit `protobuf:"bytes,26,opt,name=plumSettleDeposit,proto3,oneof"`
}
type ActionCore_PlumStartExit ¶
type ActionCore_PlumStartExit struct {
PlumStartExit *PlumStartExit `protobuf:"bytes,22,opt,name=plumStartExit,proto3,oneof"`
}
type ActionCore_PlumTransfer ¶
type ActionCore_PlumTransfer struct {
PlumTransfer *PlumTransfer `protobuf:"bytes,27,opt,name=plumTransfer,proto3,oneof"`
}
type ActionCore_PutBlock ¶
type ActionCore_PutBlock struct {
PutBlock *PutBlock `protobuf:"bytes,15,opt,name=putBlock,proto3,oneof"`
}
type ActionCore_PutPollResult ¶
type ActionCore_PutPollResult struct {
PutPollResult *PutPollResult `protobuf:"bytes,50,opt,name=putPollResult,proto3,oneof"`
}
type ActionCore_SettleDeposit ¶
type ActionCore_SettleDeposit struct {
SettleDeposit *SettleDeposit `protobuf:"bytes,17,opt,name=settleDeposit,proto3,oneof"`
}
type ActionCore_StartSubChain ¶
type ActionCore_StartSubChain struct {
StartSubChain *StartSubChain `protobuf:"bytes,13,opt,name=startSubChain,proto3,oneof"`
}
type ActionCore_StopSubChain ¶
type ActionCore_StopSubChain struct {
StopSubChain *StopSubChain `protobuf:"bytes,14,opt,name=stopSubChain,proto3,oneof"`
}
type ActionCore_TerminatePlumChain ¶
type ActionCore_TerminatePlumChain struct {
TerminatePlumChain *TerminatePlumChain `protobuf:"bytes,19,opt,name=terminatePlumChain,proto3,oneof"`
}
type ActionCore_Transfer ¶
type ActionCore_Transfer struct {
Transfer *Transfer `protobuf:"bytes,10,opt,name=transfer,proto3,oneof"`
}
type ActionCore_Vote ¶
type ActionCore_Vote struct {
Vote *Vote `protobuf:"bytes,11,opt,name=vote,proto3,oneof"`
}
type Block ¶
type Block struct { Header *BlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Actions []*Action `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 (*Block) Descriptor ¶
func (*Block) GetActions ¶
func (*Block) GetFooter ¶
func (m *Block) GetFooter() *BlockFooter
func (*Block) GetHeader ¶
func (m *Block) GetHeader() *BlockHeader
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) XXX_DiscardUnknown ¶
func (m *Block) XXX_DiscardUnknown()
func (*Block) XXX_Marshal ¶
func (*Block) XXX_Unmarshal ¶
type BlockFooter ¶
type BlockFooter struct {}
footer of a block
func (*BlockFooter) Descriptor ¶
func (*BlockFooter) Descriptor() ([]byte, []int)
func (*BlockFooter) GetEndorsements ¶
func (m *BlockFooter) GetEndorsements() []*Endorsement
func (*BlockFooter) GetTimestamp ¶
func (m *BlockFooter) GetTimestamp() *timestamp.Timestamp
func (*BlockFooter) ProtoMessage ¶
func (*BlockFooter) ProtoMessage()
func (*BlockFooter) Reset ¶
func (m *BlockFooter) Reset()
func (*BlockFooter) String ¶
func (m *BlockFooter) String() string
func (*BlockFooter) XXX_DiscardUnknown ¶
func (m *BlockFooter) XXX_DiscardUnknown()
func (*BlockFooter) XXX_Marshal ¶
func (m *BlockFooter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockFooter) XXX_Merge ¶
func (m *BlockFooter) XXX_Merge(src proto.Message)
func (*BlockFooter) XXX_Size ¶
func (m *BlockFooter) XXX_Size() int
func (*BlockFooter) XXX_Unmarshal ¶
func (m *BlockFooter) XXX_Unmarshal(b []byte) error
type BlockHeader ¶
type BlockHeader struct { Core *BlockHeaderCore `protobuf:"bytes,1,opt,name=core,proto3" json:"core,omitempty"` ProducerPubkey []byte `protobuf:"bytes,2,opt,name=producerPubkey,proto3" json:"producerPubkey,omitempty"` Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
header of a block
func (*BlockHeader) Descriptor ¶
func (*BlockHeader) Descriptor() ([]byte, []int)
func (*BlockHeader) GetCore ¶
func (m *BlockHeader) GetCore() *BlockHeaderCore
func (*BlockHeader) GetProducerPubkey ¶
func (m *BlockHeader) GetProducerPubkey() []byte
func (*BlockHeader) GetSignature ¶
func (m *BlockHeader) GetSignature() []byte
func (*BlockHeader) ProtoMessage ¶
func (*BlockHeader) ProtoMessage()
func (*BlockHeader) Reset ¶
func (m *BlockHeader) Reset()
func (*BlockHeader) String ¶
func (m *BlockHeader) String() string
func (*BlockHeader) XXX_DiscardUnknown ¶
func (m *BlockHeader) XXX_DiscardUnknown()
func (*BlockHeader) XXX_Marshal ¶
func (m *BlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockHeader) XXX_Merge ¶
func (m *BlockHeader) XXX_Merge(src proto.Message)
func (*BlockHeader) XXX_Size ¶
func (m *BlockHeader) XXX_Size() int
func (*BlockHeader) XXX_Unmarshal ¶
func (m *BlockHeader) XXX_Unmarshal(b []byte) error
type BlockHeaderCore ¶
type BlockHeaderCore struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` PrevBlockHash []byte `protobuf:"bytes,4,opt,name=prevBlockHash,proto3" json:"prevBlockHash,omitempty"` TxRoot []byte `protobuf:"bytes,5,opt,name=txRoot,proto3" json:"txRoot,omitempty"` DeltaStateDigest []byte `protobuf:"bytes,6,opt,name=deltaStateDigest,proto3" json:"deltaStateDigest,omitempty"` ReceiptRoot []byte `protobuf:"bytes,7,opt,name=receiptRoot,proto3" json:"receiptRoot,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockHeaderCore) Descriptor ¶
func (*BlockHeaderCore) Descriptor() ([]byte, []int)
func (*BlockHeaderCore) GetDeltaStateDigest ¶
func (m *BlockHeaderCore) GetDeltaStateDigest() []byte
func (*BlockHeaderCore) GetHeight ¶
func (m *BlockHeaderCore) GetHeight() uint64
func (*BlockHeaderCore) GetPrevBlockHash ¶
func (m *BlockHeaderCore) GetPrevBlockHash() []byte
func (*BlockHeaderCore) GetReceiptRoot ¶
func (m *BlockHeaderCore) GetReceiptRoot() []byte
func (*BlockHeaderCore) GetTimestamp ¶
func (m *BlockHeaderCore) GetTimestamp() *timestamp.Timestamp
func (*BlockHeaderCore) GetTxRoot ¶
func (m *BlockHeaderCore) GetTxRoot() []byte
func (*BlockHeaderCore) GetVersion ¶
func (m *BlockHeaderCore) GetVersion() uint32
func (*BlockHeaderCore) ProtoMessage ¶
func (*BlockHeaderCore) ProtoMessage()
func (*BlockHeaderCore) Reset ¶
func (m *BlockHeaderCore) Reset()
func (*BlockHeaderCore) String ¶
func (m *BlockHeaderCore) String() string
func (*BlockHeaderCore) XXX_DiscardUnknown ¶
func (m *BlockHeaderCore) XXX_DiscardUnknown()
func (*BlockHeaderCore) XXX_Marshal ¶
func (m *BlockHeaderCore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockHeaderCore) XXX_Merge ¶
func (m *BlockHeaderCore) XXX_Merge(src proto.Message)
func (*BlockHeaderCore) XXX_Size ¶
func (m *BlockHeaderCore) XXX_Size() int
func (*BlockHeaderCore) XXX_Unmarshal ¶
func (m *BlockHeaderCore) XXX_Unmarshal(b []byte) error
type BlockMeta ¶
type BlockMeta struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` NumActions int64 `protobuf:"varint,4,opt,name=numActions,proto3" json:"numActions,omitempty"` ProducerAddress string `protobuf:"bytes,5,opt,name=producerAddress,proto3" json:"producerAddress,omitempty"` TransferAmount string `protobuf:"bytes,6,opt,name=transferAmount,proto3" json:"transferAmount,omitempty"` TxRoot string `protobuf:"bytes,7,opt,name=txRoot,proto3" json:"txRoot,omitempty"` ReceiptRoot string `protobuf:"bytes,8,opt,name=receiptRoot,proto3" json:"receiptRoot,omitempty"` DeltaStateDigest string `protobuf:"bytes,9,opt,name=deltaStateDigest,proto3" json:"deltaStateDigest,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Block Metadata
func (*BlockMeta) Descriptor ¶
func (*BlockMeta) GetDeltaStateDigest ¶
func (*BlockMeta) GetNumActions ¶
func (*BlockMeta) GetProducerAddress ¶
func (*BlockMeta) GetReceiptRoot ¶
func (*BlockMeta) GetTimestamp ¶
func (*BlockMeta) GetTransferAmount ¶
func (*BlockMeta) ProtoMessage ¶
func (*BlockMeta) ProtoMessage()
func (*BlockMeta) XXX_DiscardUnknown ¶
func (m *BlockMeta) XXX_DiscardUnknown()
func (*BlockMeta) XXX_Marshal ¶
func (*BlockMeta) XXX_Unmarshal ¶
type BlockProposal ¶
type BlockProposal struct { Block *Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` Endorsements []*Endorsement `protobuf:"bytes,2,rep,name=endorsements,proto3" json:"endorsements,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockProposal) Descriptor ¶
func (*BlockProposal) Descriptor() ([]byte, []int)
func (*BlockProposal) GetBlock ¶
func (m *BlockProposal) GetBlock() *Block
func (*BlockProposal) GetEndorsements ¶
func (m *BlockProposal) GetEndorsements() []*Endorsement
func (*BlockProposal) ProtoMessage ¶
func (*BlockProposal) ProtoMessage()
func (*BlockProposal) Reset ¶
func (m *BlockProposal) Reset()
func (*BlockProposal) String ¶
func (m *BlockProposal) String() string
func (*BlockProposal) XXX_DiscardUnknown ¶
func (m *BlockProposal) XXX_DiscardUnknown()
func (*BlockProposal) XXX_Marshal ¶
func (m *BlockProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockProposal) XXX_Merge ¶
func (m *BlockProposal) XXX_Merge(src proto.Message)
func (*BlockProposal) XXX_Size ¶
func (m *BlockProposal) XXX_Size() int
func (*BlockProposal) XXX_Unmarshal ¶
func (m *BlockProposal) XXX_Unmarshal(b []byte) error
type Candidate ¶
type Candidate struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Votes []byte `protobuf:"bytes,2,opt,name=votes,proto3" json:"votes,omitempty"` PubKey []byte `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"` CreationHeight uint64 `protobuf:"varint,4,opt,name=creationHeight,proto3" json:"creationHeight,omitempty"` LastUpdateHeight uint64 `protobuf:"varint,5,opt,name=lastUpdateHeight,proto3" json:"lastUpdateHeight,omitempty"` RewardAddress string `protobuf:"bytes,6,opt,name=rewardAddress,proto3" json:"rewardAddress,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Candidates and list of candidates
func (*Candidate) Descriptor ¶
func (*Candidate) GetAddress ¶
func (*Candidate) GetCreationHeight ¶
func (*Candidate) GetLastUpdateHeight ¶
func (*Candidate) GetRewardAddress ¶
func (*Candidate) ProtoMessage ¶
func (*Candidate) ProtoMessage()
func (*Candidate) XXX_DiscardUnknown ¶
func (m *Candidate) XXX_DiscardUnknown()
func (*Candidate) XXX_Marshal ¶
func (*Candidate) XXX_Unmarshal ¶
type CandidateList ¶
type CandidateList struct { Candidates []*Candidate `protobuf:"bytes,1,rep,name=candidates,proto3" json:"candidates,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CandidateList) Descriptor ¶
func (*CandidateList) Descriptor() ([]byte, []int)
func (*CandidateList) GetCandidates ¶
func (m *CandidateList) GetCandidates() []*Candidate
func (*CandidateList) ProtoMessage ¶
func (*CandidateList) ProtoMessage()
func (*CandidateList) Reset ¶
func (m *CandidateList) Reset()
func (*CandidateList) String ¶
func (m *CandidateList) String() string
func (*CandidateList) XXX_DiscardUnknown ¶
func (m *CandidateList) XXX_DiscardUnknown()
func (*CandidateList) XXX_Marshal ¶
func (m *CandidateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CandidateList) XXX_Merge ¶
func (m *CandidateList) XXX_Merge(src proto.Message)
func (*CandidateList) XXX_Size ¶
func (m *CandidateList) XXX_Size() int
func (*CandidateList) XXX_Unmarshal ¶
func (m *CandidateList) XXX_Unmarshal(b []byte) error
type ChainMeta ¶
type ChainMeta struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` NumActions int64 `protobuf:"varint,2,opt,name=numActions,proto3" json:"numActions,omitempty"` Tps int64 `protobuf:"varint,3,opt,name=tps,proto3" json:"tps,omitempty"` Epoch *EpochData `protobuf:"bytes,4,opt,name=epoch,proto3" json:"epoch,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Blockchain Metadata
func (*ChainMeta) Descriptor ¶
func (*ChainMeta) GetNumActions ¶
func (*ChainMeta) ProtoMessage ¶
func (*ChainMeta) ProtoMessage()
func (*ChainMeta) XXX_DiscardUnknown ¶
func (m *ChainMeta) XXX_DiscardUnknown()
func (*ChainMeta) XXX_Marshal ¶
func (*ChainMeta) XXX_Unmarshal ¶
type ClaimFromRewardingFund ¶
type ClaimFromRewardingFund struct { Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClaimFromRewardingFund) Descriptor ¶
func (*ClaimFromRewardingFund) Descriptor() ([]byte, []int)
func (*ClaimFromRewardingFund) GetAmount ¶
func (m *ClaimFromRewardingFund) GetAmount() string
func (*ClaimFromRewardingFund) GetData ¶
func (m *ClaimFromRewardingFund) GetData() []byte
func (*ClaimFromRewardingFund) ProtoMessage ¶
func (*ClaimFromRewardingFund) ProtoMessage()
func (*ClaimFromRewardingFund) Reset ¶
func (m *ClaimFromRewardingFund) Reset()
func (*ClaimFromRewardingFund) String ¶
func (m *ClaimFromRewardingFund) String() string
func (*ClaimFromRewardingFund) XXX_DiscardUnknown ¶
func (m *ClaimFromRewardingFund) XXX_DiscardUnknown()
func (*ClaimFromRewardingFund) XXX_Marshal ¶
func (m *ClaimFromRewardingFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClaimFromRewardingFund) XXX_Merge ¶
func (m *ClaimFromRewardingFund) XXX_Merge(src proto.Message)
func (*ClaimFromRewardingFund) XXX_Size ¶
func (m *ClaimFromRewardingFund) XXX_Size() int
func (*ClaimFromRewardingFund) XXX_Unmarshal ¶
func (m *ClaimFromRewardingFund) XXX_Unmarshal(b []byte) error
type ConsensusMessage ¶
type ConsensusMessage struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Endorsement *Endorsement `protobuf:"bytes,2,opt,name=endorsement,proto3" json:"endorsement,omitempty"` // Types that are valid to be assigned to Msg: // *ConsensusMessage_BlockProposal // *ConsensusMessage_Vote Msg isConsensusMessage_Msg `protobuf_oneof:"msg"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConsensusMessage) Descriptor ¶
func (*ConsensusMessage) Descriptor() ([]byte, []int)
func (*ConsensusMessage) GetBlockProposal ¶
func (m *ConsensusMessage) GetBlockProposal() *BlockProposal
func (*ConsensusMessage) GetEndorsement ¶
func (m *ConsensusMessage) GetEndorsement() *Endorsement
func (*ConsensusMessage) GetHeight ¶
func (m *ConsensusMessage) GetHeight() uint64
func (*ConsensusMessage) GetMsg ¶
func (m *ConsensusMessage) GetMsg() isConsensusMessage_Msg
func (*ConsensusMessage) GetVote ¶
func (m *ConsensusMessage) GetVote() *ConsensusVote
func (*ConsensusMessage) ProtoMessage ¶
func (*ConsensusMessage) ProtoMessage()
func (*ConsensusMessage) Reset ¶
func (m *ConsensusMessage) Reset()
func (*ConsensusMessage) String ¶
func (m *ConsensusMessage) String() string
func (*ConsensusMessage) XXX_DiscardUnknown ¶
func (m *ConsensusMessage) XXX_DiscardUnknown()
func (*ConsensusMessage) XXX_Marshal ¶
func (m *ConsensusMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusMessage) XXX_Merge ¶
func (m *ConsensusMessage) XXX_Merge(src proto.Message)
func (*ConsensusMessage) XXX_OneofWrappers ¶
func (*ConsensusMessage) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ConsensusMessage) XXX_Size ¶
func (m *ConsensusMessage) XXX_Size() int
func (*ConsensusMessage) XXX_Unmarshal ¶
func (m *ConsensusMessage) XXX_Unmarshal(b []byte) error
type ConsensusMessage_BlockProposal ¶
type ConsensusMessage_BlockProposal struct {
BlockProposal *BlockProposal `protobuf:"bytes,100,opt,name=blockProposal,proto3,oneof"`
}
type ConsensusMessage_Vote ¶
type ConsensusMessage_Vote struct {
Vote *ConsensusVote `protobuf:"bytes,101,opt,name=vote,proto3,oneof"`
}
type ConsensusVote ¶
type ConsensusVote struct { BlockHash []byte `protobuf:"bytes,1,opt,name=blockHash,proto3" json:"blockHash,omitempty"` Topic ConsensusVote_Topic `protobuf:"varint,2,opt,name=topic,proto3,enum=iotextypes.ConsensusVote_Topic" json:"topic,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConsensusVote) Descriptor ¶
func (*ConsensusVote) Descriptor() ([]byte, []int)
func (*ConsensusVote) GetBlockHash ¶
func (m *ConsensusVote) GetBlockHash() []byte
func (*ConsensusVote) GetTopic ¶
func (m *ConsensusVote) GetTopic() ConsensusVote_Topic
func (*ConsensusVote) ProtoMessage ¶
func (*ConsensusVote) ProtoMessage()
func (*ConsensusVote) Reset ¶
func (m *ConsensusVote) Reset()
func (*ConsensusVote) String ¶
func (m *ConsensusVote) String() string
func (*ConsensusVote) XXX_DiscardUnknown ¶
func (m *ConsensusVote) XXX_DiscardUnknown()
func (*ConsensusVote) XXX_Marshal ¶
func (m *ConsensusVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusVote) XXX_Merge ¶
func (m *ConsensusVote) XXX_Merge(src proto.Message)
func (*ConsensusVote) XXX_Size ¶
func (m *ConsensusVote) XXX_Size() int
func (*ConsensusVote) XXX_Unmarshal ¶
func (m *ConsensusVote) XXX_Unmarshal(b []byte) error
type ConsensusVote_Topic ¶
type ConsensusVote_Topic int32
const ( ConsensusVote_PROPOSAL ConsensusVote_Topic = 0 ConsensusVote_LOCK ConsensusVote_Topic = 1 ConsensusVote_COMMIT ConsensusVote_Topic = 2 )
func (ConsensusVote_Topic) EnumDescriptor ¶
func (ConsensusVote_Topic) EnumDescriptor() ([]byte, []int)
func (ConsensusVote_Topic) String ¶
func (x ConsensusVote_Topic) String() string
type CreateDeposit ¶
type CreateDeposit struct { ChainID uint32 `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"` Amount string `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 (*CreateDeposit) Descriptor ¶
func (*CreateDeposit) Descriptor() ([]byte, []int)
func (*CreateDeposit) GetAmount ¶
func (m *CreateDeposit) GetAmount() string
func (*CreateDeposit) GetChainID ¶
func (m *CreateDeposit) GetChainID() uint32
func (*CreateDeposit) GetRecipient ¶
func (m *CreateDeposit) GetRecipient() string
func (*CreateDeposit) ProtoMessage ¶
func (*CreateDeposit) ProtoMessage()
func (*CreateDeposit) Reset ¶
func (m *CreateDeposit) Reset()
func (*CreateDeposit) String ¶
func (m *CreateDeposit) String() string
func (*CreateDeposit) XXX_DiscardUnknown ¶
func (m *CreateDeposit) XXX_DiscardUnknown()
func (*CreateDeposit) XXX_Marshal ¶
func (m *CreateDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateDeposit) XXX_Merge ¶
func (m *CreateDeposit) XXX_Merge(src proto.Message)
func (*CreateDeposit) XXX_Size ¶
func (m *CreateDeposit) XXX_Size() int
func (*CreateDeposit) XXX_Unmarshal ¶
func (m *CreateDeposit) XXX_Unmarshal(b []byte) error
type CreatePlumChain ¶
type CreatePlumChain struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
plum main chain APIs
func (*CreatePlumChain) Descriptor ¶
func (*CreatePlumChain) Descriptor() ([]byte, []int)
func (*CreatePlumChain) ProtoMessage ¶
func (*CreatePlumChain) ProtoMessage()
func (*CreatePlumChain) Reset ¶
func (m *CreatePlumChain) Reset()
func (*CreatePlumChain) String ¶
func (m *CreatePlumChain) String() string
func (*CreatePlumChain) XXX_DiscardUnknown ¶
func (m *CreatePlumChain) XXX_DiscardUnknown()
func (*CreatePlumChain) XXX_Marshal ¶
func (m *CreatePlumChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreatePlumChain) XXX_Merge ¶
func (m *CreatePlumChain) XXX_Merge(src proto.Message)
func (*CreatePlumChain) XXX_Size ¶
func (m *CreatePlumChain) XXX_Size() int
func (*CreatePlumChain) XXX_Unmarshal ¶
func (m *CreatePlumChain) XXX_Unmarshal(b []byte) error
type DepositToRewardingFund ¶
type DepositToRewardingFund struct { Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DepositToRewardingFund) Descriptor ¶
func (*DepositToRewardingFund) Descriptor() ([]byte, []int)
func (*DepositToRewardingFund) GetAmount ¶
func (m *DepositToRewardingFund) GetAmount() string
func (*DepositToRewardingFund) GetData ¶
func (m *DepositToRewardingFund) GetData() []byte
func (*DepositToRewardingFund) ProtoMessage ¶
func (*DepositToRewardingFund) ProtoMessage()
func (*DepositToRewardingFund) Reset ¶
func (m *DepositToRewardingFund) Reset()
func (*DepositToRewardingFund) String ¶
func (m *DepositToRewardingFund) String() string
func (*DepositToRewardingFund) XXX_DiscardUnknown ¶
func (m *DepositToRewardingFund) XXX_DiscardUnknown()
func (*DepositToRewardingFund) XXX_Marshal ¶
func (m *DepositToRewardingFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DepositToRewardingFund) XXX_Merge ¶
func (m *DepositToRewardingFund) XXX_Merge(src proto.Message)
func (*DepositToRewardingFund) XXX_Size ¶
func (m *DepositToRewardingFund) XXX_Size() int
func (*DepositToRewardingFund) XXX_Unmarshal ¶
func (m *DepositToRewardingFund) XXX_Unmarshal(b []byte) error
type Endorsement ¶
type Endorsement struct { Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Endorser []byte `protobuf:"bytes,2,opt,name=endorser,proto3" json:"endorser,omitempty"` Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Endorsement) Descriptor ¶
func (*Endorsement) Descriptor() ([]byte, []int)
func (*Endorsement) GetEndorser ¶
func (m *Endorsement) GetEndorser() []byte
func (*Endorsement) GetSignature ¶
func (m *Endorsement) GetSignature() []byte
func (*Endorsement) GetTimestamp ¶
func (m *Endorsement) GetTimestamp() *timestamp.Timestamp
func (*Endorsement) ProtoMessage ¶
func (*Endorsement) ProtoMessage()
func (*Endorsement) Reset ¶
func (m *Endorsement) Reset()
func (*Endorsement) String ¶
func (m *Endorsement) String() string
func (*Endorsement) XXX_DiscardUnknown ¶
func (m *Endorsement) XXX_DiscardUnknown()
func (*Endorsement) XXX_Marshal ¶
func (m *Endorsement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Endorsement) XXX_Merge ¶
func (m *Endorsement) XXX_Merge(src proto.Message)
func (*Endorsement) XXX_Size ¶
func (m *Endorsement) XXX_Size() int
func (*Endorsement) XXX_Unmarshal ¶
func (m *Endorsement) XXX_Unmarshal(b []byte) error
type EpochData ¶
type EpochData struct { Num uint64 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EpochData) Descriptor ¶
func (*EpochData) ProtoMessage ¶
func (*EpochData) ProtoMessage()
func (*EpochData) XXX_DiscardUnknown ¶
func (m *EpochData) XXX_DiscardUnknown()
func (*EpochData) XXX_Marshal ¶
func (*EpochData) XXX_Unmarshal ¶
type Execution ¶
type Execution struct { Amount string `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 (*Execution) Descriptor ¶
func (*Execution) GetContract ¶
func (*Execution) ProtoMessage ¶
func (*Execution) ProtoMessage()
func (*Execution) XXX_DiscardUnknown ¶
func (m *Execution) XXX_DiscardUnknown()
func (*Execution) XXX_Marshal ¶
func (*Execution) XXX_Unmarshal ¶
type Genesis ¶
type Genesis struct { Blockchain *GenesisBlockchain `protobuf:"bytes,1,opt,name=blockchain,proto3" json:"blockchain,omitempty"` Account *GenesisAccount `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` Poll *GenesisPoll `protobuf:"bytes,3,opt,name=poll,proto3" json:"poll,omitempty"` Rewarding *GenesisRewarding `protobuf:"bytes,4,opt,name=rewarding,proto3" json:"rewarding,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Genesis) Descriptor ¶
func (*Genesis) GetAccount ¶
func (m *Genesis) GetAccount() *GenesisAccount
func (*Genesis) GetBlockchain ¶
func (m *Genesis) GetBlockchain() *GenesisBlockchain
func (*Genesis) GetPoll ¶
func (m *Genesis) GetPoll() *GenesisPoll
func (*Genesis) GetRewarding ¶
func (m *Genesis) GetRewarding() *GenesisRewarding
func (*Genesis) ProtoMessage ¶
func (*Genesis) ProtoMessage()
func (*Genesis) XXX_DiscardUnknown ¶
func (m *Genesis) XXX_DiscardUnknown()
func (*Genesis) XXX_Marshal ¶
func (*Genesis) XXX_Unmarshal ¶
type GenesisAccount ¶
type GenesisAccount struct { InitBalanceAddrs []string `protobuf:"bytes,1,rep,name=initBalanceAddrs,proto3" json:"initBalanceAddrs,omitempty"` InitBalances []string `protobuf:"bytes,2,rep,name=initBalances,proto3" json:"initBalances,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GenesisAccount) Descriptor ¶
func (*GenesisAccount) Descriptor() ([]byte, []int)
func (*GenesisAccount) GetInitBalanceAddrs ¶
func (m *GenesisAccount) GetInitBalanceAddrs() []string
func (*GenesisAccount) GetInitBalances ¶
func (m *GenesisAccount) GetInitBalances() []string
func (*GenesisAccount) ProtoMessage ¶
func (*GenesisAccount) ProtoMessage()
func (*GenesisAccount) Reset ¶
func (m *GenesisAccount) Reset()
func (*GenesisAccount) String ¶
func (m *GenesisAccount) String() string
func (*GenesisAccount) XXX_DiscardUnknown ¶
func (m *GenesisAccount) XXX_DiscardUnknown()
func (*GenesisAccount) XXX_Marshal ¶
func (m *GenesisAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisAccount) XXX_Merge ¶
func (m *GenesisAccount) XXX_Merge(src proto.Message)
func (*GenesisAccount) XXX_Size ¶
func (m *GenesisAccount) XXX_Size() int
func (*GenesisAccount) XXX_Unmarshal ¶
func (m *GenesisAccount) XXX_Unmarshal(b []byte) error
type GenesisBlockchain ¶
type GenesisBlockchain struct { Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` BlockGasLimit uint64 `protobuf:"varint,2,opt,name=blockGasLimit,proto3" json:"blockGasLimit,omitempty"` ActionGasLimit uint64 `protobuf:"varint,3,opt,name=actionGasLimit,proto3" json:"actionGasLimit,omitempty"` BlockInterval int64 `protobuf:"varint,4,opt,name=blockInterval,proto3" json:"blockInterval,omitempty"` NumSubEpochs uint64 `protobuf:"varint,5,opt,name=numSubEpochs,proto3" json:"numSubEpochs,omitempty"` NumDelegates uint64 `protobuf:"varint,6,opt,name=numDelegates,proto3" json:"numDelegates,omitempty"` NumCandidateDelegates uint64 `protobuf:"varint,7,opt,name=numCandidateDelegates,proto3" json:"numCandidateDelegates,omitempty"` TimeBasedRotation bool `protobuf:"varint,8,opt,name=timeBasedRotation,proto3" json:"timeBasedRotation,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GenesisBlockchain) Descriptor ¶
func (*GenesisBlockchain) Descriptor() ([]byte, []int)
func (*GenesisBlockchain) GetActionGasLimit ¶
func (m *GenesisBlockchain) GetActionGasLimit() uint64
func (*GenesisBlockchain) GetBlockGasLimit ¶
func (m *GenesisBlockchain) GetBlockGasLimit() uint64
func (*GenesisBlockchain) GetBlockInterval ¶
func (m *GenesisBlockchain) GetBlockInterval() int64
func (*GenesisBlockchain) GetNumCandidateDelegates ¶
func (m *GenesisBlockchain) GetNumCandidateDelegates() uint64
func (*GenesisBlockchain) GetNumDelegates ¶
func (m *GenesisBlockchain) GetNumDelegates() uint64
func (*GenesisBlockchain) GetNumSubEpochs ¶
func (m *GenesisBlockchain) GetNumSubEpochs() uint64
func (*GenesisBlockchain) GetTimeBasedRotation ¶
func (m *GenesisBlockchain) GetTimeBasedRotation() bool
func (*GenesisBlockchain) GetTimestamp ¶
func (m *GenesisBlockchain) GetTimestamp() int64
func (*GenesisBlockchain) ProtoMessage ¶
func (*GenesisBlockchain) ProtoMessage()
func (*GenesisBlockchain) Reset ¶
func (m *GenesisBlockchain) Reset()
func (*GenesisBlockchain) String ¶
func (m *GenesisBlockchain) String() string
func (*GenesisBlockchain) XXX_DiscardUnknown ¶
func (m *GenesisBlockchain) XXX_DiscardUnknown()
func (*GenesisBlockchain) XXX_Marshal ¶
func (m *GenesisBlockchain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisBlockchain) XXX_Merge ¶
func (m *GenesisBlockchain) XXX_Merge(src proto.Message)
func (*GenesisBlockchain) XXX_Size ¶
func (m *GenesisBlockchain) XXX_Size() int
func (*GenesisBlockchain) XXX_Unmarshal ¶
func (m *GenesisBlockchain) XXX_Unmarshal(b []byte) error
type GenesisDelegate ¶
type GenesisDelegate struct { OperatorAddr string `protobuf:"bytes,1,opt,name=operatorAddr,proto3" json:"operatorAddr,omitempty"` RewardAddr string `protobuf:"bytes,2,opt,name=rewardAddr,proto3" json:"rewardAddr,omitempty"` Votes string `protobuf:"bytes,3,opt,name=votes,proto3" json:"votes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GenesisDelegate) Descriptor ¶
func (*GenesisDelegate) Descriptor() ([]byte, []int)
func (*GenesisDelegate) GetOperatorAddr ¶
func (m *GenesisDelegate) GetOperatorAddr() string
func (*GenesisDelegate) GetRewardAddr ¶
func (m *GenesisDelegate) GetRewardAddr() string
func (*GenesisDelegate) GetVotes ¶
func (m *GenesisDelegate) GetVotes() string
func (*GenesisDelegate) ProtoMessage ¶
func (*GenesisDelegate) ProtoMessage()
func (*GenesisDelegate) Reset ¶
func (m *GenesisDelegate) Reset()
func (*GenesisDelegate) String ¶
func (m *GenesisDelegate) String() string
func (*GenesisDelegate) XXX_DiscardUnknown ¶
func (m *GenesisDelegate) XXX_DiscardUnknown()
func (*GenesisDelegate) XXX_Marshal ¶
func (m *GenesisDelegate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisDelegate) XXX_Merge ¶
func (m *GenesisDelegate) XXX_Merge(src proto.Message)
func (*GenesisDelegate) XXX_Size ¶
func (m *GenesisDelegate) XXX_Size() int
func (*GenesisDelegate) XXX_Unmarshal ¶
func (m *GenesisDelegate) XXX_Unmarshal(b []byte) error
type GenesisPoll ¶
type GenesisPoll struct { EnableGravityChainVoting bool `protobuf:"varint,1,opt,name=enableGravityChainVoting,proto3" json:"enableGravityChainVoting,omitempty"` GravityChainStartHeight uint64 `protobuf:"varint,2,opt,name=gravityChainStartHeight,proto3" json:"gravityChainStartHeight,omitempty"` RegisterContractAddress string `protobuf:"bytes,3,opt,name=registerContractAddress,proto3" json:"registerContractAddress,omitempty"` StakingContractAddress string `protobuf:"bytes,4,opt,name=stakingContractAddress,proto3" json:"stakingContractAddress,omitempty"` VoteThreshold string `protobuf:"bytes,5,opt,name=voteThreshold,proto3" json:"voteThreshold,omitempty"` ScoreThreshold string `protobuf:"bytes,6,opt,name=scoreThreshold,proto3" json:"scoreThreshold,omitempty"` SelfStakingThreshold string `protobuf:"bytes,7,opt,name=selfStakingThreshold,proto3" json:"selfStakingThreshold,omitempty"` Delegates []*GenesisDelegate `protobuf:"bytes,8,rep,name=delegates,proto3" json:"delegates,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GenesisPoll) Descriptor ¶
func (*GenesisPoll) Descriptor() ([]byte, []int)
func (*GenesisPoll) GetDelegates ¶
func (m *GenesisPoll) GetDelegates() []*GenesisDelegate
func (*GenesisPoll) GetEnableGravityChainVoting ¶
func (m *GenesisPoll) GetEnableGravityChainVoting() bool
func (*GenesisPoll) GetGravityChainStartHeight ¶
func (m *GenesisPoll) GetGravityChainStartHeight() uint64
func (*GenesisPoll) GetRegisterContractAddress ¶
func (m *GenesisPoll) GetRegisterContractAddress() string
func (*GenesisPoll) GetScoreThreshold ¶
func (m *GenesisPoll) GetScoreThreshold() string
func (*GenesisPoll) GetSelfStakingThreshold ¶
func (m *GenesisPoll) GetSelfStakingThreshold() string
func (*GenesisPoll) GetStakingContractAddress ¶
func (m *GenesisPoll) GetStakingContractAddress() string
func (*GenesisPoll) GetVoteThreshold ¶
func (m *GenesisPoll) GetVoteThreshold() string
func (*GenesisPoll) ProtoMessage ¶
func (*GenesisPoll) ProtoMessage()
func (*GenesisPoll) Reset ¶
func (m *GenesisPoll) Reset()
func (*GenesisPoll) String ¶
func (m *GenesisPoll) String() string
func (*GenesisPoll) XXX_DiscardUnknown ¶
func (m *GenesisPoll) XXX_DiscardUnknown()
func (*GenesisPoll) XXX_Marshal ¶
func (m *GenesisPoll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisPoll) XXX_Merge ¶
func (m *GenesisPoll) XXX_Merge(src proto.Message)
func (*GenesisPoll) XXX_Size ¶
func (m *GenesisPoll) XXX_Size() int
func (*GenesisPoll) XXX_Unmarshal ¶
func (m *GenesisPoll) XXX_Unmarshal(b []byte) error
type GenesisRewarding ¶
type GenesisRewarding struct { InitAdminAddr string `protobuf:"bytes,1,opt,name=initAdminAddr,proto3" json:"initAdminAddr,omitempty"` InitBalance string `protobuf:"bytes,2,opt,name=initBalance,proto3" json:"initBalance,omitempty"` BlockReward string `protobuf:"bytes,3,opt,name=blockReward,proto3" json:"blockReward,omitempty"` EpochReward string `protobuf:"bytes,4,opt,name=epochReward,proto3" json:"epochReward,omitempty"` NumDelegatesForEpochReward uint64 `protobuf:"varint,5,opt,name=numDelegatesForEpochReward,proto3" json:"numDelegatesForEpochReward,omitempty"` FoundationBonus string `protobuf:"bytes,6,opt,name=foundationBonus,proto3" json:"foundationBonus,omitempty"` NumDelegatesForFoundationBonus uint64 `protobuf:"varint,7,opt,name=numDelegatesForFoundationBonus,proto3" json:"numDelegatesForFoundationBonus,omitempty"` FoundationBonusLastEpoch uint64 `protobuf:"varint,8,opt,name=foundationBonusLastEpoch,proto3" json:"foundationBonusLastEpoch,omitempty"` ProductivityThreshold uint64 `protobuf:"varint,9,opt,name=productivityThreshold,proto3" json:"productivityThreshold,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GenesisRewarding) Descriptor ¶
func (*GenesisRewarding) Descriptor() ([]byte, []int)
func (*GenesisRewarding) GetBlockReward ¶
func (m *GenesisRewarding) GetBlockReward() string
func (*GenesisRewarding) GetEpochReward ¶
func (m *GenesisRewarding) GetEpochReward() string
func (*GenesisRewarding) GetFoundationBonus ¶
func (m *GenesisRewarding) GetFoundationBonus() string
func (*GenesisRewarding) GetFoundationBonusLastEpoch ¶
func (m *GenesisRewarding) GetFoundationBonusLastEpoch() uint64
func (*GenesisRewarding) GetInitAdminAddr ¶
func (m *GenesisRewarding) GetInitAdminAddr() string
func (*GenesisRewarding) GetInitBalance ¶
func (m *GenesisRewarding) GetInitBalance() string
func (*GenesisRewarding) GetNumDelegatesForEpochReward ¶
func (m *GenesisRewarding) GetNumDelegatesForEpochReward() uint64
func (*GenesisRewarding) GetNumDelegatesForFoundationBonus ¶
func (m *GenesisRewarding) GetNumDelegatesForFoundationBonus() uint64
func (*GenesisRewarding) GetProductivityThreshold ¶
func (m *GenesisRewarding) GetProductivityThreshold() uint64
func (*GenesisRewarding) ProtoMessage ¶
func (*GenesisRewarding) ProtoMessage()
func (*GenesisRewarding) Reset ¶
func (m *GenesisRewarding) Reset()
func (*GenesisRewarding) String ¶
func (m *GenesisRewarding) String() string
func (*GenesisRewarding) XXX_DiscardUnknown ¶
func (m *GenesisRewarding) XXX_DiscardUnknown()
func (*GenesisRewarding) XXX_Marshal ¶
func (m *GenesisRewarding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisRewarding) XXX_Merge ¶
func (m *GenesisRewarding) XXX_Merge(src proto.Message)
func (*GenesisRewarding) XXX_Size ¶
func (m *GenesisRewarding) XXX_Size() int
func (*GenesisRewarding) XXX_Unmarshal ¶
func (m *GenesisRewarding) XXX_Unmarshal(b []byte) error
type GrantReward ¶
type GrantReward struct { Type RewardType `protobuf:"varint,1,opt,name=type,proto3,enum=iotextypes.RewardType" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GrantReward) Descriptor ¶
func (*GrantReward) Descriptor() ([]byte, []int)
func (*GrantReward) GetType ¶
func (m *GrantReward) GetType() RewardType
func (*GrantReward) ProtoMessage ¶
func (*GrantReward) ProtoMessage()
func (*GrantReward) Reset ¶
func (m *GrantReward) Reset()
func (*GrantReward) String ¶
func (m *GrantReward) String() string
func (*GrantReward) XXX_DiscardUnknown ¶
func (m *GrantReward) XXX_DiscardUnknown()
func (*GrantReward) XXX_Marshal ¶
func (m *GrantReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GrantReward) XXX_Merge ¶
func (m *GrantReward) XXX_Merge(src proto.Message)
func (*GrantReward) XXX_Size ¶
func (m *GrantReward) XXX_Size() int
func (*GrantReward) XXX_Unmarshal ¶
func (m *GrantReward) XXX_Unmarshal(b []byte) error
type Log ¶
type Log 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"` Index uint32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Log) Descriptor ¶
func (*Log) GetAddress ¶
func (*Log) GetBlockNumber ¶
func (*Log) GetTxnHash ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) XXX_DiscardUnknown ¶
func (m *Log) XXX_DiscardUnknown()
func (*Log) XXX_Unmarshal ¶
type MerkleRoot ¶
type MerkleRoot struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MerkleRoot) Descriptor ¶
func (*MerkleRoot) Descriptor() ([]byte, []int)
func (*MerkleRoot) GetName ¶
func (m *MerkleRoot) GetName() string
func (*MerkleRoot) GetValue ¶
func (m *MerkleRoot) GetValue() []byte
func (*MerkleRoot) ProtoMessage ¶
func (*MerkleRoot) ProtoMessage()
func (*MerkleRoot) Reset ¶
func (m *MerkleRoot) Reset()
func (*MerkleRoot) String ¶
func (m *MerkleRoot) String() string
func (*MerkleRoot) XXX_DiscardUnknown ¶
func (m *MerkleRoot) XXX_DiscardUnknown()
func (*MerkleRoot) XXX_Marshal ¶
func (m *MerkleRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MerkleRoot) XXX_Merge ¶
func (m *MerkleRoot) XXX_Merge(src proto.Message)
func (*MerkleRoot) XXX_Size ¶
func (m *MerkleRoot) XXX_Size() int
func (*MerkleRoot) XXX_Unmarshal ¶
func (m *MerkleRoot) XXX_Unmarshal(b []byte) error
type PlumChallengeExit ¶
type PlumChallengeExit struct { SubChainAddress string `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"` CoinID uint64 `protobuf:"varint,2,opt,name=coinID,proto3" json:"coinID,omitempty"` ChallengeTransfer []byte `protobuf:"bytes,3,opt,name=challengeTransfer,proto3" json:"challengeTransfer,omitempty"` ChallengeTransferBlockProof []byte `protobuf:"bytes,4,opt,name=challengeTransferBlockProof,proto3" json:"challengeTransferBlockProof,omitempty"` ChallengeTransferBlockHeight uint64 `protobuf:"varint,5,opt,name=challengeTransferBlockHeight,proto3" json:"challengeTransferBlockHeight,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlumChallengeExit) Descriptor ¶
func (*PlumChallengeExit) Descriptor() ([]byte, []int)
func (*PlumChallengeExit) GetChallengeTransfer ¶
func (m *PlumChallengeExit) GetChallengeTransfer() []byte
func (*PlumChallengeExit) GetChallengeTransferBlockHeight ¶
func (m *PlumChallengeExit) GetChallengeTransferBlockHeight() uint64
func (*PlumChallengeExit) GetChallengeTransferBlockProof ¶
func (m *PlumChallengeExit) GetChallengeTransferBlockProof() []byte
func (*PlumChallengeExit) GetCoinID ¶
func (m *PlumChallengeExit) GetCoinID() uint64
func (*PlumChallengeExit) GetSubChainAddress ¶
func (m *PlumChallengeExit) GetSubChainAddress() string
func (*PlumChallengeExit) ProtoMessage ¶
func (*PlumChallengeExit) ProtoMessage()
func (*PlumChallengeExit) Reset ¶
func (m *PlumChallengeExit) Reset()
func (*PlumChallengeExit) String ¶
func (m *PlumChallengeExit) String() string
func (*PlumChallengeExit) XXX_DiscardUnknown ¶
func (m *PlumChallengeExit) XXX_DiscardUnknown()
func (*PlumChallengeExit) XXX_Marshal ¶
func (m *PlumChallengeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumChallengeExit) XXX_Merge ¶
func (m *PlumChallengeExit) XXX_Merge(src proto.Message)
func (*PlumChallengeExit) XXX_Size ¶
func (m *PlumChallengeExit) XXX_Size() int
func (*PlumChallengeExit) XXX_Unmarshal ¶
func (m *PlumChallengeExit) XXX_Unmarshal(b []byte) error
type PlumCreateDeposit ¶
type PlumCreateDeposit struct { SubChainAddress string `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"` Amount string `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 (*PlumCreateDeposit) Descriptor ¶
func (*PlumCreateDeposit) Descriptor() ([]byte, []int)
func (*PlumCreateDeposit) GetAmount ¶
func (m *PlumCreateDeposit) GetAmount() string
func (*PlumCreateDeposit) GetRecipient ¶
func (m *PlumCreateDeposit) GetRecipient() string
func (*PlumCreateDeposit) GetSubChainAddress ¶
func (m *PlumCreateDeposit) GetSubChainAddress() string
func (*PlumCreateDeposit) ProtoMessage ¶
func (*PlumCreateDeposit) ProtoMessage()
func (*PlumCreateDeposit) Reset ¶
func (m *PlumCreateDeposit) Reset()
func (*PlumCreateDeposit) String ¶
func (m *PlumCreateDeposit) String() string
func (*PlumCreateDeposit) XXX_DiscardUnknown ¶
func (m *PlumCreateDeposit) XXX_DiscardUnknown()
func (*PlumCreateDeposit) XXX_Marshal ¶
func (m *PlumCreateDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumCreateDeposit) XXX_Merge ¶
func (m *PlumCreateDeposit) XXX_Merge(src proto.Message)
func (*PlumCreateDeposit) XXX_Size ¶
func (m *PlumCreateDeposit) XXX_Size() int
func (*PlumCreateDeposit) XXX_Unmarshal ¶
func (m *PlumCreateDeposit) XXX_Unmarshal(b []byte) error
type PlumFinalizeExit ¶
type PlumFinalizeExit struct { SubChainAddress string `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"` CoinID uint64 `protobuf:"varint,2,opt,name=coinID,proto3" json:"coinID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlumFinalizeExit) Descriptor ¶
func (*PlumFinalizeExit) Descriptor() ([]byte, []int)
func (*PlumFinalizeExit) GetCoinID ¶
func (m *PlumFinalizeExit) GetCoinID() uint64
func (*PlumFinalizeExit) GetSubChainAddress ¶
func (m *PlumFinalizeExit) GetSubChainAddress() string
func (*PlumFinalizeExit) ProtoMessage ¶
func (*PlumFinalizeExit) ProtoMessage()
func (*PlumFinalizeExit) Reset ¶
func (m *PlumFinalizeExit) Reset()
func (*PlumFinalizeExit) String ¶
func (m *PlumFinalizeExit) String() string
func (*PlumFinalizeExit) XXX_DiscardUnknown ¶
func (m *PlumFinalizeExit) XXX_DiscardUnknown()
func (*PlumFinalizeExit) XXX_Marshal ¶
func (m *PlumFinalizeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumFinalizeExit) XXX_Merge ¶
func (m *PlumFinalizeExit) XXX_Merge(src proto.Message)
func (*PlumFinalizeExit) XXX_Size ¶
func (m *PlumFinalizeExit) XXX_Size() int
func (*PlumFinalizeExit) XXX_Unmarshal ¶
func (m *PlumFinalizeExit) XXX_Unmarshal(b []byte) error
type PlumPutBlock ¶
type PlumPutBlock 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 (*PlumPutBlock) Descriptor ¶
func (*PlumPutBlock) Descriptor() ([]byte, []int)
func (*PlumPutBlock) GetHeight ¶
func (m *PlumPutBlock) GetHeight() uint64
func (*PlumPutBlock) GetRoots ¶
func (m *PlumPutBlock) GetRoots() map[string][]byte
func (*PlumPutBlock) GetSubChainAddress ¶
func (m *PlumPutBlock) GetSubChainAddress() string
func (*PlumPutBlock) ProtoMessage ¶
func (*PlumPutBlock) ProtoMessage()
func (*PlumPutBlock) Reset ¶
func (m *PlumPutBlock) Reset()
func (*PlumPutBlock) String ¶
func (m *PlumPutBlock) String() string
func (*PlumPutBlock) XXX_DiscardUnknown ¶
func (m *PlumPutBlock) XXX_DiscardUnknown()
func (*PlumPutBlock) XXX_Marshal ¶
func (m *PlumPutBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumPutBlock) XXX_Merge ¶
func (m *PlumPutBlock) XXX_Merge(src proto.Message)
func (*PlumPutBlock) XXX_Size ¶
func (m *PlumPutBlock) XXX_Size() int
func (*PlumPutBlock) XXX_Unmarshal ¶
func (m *PlumPutBlock) XXX_Unmarshal(b []byte) error
type PlumResponseChallengeExit ¶
type PlumResponseChallengeExit struct { SubChainAddress string `protobuf:"bytes,1,opt,name=subChainAddress,proto3" json:"subChainAddress,omitempty"` CoinID uint64 `protobuf:"varint,2,opt,name=coinID,proto3" json:"coinID,omitempty"` ChallengeTransfer []byte `protobuf:"bytes,3,opt,name=challengeTransfer,proto3" json:"challengeTransfer,omitempty"` ResponseTransfer []byte `protobuf:"bytes,4,opt,name=responseTransfer,proto3" json:"responseTransfer,omitempty"` ResponseTransferBlockProof []byte `protobuf:"bytes,5,opt,name=responseTransferBlockProof,proto3" json:"responseTransferBlockProof,omitempty"` PreviousTransferBlockHeight uint64 `protobuf:"varint,6,opt,name=previousTransferBlockHeight,proto3" json:"previousTransferBlockHeight,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlumResponseChallengeExit) Descriptor ¶
func (*PlumResponseChallengeExit) Descriptor() ([]byte, []int)
func (*PlumResponseChallengeExit) GetChallengeTransfer ¶
func (m *PlumResponseChallengeExit) GetChallengeTransfer() []byte
func (*PlumResponseChallengeExit) GetCoinID ¶
func (m *PlumResponseChallengeExit) GetCoinID() uint64
func (*PlumResponseChallengeExit) GetPreviousTransferBlockHeight ¶
func (m *PlumResponseChallengeExit) GetPreviousTransferBlockHeight() uint64
func (*PlumResponseChallengeExit) GetResponseTransfer ¶
func (m *PlumResponseChallengeExit) GetResponseTransfer() []byte
func (*PlumResponseChallengeExit) GetResponseTransferBlockProof ¶
func (m *PlumResponseChallengeExit) GetResponseTransferBlockProof() []byte
func (*PlumResponseChallengeExit) GetSubChainAddress ¶
func (m *PlumResponseChallengeExit) GetSubChainAddress() string
func (*PlumResponseChallengeExit) ProtoMessage ¶
func (*PlumResponseChallengeExit) ProtoMessage()
func (*PlumResponseChallengeExit) Reset ¶
func (m *PlumResponseChallengeExit) Reset()
func (*PlumResponseChallengeExit) String ¶
func (m *PlumResponseChallengeExit) String() string
func (*PlumResponseChallengeExit) XXX_DiscardUnknown ¶
func (m *PlumResponseChallengeExit) XXX_DiscardUnknown()
func (*PlumResponseChallengeExit) XXX_Marshal ¶
func (m *PlumResponseChallengeExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumResponseChallengeExit) XXX_Merge ¶
func (m *PlumResponseChallengeExit) XXX_Merge(src proto.Message)
func (*PlumResponseChallengeExit) XXX_Size ¶
func (m *PlumResponseChallengeExit) XXX_Size() int
func (*PlumResponseChallengeExit) XXX_Unmarshal ¶
func (m *PlumResponseChallengeExit) XXX_Unmarshal(b []byte) error
type PlumSettleDeposit ¶
type PlumSettleDeposit 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 (*PlumSettleDeposit) Descriptor ¶
func (*PlumSettleDeposit) Descriptor() ([]byte, []int)
func (*PlumSettleDeposit) GetCoinID ¶
func (m *PlumSettleDeposit) GetCoinID() uint64
func (*PlumSettleDeposit) ProtoMessage ¶
func (*PlumSettleDeposit) ProtoMessage()
func (*PlumSettleDeposit) Reset ¶
func (m *PlumSettleDeposit) Reset()
func (*PlumSettleDeposit) String ¶
func (m *PlumSettleDeposit) String() string
func (*PlumSettleDeposit) XXX_DiscardUnknown ¶
func (m *PlumSettleDeposit) XXX_DiscardUnknown()
func (*PlumSettleDeposit) XXX_Marshal ¶
func (m *PlumSettleDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumSettleDeposit) XXX_Merge ¶
func (m *PlumSettleDeposit) XXX_Merge(src proto.Message)
func (*PlumSettleDeposit) XXX_Size ¶
func (m *PlumSettleDeposit) XXX_Size() int
func (*PlumSettleDeposit) XXX_Unmarshal ¶
func (m *PlumSettleDeposit) XXX_Unmarshal(b []byte) error
type PlumStartExit ¶
type PlumStartExit 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 (*PlumStartExit) Descriptor ¶
func (*PlumStartExit) Descriptor() ([]byte, []int)
func (*PlumStartExit) GetExitTransfer ¶
func (m *PlumStartExit) GetExitTransfer() []byte
func (*PlumStartExit) GetExitTransferBlockHeight ¶
func (m *PlumStartExit) GetExitTransferBlockHeight() uint64
func (*PlumStartExit) GetExitTransferBlockProof ¶
func (m *PlumStartExit) GetExitTransferBlockProof() []byte
func (*PlumStartExit) GetPreviousTransfer ¶
func (m *PlumStartExit) GetPreviousTransfer() []byte
func (*PlumStartExit) GetPreviousTransferBlockHeight ¶
func (m *PlumStartExit) GetPreviousTransferBlockHeight() uint64
func (*PlumStartExit) GetPreviousTransferBlockProof ¶
func (m *PlumStartExit) GetPreviousTransferBlockProof() []byte
func (*PlumStartExit) GetSubChainAddress ¶
func (m *PlumStartExit) GetSubChainAddress() string
func (*PlumStartExit) ProtoMessage ¶
func (*PlumStartExit) ProtoMessage()
func (*PlumStartExit) Reset ¶
func (m *PlumStartExit) Reset()
func (*PlumStartExit) String ¶
func (m *PlumStartExit) String() string
func (*PlumStartExit) XXX_DiscardUnknown ¶
func (m *PlumStartExit) XXX_DiscardUnknown()
func (*PlumStartExit) XXX_Marshal ¶
func (m *PlumStartExit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumStartExit) XXX_Merge ¶
func (m *PlumStartExit) XXX_Merge(src proto.Message)
func (*PlumStartExit) XXX_Size ¶
func (m *PlumStartExit) XXX_Size() int
func (*PlumStartExit) XXX_Unmarshal ¶
func (m *PlumStartExit) XXX_Unmarshal(b []byte) error
type PlumTransfer ¶
type PlumTransfer 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 (*PlumTransfer) Descriptor ¶
func (*PlumTransfer) Descriptor() ([]byte, []int)
func (*PlumTransfer) GetCoinID ¶
func (m *PlumTransfer) GetCoinID() uint64
func (*PlumTransfer) GetDenomination ¶
func (m *PlumTransfer) GetDenomination() []byte
func (*PlumTransfer) GetOwner ¶
func (m *PlumTransfer) GetOwner() string
func (*PlumTransfer) GetRecipient ¶
func (m *PlumTransfer) GetRecipient() string
func (*PlumTransfer) ProtoMessage ¶
func (*PlumTransfer) ProtoMessage()
func (*PlumTransfer) Reset ¶
func (m *PlumTransfer) Reset()
func (*PlumTransfer) String ¶
func (m *PlumTransfer) String() string
func (*PlumTransfer) XXX_DiscardUnknown ¶
func (m *PlumTransfer) XXX_DiscardUnknown()
func (*PlumTransfer) XXX_Marshal ¶
func (m *PlumTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlumTransfer) XXX_Merge ¶
func (m *PlumTransfer) XXX_Merge(src proto.Message)
func (*PlumTransfer) XXX_Size ¶
func (m *PlumTransfer) XXX_Size() int
func (*PlumTransfer) XXX_Unmarshal ¶
func (m *PlumTransfer) XXX_Unmarshal(b []byte) error
type PutBlock ¶
type PutBlock 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 (*PutBlock) Descriptor ¶
func (*PutBlock) GetRoots ¶
func (m *PutBlock) GetRoots() []*MerkleRoot
func (*PutBlock) GetSubChainAddress ¶
func (*PutBlock) ProtoMessage ¶
func (*PutBlock) ProtoMessage()
func (*PutBlock) XXX_DiscardUnknown ¶
func (m *PutBlock) XXX_DiscardUnknown()
func (*PutBlock) XXX_Marshal ¶
func (*PutBlock) XXX_Unmarshal ¶
type PutPollResult ¶
type PutPollResult struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Candidates *CandidateList `protobuf:"bytes,2,opt,name=candidates,proto3" json:"candidates,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutPollResult) Descriptor ¶
func (*PutPollResult) Descriptor() ([]byte, []int)
func (*PutPollResult) GetCandidates ¶
func (m *PutPollResult) GetCandidates() *CandidateList
func (*PutPollResult) GetHeight ¶
func (m *PutPollResult) GetHeight() uint64
func (*PutPollResult) ProtoMessage ¶
func (*PutPollResult) ProtoMessage()
func (*PutPollResult) Reset ¶
func (m *PutPollResult) Reset()
func (*PutPollResult) String ¶
func (m *PutPollResult) String() string
func (*PutPollResult) XXX_DiscardUnknown ¶
func (m *PutPollResult) XXX_DiscardUnknown()
func (*PutPollResult) XXX_Marshal ¶
func (m *PutPollResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutPollResult) XXX_Merge ¶
func (m *PutPollResult) XXX_Merge(src proto.Message)
func (*PutPollResult) XXX_Size ¶
func (m *PutPollResult) XXX_Size() int
func (*PutPollResult) XXX_Unmarshal ¶
func (m *PutPollResult) XXX_Unmarshal(b []byte) error
type Receipt ¶
type Receipt 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 []*Log `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Receipt) Descriptor ¶
func (*Receipt) GetActHash ¶
func (*Receipt) GetContractAddress ¶
func (*Receipt) GetGasConsumed ¶
func (*Receipt) GetReturnValue ¶
func (*Receipt) ProtoMessage ¶
func (*Receipt) ProtoMessage()
func (*Receipt) XXX_DiscardUnknown ¶
func (m *Receipt) XXX_DiscardUnknown()
func (*Receipt) XXX_Marshal ¶
func (*Receipt) XXX_Unmarshal ¶
type Receipts ¶
type Receipts struct { Receipts []*Receipt `protobuf:"bytes,1,rep,name=receipts,proto3" json:"receipts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Receipts consists of a collection of recepit
func (*Receipts) Descriptor ¶
func (*Receipts) GetReceipts ¶
func (*Receipts) ProtoMessage ¶
func (*Receipts) ProtoMessage()
func (*Receipts) XXX_DiscardUnknown ¶
func (m *Receipts) XXX_DiscardUnknown()
func (*Receipts) XXX_Marshal ¶
func (*Receipts) XXX_Unmarshal ¶
type RewardType ¶
type RewardType int32
const ( RewardType_BlockReward RewardType = 0 RewardType_EpochReward RewardType = 1 )
func (RewardType) EnumDescriptor ¶
func (RewardType) EnumDescriptor() ([]byte, []int)
func (RewardType) String ¶
func (x RewardType) String() string
type ServerMeta ¶
type ServerMeta struct { PackageVersion string `protobuf:"bytes,1,opt,name=packageVersion,proto3" json:"packageVersion,omitempty"` PackageCommitID string `protobuf:"bytes,2,opt,name=packageCommitID,proto3" json:"packageCommitID,omitempty"` GitStatus string `protobuf:"bytes,3,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"` GoVersion string `protobuf:"bytes,4,opt,name=goVersion,proto3" json:"goVersion,omitempty"` BuidTime string `protobuf:"bytes,5,opt,name=buidTime,proto3" json:"buidTime,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Server Metadata
func (*ServerMeta) Descriptor ¶
func (*ServerMeta) Descriptor() ([]byte, []int)
func (*ServerMeta) GetBuidTime ¶
func (m *ServerMeta) GetBuidTime() string
func (*ServerMeta) GetGitStatus ¶
func (m *ServerMeta) GetGitStatus() string
func (*ServerMeta) GetGoVersion ¶
func (m *ServerMeta) GetGoVersion() string
func (*ServerMeta) GetPackageCommitID ¶
func (m *ServerMeta) GetPackageCommitID() string
func (*ServerMeta) GetPackageVersion ¶
func (m *ServerMeta) GetPackageVersion() string
func (*ServerMeta) ProtoMessage ¶
func (*ServerMeta) ProtoMessage()
func (*ServerMeta) Reset ¶
func (m *ServerMeta) Reset()
func (*ServerMeta) String ¶
func (m *ServerMeta) String() string
func (*ServerMeta) XXX_DiscardUnknown ¶
func (m *ServerMeta) XXX_DiscardUnknown()
func (*ServerMeta) XXX_Marshal ¶
func (m *ServerMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerMeta) XXX_Merge ¶
func (m *ServerMeta) XXX_Merge(src proto.Message)
func (*ServerMeta) XXX_Size ¶
func (m *ServerMeta) XXX_Size() int
func (*ServerMeta) XXX_Unmarshal ¶
func (m *ServerMeta) XXX_Unmarshal(b []byte) error
type SettleDeposit ¶
type SettleDeposit struct { Amount string `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 (*SettleDeposit) Descriptor ¶
func (*SettleDeposit) Descriptor() ([]byte, []int)
func (*SettleDeposit) GetAmount ¶
func (m *SettleDeposit) GetAmount() string
func (*SettleDeposit) GetIndex ¶
func (m *SettleDeposit) GetIndex() uint64
func (*SettleDeposit) GetRecipient ¶
func (m *SettleDeposit) GetRecipient() string
func (*SettleDeposit) ProtoMessage ¶
func (*SettleDeposit) ProtoMessage()
func (*SettleDeposit) Reset ¶
func (m *SettleDeposit) Reset()
func (*SettleDeposit) String ¶
func (m *SettleDeposit) String() string
func (*SettleDeposit) XXX_DiscardUnknown ¶
func (m *SettleDeposit) XXX_DiscardUnknown()
func (*SettleDeposit) XXX_Marshal ¶
func (m *SettleDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SettleDeposit) XXX_Merge ¶
func (m *SettleDeposit) XXX_Merge(src proto.Message)
func (*SettleDeposit) XXX_Size ¶
func (m *SettleDeposit) XXX_Size() int
func (*SettleDeposit) XXX_Unmarshal ¶
func (m *SettleDeposit) XXX_Unmarshal(b []byte) error
type StartSubChain ¶
type StartSubChain 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 string `protobuf:"bytes,2,opt,name=securityDeposit,proto3" json:"securityDeposit,omitempty"` OperationDeposit string `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 (*StartSubChain) Descriptor ¶
func (*StartSubChain) Descriptor() ([]byte, []int)
func (*StartSubChain) GetChainID ¶
func (m *StartSubChain) GetChainID() uint32
func (*StartSubChain) GetOperationDeposit ¶
func (m *StartSubChain) GetOperationDeposit() string
func (*StartSubChain) GetParentHeightOffset ¶
func (m *StartSubChain) GetParentHeightOffset() uint64
func (*StartSubChain) GetSecurityDeposit ¶
func (m *StartSubChain) GetSecurityDeposit() string
func (*StartSubChain) GetStartHeight ¶
func (m *StartSubChain) GetStartHeight() uint64
func (*StartSubChain) ProtoMessage ¶
func (*StartSubChain) ProtoMessage()
func (*StartSubChain) Reset ¶
func (m *StartSubChain) Reset()
func (*StartSubChain) String ¶
func (m *StartSubChain) String() string
func (*StartSubChain) XXX_DiscardUnknown ¶
func (m *StartSubChain) XXX_DiscardUnknown()
func (*StartSubChain) XXX_Marshal ¶
func (m *StartSubChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StartSubChain) XXX_Merge ¶
func (m *StartSubChain) XXX_Merge(src proto.Message)
func (*StartSubChain) XXX_Size ¶
func (m *StartSubChain) XXX_Size() int
func (*StartSubChain) XXX_Unmarshal ¶
func (m *StartSubChain) XXX_Unmarshal(b []byte) error
type StopSubChain ¶
type StopSubChain 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 (*StopSubChain) Descriptor ¶
func (*StopSubChain) Descriptor() ([]byte, []int)
func (*StopSubChain) GetChainID ¶
func (m *StopSubChain) GetChainID() uint32
func (*StopSubChain) GetStopHeight ¶
func (m *StopSubChain) GetStopHeight() uint64
func (*StopSubChain) GetSubChainAddress ¶
func (m *StopSubChain) GetSubChainAddress() string
func (*StopSubChain) ProtoMessage ¶
func (*StopSubChain) ProtoMessage()
func (*StopSubChain) Reset ¶
func (m *StopSubChain) Reset()
func (*StopSubChain) String ¶
func (m *StopSubChain) String() string
func (*StopSubChain) XXX_DiscardUnknown ¶
func (m *StopSubChain) XXX_DiscardUnknown()
func (*StopSubChain) XXX_Marshal ¶
func (m *StopSubChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StopSubChain) XXX_Merge ¶
func (m *StopSubChain) XXX_Merge(src proto.Message)
func (*StopSubChain) XXX_Size ¶
func (m *StopSubChain) XXX_Size() int
func (*StopSubChain) XXX_Unmarshal ¶
func (m *StopSubChain) XXX_Unmarshal(b []byte) error
type TerminatePlumChain ¶
type TerminatePlumChain 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 (*TerminatePlumChain) Descriptor ¶
func (*TerminatePlumChain) Descriptor() ([]byte, []int)
func (*TerminatePlumChain) GetSubChainAddress ¶
func (m *TerminatePlumChain) GetSubChainAddress() string
func (*TerminatePlumChain) ProtoMessage ¶
func (*TerminatePlumChain) ProtoMessage()
func (*TerminatePlumChain) Reset ¶
func (m *TerminatePlumChain) Reset()
func (*TerminatePlumChain) String ¶
func (m *TerminatePlumChain) String() string
func (*TerminatePlumChain) XXX_DiscardUnknown ¶
func (m *TerminatePlumChain) XXX_DiscardUnknown()
func (*TerminatePlumChain) XXX_Marshal ¶
func (m *TerminatePlumChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TerminatePlumChain) XXX_Merge ¶
func (m *TerminatePlumChain) XXX_Merge(src proto.Message)
func (*TerminatePlumChain) XXX_Size ¶
func (m *TerminatePlumChain) XXX_Size() int
func (*TerminatePlumChain) XXX_Unmarshal ¶
func (m *TerminatePlumChain) XXX_Unmarshal(b []byte) error
type Transfer ¶
type Transfer struct { // used by state-based model Amount string `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 (*Transfer) Descriptor ¶
func (*Transfer) GetPayload ¶
func (*Transfer) GetRecipient ¶
func (*Transfer) ProtoMessage ¶
func (*Transfer) ProtoMessage()
func (*Transfer) XXX_DiscardUnknown ¶
func (m *Transfer) XXX_DiscardUnknown()
func (*Transfer) XXX_Marshal ¶
func (*Transfer) XXX_Unmarshal ¶
type Vote ¶
type Vote 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 (*Vote) Descriptor ¶
func (*Vote) GetTimestamp ¶
func (*Vote) GetVoteeAddress ¶
func (*Vote) ProtoMessage ¶
func (*Vote) ProtoMessage()
func (*Vote) XXX_DiscardUnknown ¶
func (m *Vote) XXX_DiscardUnknown()
func (*Vote) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.