Documentation
¶
Index ¶
- Constants
- func CreateNodeUpdateTx(cfg *types.Chain33Config, parm *NodeUpdateTx) (*types.Transaction, error)
- func InitExecutor(cfg *types.Chain33Config)
- func InitFork(cfg *types.Chain33Config)
- func RegisterValnodeServer(s *grpc.Server, srv ValnodeServer)
- type BlockGossip
- func (*BlockGossip) Descriptor() ([]byte, []int)
- func (m *BlockGossip) GetBlockPartSizeBytes() int32
- func (*BlockGossip) ProtoMessage()
- func (m *BlockGossip) Reset()
- func (m *BlockGossip) String() string
- func (m *BlockGossip) XXX_DiscardUnknown()
- func (m *BlockGossip) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockGossip) XXX_Merge(src proto.Message)
- func (m *BlockGossip) XXX_Size() int
- func (m *BlockGossip) XXX_Unmarshal(b []byte) error
- type BlockID
- func (*BlockID) Descriptor() ([]byte, []int)
- func (m *BlockID) GetHash() []byte
- func (*BlockID) ProtoMessage()
- func (m *BlockID) Reset()
- func (m *BlockID) String() string
- func (m *BlockID) XXX_DiscardUnknown()
- func (m *BlockID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockID) XXX_Merge(src proto.Message)
- func (m *BlockID) XXX_Size() int
- func (m *BlockID) XXX_Unmarshal(b []byte) error
- type BlockSize
- func (*BlockSize) Descriptor() ([]byte, []int)
- func (m *BlockSize) GetMaxBytes() int32
- func (m *BlockSize) GetMaxGas() int64
- func (m *BlockSize) GetMaxTxs() int32
- func (*BlockSize) ProtoMessage()
- func (m *BlockSize) Reset()
- func (m *BlockSize) String() string
- func (m *BlockSize) XXX_DiscardUnknown()
- func (m *BlockSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockSize) XXX_Merge(src proto.Message)
- func (m *BlockSize) XXX_Size() int
- func (m *BlockSize) XXX_Unmarshal(b []byte) error
- type ConsensusParams
- func (*ConsensusParams) Descriptor() ([]byte, []int)
- func (m *ConsensusParams) GetBlockGossip() *BlockGossip
- func (m *ConsensusParams) GetBlockSize() *BlockSize
- func (m *ConsensusParams) GetEvidenceParams() *EvidenceParams
- func (m *ConsensusParams) GetTxSize() *TxSize
- func (*ConsensusParams) ProtoMessage()
- func (m *ConsensusParams) Reset()
- func (m *ConsensusParams) String() string
- func (m *ConsensusParams) XXX_DiscardUnknown()
- func (m *ConsensusParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsensusParams) XXX_Merge(src proto.Message)
- func (m *ConsensusParams) XXX_Size() int
- func (m *ConsensusParams) XXX_Unmarshal(b []byte) error
- type EvidenceParams
- func (*EvidenceParams) Descriptor() ([]byte, []int)
- func (m *EvidenceParams) GetMaxAge() int64
- func (*EvidenceParams) ProtoMessage()
- func (m *EvidenceParams) Reset()
- func (m *EvidenceParams) String() string
- func (m *EvidenceParams) XXX_DiscardUnknown()
- func (m *EvidenceParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EvidenceParams) XXX_Merge(src proto.Message)
- func (m *EvidenceParams) XXX_Size() int
- func (m *EvidenceParams) XXX_Unmarshal(b []byte) error
- type HasVoteMsg
- func (*HasVoteMsg) Descriptor() ([]byte, []int)
- func (m *HasVoteMsg) GetHeight() int64
- func (m *HasVoteMsg) GetIndex() int32
- func (m *HasVoteMsg) GetRound() int32
- func (m *HasVoteMsg) GetType() int32
- func (*HasVoteMsg) ProtoMessage()
- func (m *HasVoteMsg) Reset()
- func (m *HasVoteMsg) String() string
- func (m *HasVoteMsg) XXX_DiscardUnknown()
- func (m *HasVoteMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HasVoteMsg) XXX_Merge(src proto.Message)
- func (m *HasVoteMsg) XXX_Size() int
- func (m *HasVoteMsg) XXX_Unmarshal(b []byte) error
- type Heartbeat
- func (*Heartbeat) Descriptor() ([]byte, []int)
- func (m *Heartbeat) GetHeight() int64
- func (m *Heartbeat) GetRound() int32
- func (m *Heartbeat) GetSequence() int32
- func (m *Heartbeat) GetSignature() []byte
- func (m *Heartbeat) GetValidatorAddress() []byte
- func (m *Heartbeat) GetValidatorIndex() int32
- func (*Heartbeat) ProtoMessage()
- func (m *Heartbeat) Reset()
- func (m *Heartbeat) String() string
- func (m *Heartbeat) XXX_DiscardUnknown()
- func (m *Heartbeat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Heartbeat) XXX_Merge(src proto.Message)
- func (m *Heartbeat) XXX_Size() int
- func (m *Heartbeat) XXX_Unmarshal(b []byte) error
- type IsHealthy
- func (*IsHealthy) Descriptor() ([]byte, []int)
- func (m *IsHealthy) GetIsHealthy() bool
- func (*IsHealthy) ProtoMessage()
- func (m *IsHealthy) Reset()
- func (m *IsHealthy) String() string
- func (m *IsHealthy) XXX_DiscardUnknown()
- func (m *IsHealthy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IsHealthy) XXX_Merge(src proto.Message)
- func (m *IsHealthy) XXX_Size() int
- func (m *IsHealthy) XXX_Unmarshal(b []byte) error
- type NewRoundStepMsg
- func (*NewRoundStepMsg) Descriptor() ([]byte, []int)
- func (m *NewRoundStepMsg) GetHeight() int64
- func (m *NewRoundStepMsg) GetLastCommitRound() int32
- func (m *NewRoundStepMsg) GetRound() int32
- func (m *NewRoundStepMsg) GetSecondsSinceStartTime() int32
- func (m *NewRoundStepMsg) GetStep() int32
- func (*NewRoundStepMsg) ProtoMessage()
- func (m *NewRoundStepMsg) Reset()
- func (m *NewRoundStepMsg) String() string
- func (m *NewRoundStepMsg) XXX_DiscardUnknown()
- func (m *NewRoundStepMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewRoundStepMsg) XXX_Merge(src proto.Message)
- func (m *NewRoundStepMsg) XXX_Size() int
- func (m *NewRoundStepMsg) XXX_Unmarshal(b []byte) error
- type NodeUpdateTx
- type Proposal
- func (*Proposal) Descriptor() ([]byte, []int)
- func (m *Proposal) GetBlockhash() []byte
- func (m *Proposal) GetHeight() int64
- func (m *Proposal) GetPOLBlockID() *BlockID
- func (m *Proposal) GetPOLRound() int32
- func (m *Proposal) GetRound() int32
- func (m *Proposal) GetSignature() []byte
- func (m *Proposal) GetTimestamp() int64
- func (*Proposal) ProtoMessage()
- func (m *Proposal) Reset()
- func (m *Proposal) String() string
- func (m *Proposal) XXX_DiscardUnknown()
- func (m *Proposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Proposal) XXX_Merge(src proto.Message)
- func (m *Proposal) XXX_Size() int
- func (m *Proposal) XXX_Unmarshal(b []byte) error
- type ProposalPOLMsg
- func (*ProposalPOLMsg) Descriptor() ([]byte, []int)
- func (m *ProposalPOLMsg) GetHeight() int64
- func (m *ProposalPOLMsg) GetProposalPOL() *TendermintBitArray
- func (m *ProposalPOLMsg) GetProposalPOLRound() int32
- func (*ProposalPOLMsg) ProtoMessage()
- func (m *ProposalPOLMsg) Reset()
- func (m *ProposalPOLMsg) String() string
- func (m *ProposalPOLMsg) XXX_DiscardUnknown()
- func (m *ProposalPOLMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalPOLMsg) XXX_Merge(src proto.Message)
- func (m *ProposalPOLMsg) XXX_Size() int
- func (m *ProposalPOLMsg) XXX_Unmarshal(b []byte) error
- type ReqBlockInfo
- func (*ReqBlockInfo) Descriptor() ([]byte, []int)
- func (m *ReqBlockInfo) GetHeight() int64
- func (*ReqBlockInfo) ProtoMessage()
- func (m *ReqBlockInfo) Reset()
- func (m *ReqBlockInfo) String() string
- func (m *ReqBlockInfo) XXX_DiscardUnknown()
- func (m *ReqBlockInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqBlockInfo) XXX_Merge(src proto.Message)
- func (m *ReqBlockInfo) XXX_Size() int
- func (m *ReqBlockInfo) XXX_Unmarshal(b []byte) error
- type ReqNodeInfo
- func (*ReqNodeInfo) Descriptor() ([]byte, []int)
- func (m *ReqNodeInfo) GetHeight() int64
- func (*ReqNodeInfo) ProtoMessage()
- func (m *ReqNodeInfo) Reset()
- func (m *ReqNodeInfo) String() string
- func (m *ReqNodeInfo) XXX_DiscardUnknown()
- func (m *ReqNodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqNodeInfo) XXX_Merge(src proto.Message)
- func (m *ReqNodeInfo) XXX_Size() int
- func (m *ReqNodeInfo) XXX_Unmarshal(b []byte) error
- type State
- func (*State) Descriptor() ([]byte, []int)
- func (m *State) GetAppHash() []byte
- func (m *State) GetChainID() string
- func (m *State) GetConsensusParams() *ConsensusParams
- func (m *State) GetLastBlockHeight() int64
- func (m *State) GetLastBlockID() *BlockID
- func (m *State) GetLastBlockTime() int64
- func (m *State) GetLastBlockTotalTx() int64
- func (m *State) GetLastHeightConsensusParamsChanged() int64
- func (m *State) GetLastHeightValidatorsChanged() int64
- func (m *State) GetLastResultsHash() []byte
- func (m *State) GetLastValidators() *ValidatorSet
- func (m *State) GetValidators() *ValidatorSet
- func (*State) ProtoMessage()
- func (m *State) Reset()
- func (m *State) String() string
- func (m *State) XXX_DiscardUnknown()
- func (m *State) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *State) XXX_Merge(src proto.Message)
- func (m *State) XXX_Size() int
- func (m *State) XXX_Unmarshal(b []byte) error
- type TendermintBitArray
- func (*TendermintBitArray) Descriptor() ([]byte, []int)
- func (m *TendermintBitArray) GetBits() int32
- func (m *TendermintBitArray) GetElems() []uint64
- func (*TendermintBitArray) ProtoMessage()
- func (m *TendermintBitArray) Reset()
- func (m *TendermintBitArray) String() string
- func (m *TendermintBitArray) XXX_DiscardUnknown()
- func (m *TendermintBitArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TendermintBitArray) XXX_Merge(src proto.Message)
- func (m *TendermintBitArray) XXX_Size() int
- func (m *TendermintBitArray) XXX_Unmarshal(b []byte) error
- type TendermintBlock
- func (*TendermintBlock) Descriptor() ([]byte, []int)
- func (m *TendermintBlock) GetData() *types.Block
- func (m *TendermintBlock) GetHeader() *TendermintBlockHeader
- func (m *TendermintBlock) GetLastCommit() *TendermintCommit
- func (*TendermintBlock) ProtoMessage()
- func (m *TendermintBlock) Reset()
- func (m *TendermintBlock) String() string
- func (m *TendermintBlock) XXX_DiscardUnknown()
- func (m *TendermintBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TendermintBlock) XXX_Merge(src proto.Message)
- func (m *TendermintBlock) XXX_Size() int
- func (m *TendermintBlock) XXX_Unmarshal(b []byte) error
- type TendermintBlockHeader
- func (*TendermintBlockHeader) Descriptor() ([]byte, []int)
- func (m *TendermintBlockHeader) GetAppHash() []byte
- func (m *TendermintBlockHeader) GetChainID() string
- func (m *TendermintBlockHeader) GetConsensusHash() []byte
- func (m *TendermintBlockHeader) GetHeight() int64
- func (m *TendermintBlockHeader) GetLastBlockID() *BlockID
- func (m *TendermintBlockHeader) GetLastCommitHash() []byte
- func (m *TendermintBlockHeader) GetLastResultsHash() []byte
- func (m *TendermintBlockHeader) GetNumTxs() int64
- func (m *TendermintBlockHeader) GetProposerAddr() []byte
- func (m *TendermintBlockHeader) GetRound() int64
- func (m *TendermintBlockHeader) GetTime() int64
- func (m *TendermintBlockHeader) GetTotalTxs() int64
- func (m *TendermintBlockHeader) GetValidatorsHash() []byte
- func (*TendermintBlockHeader) ProtoMessage()
- func (m *TendermintBlockHeader) Reset()
- func (m *TendermintBlockHeader) String() string
- func (m *TendermintBlockHeader) XXX_DiscardUnknown()
- func (m *TendermintBlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TendermintBlockHeader) XXX_Merge(src proto.Message)
- func (m *TendermintBlockHeader) XXX_Size() int
- func (m *TendermintBlockHeader) XXX_Unmarshal(b []byte) error
- type TendermintBlockInfo
- func (*TendermintBlockInfo) Descriptor() ([]byte, []int)
- func (m *TendermintBlockInfo) GetBlock() *TendermintBlock
- func (m *TendermintBlockInfo) GetProposal() *Proposal
- func (m *TendermintBlockInfo) GetState() *State
- func (*TendermintBlockInfo) ProtoMessage()
- func (m *TendermintBlockInfo) Reset()
- func (m *TendermintBlockInfo) String() string
- func (m *TendermintBlockInfo) XXX_DiscardUnknown()
- func (m *TendermintBlockInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TendermintBlockInfo) XXX_Merge(src proto.Message)
- func (m *TendermintBlockInfo) XXX_Size() int
- func (m *TendermintBlockInfo) XXX_Unmarshal(b []byte) error
- type TendermintCommit
- func (*TendermintCommit) Descriptor() ([]byte, []int)
- func (m *TendermintCommit) GetBlockID() *BlockID
- func (m *TendermintCommit) GetPrecommits() []*Vote
- func (*TendermintCommit) ProtoMessage()
- func (m *TendermintCommit) Reset()
- func (m *TendermintCommit) String() string
- func (m *TendermintCommit) XXX_DiscardUnknown()
- func (m *TendermintCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TendermintCommit) XXX_Merge(src proto.Message)
- func (m *TendermintCommit) XXX_Size() int
- func (m *TendermintCommit) XXX_Unmarshal(b []byte) error
- type TxSize
- func (*TxSize) Descriptor() ([]byte, []int)
- func (m *TxSize) GetMaxBytes() int32
- func (m *TxSize) GetMaxGas() int64
- func (*TxSize) ProtoMessage()
- func (m *TxSize) Reset()
- func (m *TxSize) String() string
- func (m *TxSize) XXX_DiscardUnknown()
- func (m *TxSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxSize) XXX_Merge(src proto.Message)
- func (m *TxSize) XXX_Size() int
- func (m *TxSize) XXX_Unmarshal(b []byte) error
- type UnimplementedValnodeServer
- type ValNode
- func (*ValNode) Descriptor() ([]byte, []int)
- func (m *ValNode) GetPower() int64
- func (m *ValNode) GetPubKey() []byte
- func (*ValNode) ProtoMessage()
- func (m *ValNode) Reset()
- func (m *ValNode) String() string
- func (m *ValNode) XXX_DiscardUnknown()
- func (m *ValNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValNode) XXX_Merge(src proto.Message)
- func (m *ValNode) XXX_Size() int
- func (m *ValNode) XXX_Unmarshal(b []byte) error
- type ValNodeAction
- func (*ValNodeAction) Descriptor() ([]byte, []int)
- func (m *ValNodeAction) GetBlockInfo() *TendermintBlockInfo
- func (m *ValNodeAction) GetNode() *ValNode
- func (m *ValNodeAction) GetTy() int32
- func (m *ValNodeAction) GetValue() isValNodeAction_Value
- func (*ValNodeAction) ProtoMessage()
- func (m *ValNodeAction) Reset()
- func (m *ValNodeAction) String() string
- func (m *ValNodeAction) XXX_DiscardUnknown()
- func (m *ValNodeAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValNodeAction) XXX_Merge(src proto.Message)
- func (*ValNodeAction) XXX_OneofWrappers() []interface{}
- func (m *ValNodeAction) XXX_Size() int
- func (m *ValNodeAction) XXX_Unmarshal(b []byte) error
- type ValNodeAction_BlockInfo
- type ValNodeAction_Node
- type ValNodeType
- type ValNodes
- func (*ValNodes) Descriptor() ([]byte, []int)
- func (m *ValNodes) GetNodes() []*ValNode
- func (*ValNodes) ProtoMessage()
- func (m *ValNodes) Reset()
- func (m *ValNodes) String() string
- func (m *ValNodes) XXX_DiscardUnknown()
- func (m *ValNodes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValNodes) XXX_Merge(src proto.Message)
- func (m *ValNodes) XXX_Size() int
- func (m *ValNodes) XXX_Unmarshal(b []byte) error
- type ValidBlockMsg
- func (*ValidBlockMsg) Descriptor() ([]byte, []int)
- func (m *ValidBlockMsg) GetBlockhash() []byte
- func (m *ValidBlockMsg) GetHeight() int64
- func (m *ValidBlockMsg) GetIsCommit() bool
- func (m *ValidBlockMsg) GetRound() int32
- func (*ValidBlockMsg) ProtoMessage()
- func (m *ValidBlockMsg) Reset()
- func (m *ValidBlockMsg) String() string
- func (m *ValidBlockMsg) XXX_DiscardUnknown()
- func (m *ValidBlockMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidBlockMsg) XXX_Merge(src proto.Message)
- func (m *ValidBlockMsg) XXX_Size() int
- func (m *ValidBlockMsg) XXX_Unmarshal(b []byte) error
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)
- func (m *Validator) GetAccum() int64
- func (m *Validator) GetAddress() []byte
- func (m *Validator) GetPubKey() []byte
- func (m *Validator) GetVotingPower() int64
- func (*Validator) ProtoMessage()
- func (m *Validator) Reset()
- func (m *Validator) String() string
- func (m *Validator) XXX_DiscardUnknown()
- func (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Validator) XXX_Merge(src proto.Message)
- func (m *Validator) XXX_Size() int
- func (m *Validator) XXX_Unmarshal(b []byte) error
- type ValidatorSet
- func (*ValidatorSet) Descriptor() ([]byte, []int)
- func (m *ValidatorSet) GetProposer() *Validator
- func (m *ValidatorSet) GetValidators() []*Validator
- func (*ValidatorSet) ProtoMessage()
- func (m *ValidatorSet) Reset()
- func (m *ValidatorSet) String() string
- func (m *ValidatorSet) XXX_DiscardUnknown()
- func (m *ValidatorSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorSet) XXX_Merge(src proto.Message)
- func (m *ValidatorSet) XXX_Size() int
- func (m *ValidatorSet) XXX_Unmarshal(b []byte) error
- type ValnodeClient
- type ValnodeServer
- type Vote
- func (*Vote) Descriptor() ([]byte, []int)
- func (m *Vote) GetBlockID() *BlockID
- func (m *Vote) GetHeight() int64
- func (m *Vote) GetRound() int32
- func (m *Vote) GetSignature() []byte
- func (m *Vote) GetTimestamp() int64
- func (m *Vote) GetType() uint32
- func (m *Vote) GetValidatorAddress() []byte
- func (m *Vote) GetValidatorIndex() int32
- 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
- type VoteSetBitsMsg
- func (*VoteSetBitsMsg) Descriptor() ([]byte, []int)
- func (m *VoteSetBitsMsg) GetBlockID() *BlockID
- func (m *VoteSetBitsMsg) GetHeight() int64
- func (m *VoteSetBitsMsg) GetRound() int32
- func (m *VoteSetBitsMsg) GetType() int32
- func (m *VoteSetBitsMsg) GetVotes() *TendermintBitArray
- func (*VoteSetBitsMsg) ProtoMessage()
- func (m *VoteSetBitsMsg) Reset()
- func (m *VoteSetBitsMsg) String() string
- func (m *VoteSetBitsMsg) XXX_DiscardUnknown()
- func (m *VoteSetBitsMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoteSetBitsMsg) XXX_Merge(src proto.Message)
- func (m *VoteSetBitsMsg) XXX_Size() int
- func (m *VoteSetBitsMsg) XXX_Unmarshal(b []byte) error
- type VoteSetMaj23Msg
- func (*VoteSetMaj23Msg) Descriptor() ([]byte, []int)
- func (m *VoteSetMaj23Msg) GetBlockID() *BlockID
- func (m *VoteSetMaj23Msg) GetHeight() int64
- func (m *VoteSetMaj23Msg) GetRound() int32
- func (m *VoteSetMaj23Msg) GetType() int32
- func (*VoteSetMaj23Msg) ProtoMessage()
- func (m *VoteSetMaj23Msg) Reset()
- func (m *VoteSetMaj23Msg) String() string
- func (m *VoteSetMaj23Msg) XXX_DiscardUnknown()
- func (m *VoteSetMaj23Msg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoteSetMaj23Msg) XXX_Merge(src proto.Message)
- func (m *VoteSetMaj23Msg) XXX_Size() int
- func (m *VoteSetMaj23Msg) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const ( ValNodeActionUpdate = 1 ValNodeActionBlockInfo = 2 )
valnode action
View Source
const (
ActionNodeUpdate = "NodeUpdate"
)
action name
View Source
const ValNodeX = "valnode"
ValNodeX define
Variables ¶
This section is empty.
Functions ¶
func CreateNodeUpdateTx ¶
func CreateNodeUpdateTx(cfg *types.Chain33Config, parm *NodeUpdateTx) (*types.Transaction, error)
CreateNodeUpdateTx
func InitExecutor ¶
func InitExecutor(cfg *types.Chain33Config)
func InitFork ¶
func InitFork(cfg *types.Chain33Config)
func RegisterValnodeServer ¶
func RegisterValnodeServer(s *grpc.Server, srv ValnodeServer)
Types ¶
type BlockGossip ¶
type BlockGossip struct {
BlockPartSizeBytes int32 `protobuf:"varint,1,opt,name=BlockPartSizeBytes,proto3" json:"BlockPartSizeBytes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BlockGossip) Descriptor ¶
func (*BlockGossip) Descriptor() ([]byte, []int)
func (*BlockGossip) GetBlockPartSizeBytes ¶
func (m *BlockGossip) GetBlockPartSizeBytes() int32
func (*BlockGossip) ProtoMessage ¶
func (*BlockGossip) ProtoMessage()
func (*BlockGossip) Reset ¶
func (m *BlockGossip) Reset()
func (*BlockGossip) String ¶
func (m *BlockGossip) String() string
func (*BlockGossip) XXX_DiscardUnknown ¶
func (m *BlockGossip) XXX_DiscardUnknown()
func (*BlockGossip) XXX_Marshal ¶
func (m *BlockGossip) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockGossip) XXX_Merge ¶
func (m *BlockGossip) XXX_Merge(src proto.Message)
func (*BlockGossip) XXX_Size ¶
func (m *BlockGossip) XXX_Size() int
func (*BlockGossip) XXX_Unmarshal ¶
func (m *BlockGossip) XXX_Unmarshal(b []byte) error
type BlockID ¶
type BlockID struct {
Hash []byte `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BlockID) Descriptor ¶
func (*BlockID) ProtoMessage ¶
func (*BlockID) ProtoMessage()
func (*BlockID) XXX_DiscardUnknown ¶
func (m *BlockID) XXX_DiscardUnknown()
func (*BlockID) XXX_Marshal ¶
func (*BlockID) XXX_Unmarshal ¶
type BlockSize ¶
type BlockSize struct {
MaxBytes int32 `protobuf:"varint,1,opt,name=MaxBytes,proto3" json:"MaxBytes,omitempty"`
MaxTxs int32 `protobuf:"varint,2,opt,name=MaxTxs,proto3" json:"MaxTxs,omitempty"`
MaxGas int64 `protobuf:"varint,3,opt,name=MaxGas,proto3" json:"MaxGas,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BlockSize) Descriptor ¶
func (*BlockSize) GetMaxBytes ¶
func (*BlockSize) ProtoMessage ¶
func (*BlockSize) ProtoMessage()
func (*BlockSize) XXX_DiscardUnknown ¶
func (m *BlockSize) XXX_DiscardUnknown()
func (*BlockSize) XXX_Marshal ¶
func (*BlockSize) XXX_Unmarshal ¶
type ConsensusParams ¶
type ConsensusParams struct {
BlockSize *BlockSize `protobuf:"bytes,1,opt,name=BlockSize,proto3" json:"BlockSize,omitempty"`
TxSize *TxSize `protobuf:"bytes,2,opt,name=TxSize,proto3" json:"TxSize,omitempty"`
BlockGossip *BlockGossip `protobuf:"bytes,3,opt,name=BlockGossip,proto3" json:"BlockGossip,omitempty"`
EvidenceParams *EvidenceParams `protobuf:"bytes,4,opt,name=EvidenceParams,proto3" json:"EvidenceParams,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ConsensusParams) Descriptor ¶
func (*ConsensusParams) Descriptor() ([]byte, []int)
func (*ConsensusParams) GetBlockGossip ¶
func (m *ConsensusParams) GetBlockGossip() *BlockGossip
func (*ConsensusParams) GetBlockSize ¶
func (m *ConsensusParams) GetBlockSize() *BlockSize
func (*ConsensusParams) GetEvidenceParams ¶
func (m *ConsensusParams) GetEvidenceParams() *EvidenceParams
func (*ConsensusParams) GetTxSize ¶
func (m *ConsensusParams) GetTxSize() *TxSize
func (*ConsensusParams) ProtoMessage ¶
func (*ConsensusParams) ProtoMessage()
func (*ConsensusParams) Reset ¶
func (m *ConsensusParams) Reset()
func (*ConsensusParams) String ¶
func (m *ConsensusParams) String() string
func (*ConsensusParams) XXX_DiscardUnknown ¶
func (m *ConsensusParams) XXX_DiscardUnknown()
func (*ConsensusParams) XXX_Marshal ¶
func (m *ConsensusParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusParams) XXX_Merge ¶
func (m *ConsensusParams) XXX_Merge(src proto.Message)
func (*ConsensusParams) XXX_Size ¶
func (m *ConsensusParams) XXX_Size() int
func (*ConsensusParams) XXX_Unmarshal ¶
func (m *ConsensusParams) XXX_Unmarshal(b []byte) error
type EvidenceParams ¶
type EvidenceParams struct {
MaxAge int64 `protobuf:"varint,1,opt,name=MaxAge,proto3" json:"MaxAge,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*EvidenceParams) Descriptor ¶
func (*EvidenceParams) Descriptor() ([]byte, []int)
func (*EvidenceParams) GetMaxAge ¶
func (m *EvidenceParams) GetMaxAge() int64
func (*EvidenceParams) ProtoMessage ¶
func (*EvidenceParams) ProtoMessage()
func (*EvidenceParams) Reset ¶
func (m *EvidenceParams) Reset()
func (*EvidenceParams) String ¶
func (m *EvidenceParams) String() string
func (*EvidenceParams) XXX_DiscardUnknown ¶
func (m *EvidenceParams) XXX_DiscardUnknown()
func (*EvidenceParams) XXX_Marshal ¶
func (m *EvidenceParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EvidenceParams) XXX_Merge ¶
func (m *EvidenceParams) XXX_Merge(src proto.Message)
func (*EvidenceParams) XXX_Size ¶
func (m *EvidenceParams) XXX_Size() int
func (*EvidenceParams) XXX_Unmarshal ¶
func (m *EvidenceParams) XXX_Unmarshal(b []byte) error
type HasVoteMsg ¶
type HasVoteMsg struct {
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
Round int32 `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
Index int32 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*HasVoteMsg) Descriptor ¶
func (*HasVoteMsg) Descriptor() ([]byte, []int)
func (*HasVoteMsg) GetHeight ¶
func (m *HasVoteMsg) GetHeight() int64
func (*HasVoteMsg) GetIndex ¶
func (m *HasVoteMsg) GetIndex() int32
func (*HasVoteMsg) GetRound ¶
func (m *HasVoteMsg) GetRound() int32
func (*HasVoteMsg) GetType ¶
func (m *HasVoteMsg) GetType() int32
func (*HasVoteMsg) ProtoMessage ¶
func (*HasVoteMsg) ProtoMessage()
func (*HasVoteMsg) Reset ¶
func (m *HasVoteMsg) Reset()
func (*HasVoteMsg) String ¶
func (m *HasVoteMsg) String() string
func (*HasVoteMsg) XXX_DiscardUnknown ¶
func (m *HasVoteMsg) XXX_DiscardUnknown()
func (*HasVoteMsg) XXX_Marshal ¶
func (m *HasVoteMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HasVoteMsg) XXX_Merge ¶
func (m *HasVoteMsg) XXX_Merge(src proto.Message)
func (*HasVoteMsg) XXX_Size ¶
func (m *HasVoteMsg) XXX_Size() int
func (*HasVoteMsg) XXX_Unmarshal ¶
func (m *HasVoteMsg) XXX_Unmarshal(b []byte) error
type Heartbeat ¶
type Heartbeat struct {
ValidatorAddress []byte `protobuf:"bytes,1,opt,name=validatorAddress,proto3" json:"validatorAddress,omitempty"`
ValidatorIndex int32 `protobuf:"varint,2,opt,name=validatorIndex,proto3" json:"validatorIndex,omitempty"`
Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
Round int32 `protobuf:"varint,4,opt,name=round,proto3" json:"round,omitempty"`
Sequence int32 `protobuf:"varint,5,opt,name=sequence,proto3" json:"sequence,omitempty"`
Signature []byte `protobuf:"bytes,6,opt,name=signature,proto3" json:"signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Heartbeat) Descriptor ¶
func (*Heartbeat) GetSequence ¶
func (*Heartbeat) GetSignature ¶
func (*Heartbeat) GetValidatorAddress ¶
func (*Heartbeat) GetValidatorIndex ¶
func (*Heartbeat) ProtoMessage ¶
func (*Heartbeat) ProtoMessage()
func (*Heartbeat) XXX_DiscardUnknown ¶
func (m *Heartbeat) XXX_DiscardUnknown()
func (*Heartbeat) XXX_Marshal ¶
func (*Heartbeat) XXX_Unmarshal ¶
type IsHealthy ¶
type IsHealthy struct {
IsHealthy bool `protobuf:"varint,1,opt,name=isHealthy,proto3" json:"isHealthy,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*IsHealthy) Descriptor ¶
func (*IsHealthy) GetIsHealthy ¶
func (*IsHealthy) ProtoMessage ¶
func (*IsHealthy) ProtoMessage()
func (*IsHealthy) XXX_DiscardUnknown ¶
func (m *IsHealthy) XXX_DiscardUnknown()
func (*IsHealthy) XXX_Marshal ¶
func (*IsHealthy) XXX_Unmarshal ¶
type NewRoundStepMsg ¶
type NewRoundStepMsg struct {
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
Round int32 `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
Step int32 `protobuf:"varint,3,opt,name=step,proto3" json:"step,omitempty"`
SecondsSinceStartTime int32 `protobuf:"varint,4,opt,name=secondsSinceStartTime,proto3" json:"secondsSinceStartTime,omitempty"`
LastCommitRound int32 `protobuf:"varint,5,opt,name=lastCommitRound,proto3" json:"lastCommitRound,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*NewRoundStepMsg) Descriptor ¶
func (*NewRoundStepMsg) Descriptor() ([]byte, []int)
func (*NewRoundStepMsg) GetHeight ¶
func (m *NewRoundStepMsg) GetHeight() int64
func (*NewRoundStepMsg) GetLastCommitRound ¶
func (m *NewRoundStepMsg) GetLastCommitRound() int32
func (*NewRoundStepMsg) GetRound ¶
func (m *NewRoundStepMsg) GetRound() int32
func (*NewRoundStepMsg) GetSecondsSinceStartTime ¶
func (m *NewRoundStepMsg) GetSecondsSinceStartTime() int32
func (*NewRoundStepMsg) GetStep ¶
func (m *NewRoundStepMsg) GetStep() int32
func (*NewRoundStepMsg) ProtoMessage ¶
func (*NewRoundStepMsg) ProtoMessage()
func (*NewRoundStepMsg) Reset ¶
func (m *NewRoundStepMsg) Reset()
func (*NewRoundStepMsg) String ¶
func (m *NewRoundStepMsg) String() string
func (*NewRoundStepMsg) XXX_DiscardUnknown ¶
func (m *NewRoundStepMsg) XXX_DiscardUnknown()
func (*NewRoundStepMsg) XXX_Marshal ¶
func (m *NewRoundStepMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewRoundStepMsg) XXX_Merge ¶
func (m *NewRoundStepMsg) XXX_Merge(src proto.Message)
func (*NewRoundStepMsg) XXX_Size ¶
func (m *NewRoundStepMsg) XXX_Size() int
func (*NewRoundStepMsg) XXX_Unmarshal ¶
func (m *NewRoundStepMsg) XXX_Unmarshal(b []byte) error
type NodeUpdateTx ¶
NodeUpdateTx for construction
type Proposal ¶
type Proposal struct {
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
Round int32 `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
POLRound int32 `protobuf:"varint,4,opt,name=POLRound,proto3" json:"POLRound,omitempty"`
POLBlockID *BlockID `protobuf:"bytes,5,opt,name=POLBlockID,proto3" json:"POLBlockID,omitempty"`
Signature []byte `protobuf:"bytes,6,opt,name=signature,proto3" json:"signature,omitempty"`
Blockhash []byte `protobuf:"bytes,7,opt,name=blockhash,proto3" json:"blockhash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Proposal) Descriptor ¶
func (*Proposal) GetBlockhash ¶
func (*Proposal) GetPOLBlockID ¶
func (*Proposal) GetPOLRound ¶
func (*Proposal) GetSignature ¶
func (*Proposal) GetTimestamp ¶
func (*Proposal) ProtoMessage ¶
func (*Proposal) ProtoMessage()
func (*Proposal) XXX_DiscardUnknown ¶
func (m *Proposal) XXX_DiscardUnknown()
func (*Proposal) XXX_Marshal ¶
func (*Proposal) XXX_Unmarshal ¶
type ProposalPOLMsg ¶
type ProposalPOLMsg struct {
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
ProposalPOLRound int32 `protobuf:"varint,2,opt,name=proposalPOLRound,proto3" json:"proposalPOLRound,omitempty"`
ProposalPOL *TendermintBitArray `protobuf:"bytes,3,opt,name=proposalPOL,proto3" json:"proposalPOL,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ProposalPOLMsg) Descriptor ¶
func (*ProposalPOLMsg) Descriptor() ([]byte, []int)
func (*ProposalPOLMsg) GetHeight ¶
func (m *ProposalPOLMsg) GetHeight() int64
func (*ProposalPOLMsg) GetProposalPOL ¶
func (m *ProposalPOLMsg) GetProposalPOL() *TendermintBitArray
func (*ProposalPOLMsg) GetProposalPOLRound ¶
func (m *ProposalPOLMsg) GetProposalPOLRound() int32
func (*ProposalPOLMsg) ProtoMessage ¶
func (*ProposalPOLMsg) ProtoMessage()
func (*ProposalPOLMsg) Reset ¶
func (m *ProposalPOLMsg) Reset()
func (*ProposalPOLMsg) String ¶
func (m *ProposalPOLMsg) String() string
func (*ProposalPOLMsg) XXX_DiscardUnknown ¶
func (m *ProposalPOLMsg) XXX_DiscardUnknown()
func (*ProposalPOLMsg) XXX_Marshal ¶
func (m *ProposalPOLMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalPOLMsg) XXX_Merge ¶
func (m *ProposalPOLMsg) XXX_Merge(src proto.Message)
func (*ProposalPOLMsg) XXX_Size ¶
func (m *ProposalPOLMsg) XXX_Size() int
func (*ProposalPOLMsg) XXX_Unmarshal ¶
func (m *ProposalPOLMsg) XXX_Unmarshal(b []byte) error
type ReqBlockInfo ¶
type ReqBlockInfo struct {
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqBlockInfo) Descriptor ¶
func (*ReqBlockInfo) Descriptor() ([]byte, []int)
func (*ReqBlockInfo) GetHeight ¶
func (m *ReqBlockInfo) GetHeight() int64
func (*ReqBlockInfo) ProtoMessage ¶
func (*ReqBlockInfo) ProtoMessage()
func (*ReqBlockInfo) Reset ¶
func (m *ReqBlockInfo) Reset()
func (*ReqBlockInfo) String ¶
func (m *ReqBlockInfo) String() string
func (*ReqBlockInfo) XXX_DiscardUnknown ¶
func (m *ReqBlockInfo) XXX_DiscardUnknown()
func (*ReqBlockInfo) XXX_Marshal ¶
func (m *ReqBlockInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqBlockInfo) XXX_Merge ¶
func (m *ReqBlockInfo) XXX_Merge(src proto.Message)
func (*ReqBlockInfo) XXX_Size ¶
func (m *ReqBlockInfo) XXX_Size() int
func (*ReqBlockInfo) XXX_Unmarshal ¶
func (m *ReqBlockInfo) XXX_Unmarshal(b []byte) error
type ReqNodeInfo ¶
type ReqNodeInfo struct {
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqNodeInfo) Descriptor ¶
func (*ReqNodeInfo) Descriptor() ([]byte, []int)
func (*ReqNodeInfo) GetHeight ¶
func (m *ReqNodeInfo) GetHeight() int64
func (*ReqNodeInfo) ProtoMessage ¶
func (*ReqNodeInfo) ProtoMessage()
func (*ReqNodeInfo) Reset ¶
func (m *ReqNodeInfo) Reset()
func (*ReqNodeInfo) String ¶
func (m *ReqNodeInfo) String() string
func (*ReqNodeInfo) XXX_DiscardUnknown ¶
func (m *ReqNodeInfo) XXX_DiscardUnknown()
func (*ReqNodeInfo) XXX_Marshal ¶
func (m *ReqNodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqNodeInfo) XXX_Merge ¶
func (m *ReqNodeInfo) XXX_Merge(src proto.Message)
func (*ReqNodeInfo) XXX_Size ¶
func (m *ReqNodeInfo) XXX_Size() int
func (*ReqNodeInfo) XXX_Unmarshal ¶
func (m *ReqNodeInfo) XXX_Unmarshal(b []byte) error
type State ¶
type State struct {
ChainID string `protobuf:"bytes,1,opt,name=ChainID,proto3" json:"ChainID,omitempty"`
LastBlockHeight int64 `protobuf:"varint,2,opt,name=LastBlockHeight,proto3" json:"LastBlockHeight,omitempty"`
LastBlockTotalTx int64 `protobuf:"varint,3,opt,name=LastBlockTotalTx,proto3" json:"LastBlockTotalTx,omitempty"`
LastBlockID *BlockID `protobuf:"bytes,4,opt,name=LastBlockID,proto3" json:"LastBlockID,omitempty"`
LastBlockTime int64 `protobuf:"varint,5,opt,name=LastBlockTime,proto3" json:"LastBlockTime,omitempty"`
Validators *ValidatorSet `protobuf:"bytes,6,opt,name=Validators,proto3" json:"Validators,omitempty"`
LastValidators *ValidatorSet `protobuf:"bytes,7,opt,name=LastValidators,proto3" json:"LastValidators,omitempty"`
LastHeightValidatorsChanged int64 `protobuf:"varint,8,opt,name=LastHeightValidatorsChanged,proto3" json:"LastHeightValidatorsChanged,omitempty"`
ConsensusParams *ConsensusParams `protobuf:"bytes,9,opt,name=ConsensusParams,proto3" json:"ConsensusParams,omitempty"`
LastHeightConsensusParamsChanged int64 `protobuf:"varint,10,opt,name=LastHeightConsensusParamsChanged,proto3" json:"LastHeightConsensusParamsChanged,omitempty"`
LastResultsHash []byte `protobuf:"bytes,11,opt,name=LastResultsHash,proto3" json:"LastResultsHash,omitempty"`
AppHash []byte `protobuf:"bytes,12,opt,name=AppHash,proto3" json:"AppHash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*State) Descriptor ¶
func (*State) GetAppHash ¶
func (*State) GetChainID ¶
func (*State) GetConsensusParams ¶
func (m *State) GetConsensusParams() *ConsensusParams
func (*State) GetLastBlockHeight ¶
func (*State) GetLastBlockID ¶
func (*State) GetLastBlockTime ¶
func (*State) GetLastBlockTotalTx ¶
func (*State) GetLastHeightConsensusParamsChanged ¶
func (*State) GetLastHeightValidatorsChanged ¶
func (*State) GetLastResultsHash ¶
func (*State) GetLastValidators ¶
func (m *State) GetLastValidators() *ValidatorSet
func (*State) GetValidators ¶
func (m *State) GetValidators() *ValidatorSet
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (*State) XXX_DiscardUnknown ¶
func (m *State) XXX_DiscardUnknown()
func (*State) XXX_Marshal ¶
func (*State) XXX_Unmarshal ¶
type TendermintBitArray ¶
type TendermintBitArray struct {
Bits int32 `protobuf:"varint,1,opt,name=Bits,proto3" json:"Bits,omitempty"`
Elems []uint64 `protobuf:"varint,2,rep,packed,name=Elems,proto3" json:"Elems,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TendermintBitArray) Descriptor ¶
func (*TendermintBitArray) Descriptor() ([]byte, []int)
func (*TendermintBitArray) GetBits ¶
func (m *TendermintBitArray) GetBits() int32
func (*TendermintBitArray) GetElems ¶
func (m *TendermintBitArray) GetElems() []uint64
func (*TendermintBitArray) ProtoMessage ¶
func (*TendermintBitArray) ProtoMessage()
func (*TendermintBitArray) Reset ¶
func (m *TendermintBitArray) Reset()
func (*TendermintBitArray) String ¶
func (m *TendermintBitArray) String() string
func (*TendermintBitArray) XXX_DiscardUnknown ¶
func (m *TendermintBitArray) XXX_DiscardUnknown()
func (*TendermintBitArray) XXX_Marshal ¶
func (m *TendermintBitArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TendermintBitArray) XXX_Merge ¶
func (m *TendermintBitArray) XXX_Merge(src proto.Message)
func (*TendermintBitArray) XXX_Size ¶
func (m *TendermintBitArray) XXX_Size() int
func (*TendermintBitArray) XXX_Unmarshal ¶
func (m *TendermintBitArray) XXX_Unmarshal(b []byte) error
type TendermintBlock ¶
type TendermintBlock struct {
Header *TendermintBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Data *types.Block `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
LastCommit *TendermintCommit `protobuf:"bytes,4,opt,name=lastCommit,proto3" json:"lastCommit,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TendermintBlock) Descriptor ¶
func (*TendermintBlock) Descriptor() ([]byte, []int)
func (*TendermintBlock) GetData ¶
func (m *TendermintBlock) GetData() *types.Block
func (*TendermintBlock) GetHeader ¶
func (m *TendermintBlock) GetHeader() *TendermintBlockHeader
func (*TendermintBlock) GetLastCommit ¶
func (m *TendermintBlock) GetLastCommit() *TendermintCommit
func (*TendermintBlock) ProtoMessage ¶
func (*TendermintBlock) ProtoMessage()
func (*TendermintBlock) Reset ¶
func (m *TendermintBlock) Reset()
func (*TendermintBlock) String ¶
func (m *TendermintBlock) String() string
func (*TendermintBlock) XXX_DiscardUnknown ¶
func (m *TendermintBlock) XXX_DiscardUnknown()
func (*TendermintBlock) XXX_Marshal ¶
func (m *TendermintBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TendermintBlock) XXX_Merge ¶
func (m *TendermintBlock) XXX_Merge(src proto.Message)
func (*TendermintBlock) XXX_Size ¶
func (m *TendermintBlock) XXX_Size() int
func (*TendermintBlock) XXX_Unmarshal ¶
func (m *TendermintBlock) XXX_Unmarshal(b []byte) error
type TendermintBlockHeader ¶
type TendermintBlockHeader struct {
ChainID string `protobuf:"bytes,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
Round int64 `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
Time int64 `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"`
NumTxs int64 `protobuf:"varint,5,opt,name=numTxs,proto3" json:"numTxs,omitempty"`
LastBlockID *BlockID `protobuf:"bytes,6,opt,name=lastBlockID,proto3" json:"lastBlockID,omitempty"`
TotalTxs int64 `protobuf:"varint,7,opt,name=totalTxs,proto3" json:"totalTxs,omitempty"`
LastCommitHash []byte `protobuf:"bytes,8,opt,name=lastCommitHash,proto3" json:"lastCommitHash,omitempty"`
ValidatorsHash []byte `protobuf:"bytes,9,opt,name=validatorsHash,proto3" json:"validatorsHash,omitempty"`
ConsensusHash []byte `protobuf:"bytes,10,opt,name=consensusHash,proto3" json:"consensusHash,omitempty"`
AppHash []byte `protobuf:"bytes,11,opt,name=appHash,proto3" json:"appHash,omitempty"`
LastResultsHash []byte `protobuf:"bytes,12,opt,name=lastResultsHash,proto3" json:"lastResultsHash,omitempty"`
ProposerAddr []byte `protobuf:"bytes,13,opt,name=proposerAddr,proto3" json:"proposerAddr,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TendermintBlockHeader) Descriptor ¶
func (*TendermintBlockHeader) Descriptor() ([]byte, []int)
func (*TendermintBlockHeader) GetAppHash ¶
func (m *TendermintBlockHeader) GetAppHash() []byte
func (*TendermintBlockHeader) GetChainID ¶
func (m *TendermintBlockHeader) GetChainID() string
func (*TendermintBlockHeader) GetConsensusHash ¶
func (m *TendermintBlockHeader) GetConsensusHash() []byte
func (*TendermintBlockHeader) GetHeight ¶
func (m *TendermintBlockHeader) GetHeight() int64
func (*TendermintBlockHeader) GetLastBlockID ¶
func (m *TendermintBlockHeader) GetLastBlockID() *BlockID
func (*TendermintBlockHeader) GetLastCommitHash ¶
func (m *TendermintBlockHeader) GetLastCommitHash() []byte
func (*TendermintBlockHeader) GetLastResultsHash ¶
func (m *TendermintBlockHeader) GetLastResultsHash() []byte
func (*TendermintBlockHeader) GetNumTxs ¶
func (m *TendermintBlockHeader) GetNumTxs() int64
func (*TendermintBlockHeader) GetProposerAddr ¶
func (m *TendermintBlockHeader) GetProposerAddr() []byte
func (*TendermintBlockHeader) GetRound ¶
func (m *TendermintBlockHeader) GetRound() int64
func (*TendermintBlockHeader) GetTime ¶
func (m *TendermintBlockHeader) GetTime() int64
func (*TendermintBlockHeader) GetTotalTxs ¶
func (m *TendermintBlockHeader) GetTotalTxs() int64
func (*TendermintBlockHeader) GetValidatorsHash ¶
func (m *TendermintBlockHeader) GetValidatorsHash() []byte
func (*TendermintBlockHeader) ProtoMessage ¶
func (*TendermintBlockHeader) ProtoMessage()
func (*TendermintBlockHeader) Reset ¶
func (m *TendermintBlockHeader) Reset()
func (*TendermintBlockHeader) String ¶
func (m *TendermintBlockHeader) String() string
func (*TendermintBlockHeader) XXX_DiscardUnknown ¶
func (m *TendermintBlockHeader) XXX_DiscardUnknown()
func (*TendermintBlockHeader) XXX_Marshal ¶
func (m *TendermintBlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TendermintBlockHeader) XXX_Merge ¶
func (m *TendermintBlockHeader) XXX_Merge(src proto.Message)
func (*TendermintBlockHeader) XXX_Size ¶
func (m *TendermintBlockHeader) XXX_Size() int
func (*TendermintBlockHeader) XXX_Unmarshal ¶
func (m *TendermintBlockHeader) XXX_Unmarshal(b []byte) error
type TendermintBlockInfo ¶
type TendermintBlockInfo struct {
State *State `protobuf:"bytes,2,opt,name=State,proto3" json:"State,omitempty"`
Proposal *Proposal `protobuf:"bytes,3,opt,name=Proposal,proto3" json:"Proposal,omitempty"`
Block *TendermintBlock `protobuf:"bytes,4,opt,name=block,proto3" json:"block,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TendermintBlockInfo) Descriptor ¶
func (*TendermintBlockInfo) Descriptor() ([]byte, []int)
func (*TendermintBlockInfo) GetBlock ¶
func (m *TendermintBlockInfo) GetBlock() *TendermintBlock
func (*TendermintBlockInfo) GetProposal ¶
func (m *TendermintBlockInfo) GetProposal() *Proposal
func (*TendermintBlockInfo) GetState ¶
func (m *TendermintBlockInfo) GetState() *State
func (*TendermintBlockInfo) ProtoMessage ¶
func (*TendermintBlockInfo) ProtoMessage()
func (*TendermintBlockInfo) Reset ¶
func (m *TendermintBlockInfo) Reset()
func (*TendermintBlockInfo) String ¶
func (m *TendermintBlockInfo) String() string
func (*TendermintBlockInfo) XXX_DiscardUnknown ¶
func (m *TendermintBlockInfo) XXX_DiscardUnknown()
func (*TendermintBlockInfo) XXX_Marshal ¶
func (m *TendermintBlockInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TendermintBlockInfo) XXX_Merge ¶
func (m *TendermintBlockInfo) XXX_Merge(src proto.Message)
func (*TendermintBlockInfo) XXX_Size ¶
func (m *TendermintBlockInfo) XXX_Size() int
func (*TendermintBlockInfo) XXX_Unmarshal ¶
func (m *TendermintBlockInfo) XXX_Unmarshal(b []byte) error
type TendermintCommit ¶
type TendermintCommit struct {
BlockID *BlockID `protobuf:"bytes,1,opt,name=BlockID,proto3" json:"BlockID,omitempty"`
Precommits []*Vote `protobuf:"bytes,2,rep,name=Precommits,proto3" json:"Precommits,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TendermintCommit) Descriptor ¶
func (*TendermintCommit) Descriptor() ([]byte, []int)
func (*TendermintCommit) GetBlockID ¶
func (m *TendermintCommit) GetBlockID() *BlockID
func (*TendermintCommit) GetPrecommits ¶
func (m *TendermintCommit) GetPrecommits() []*Vote
func (*TendermintCommit) ProtoMessage ¶
func (*TendermintCommit) ProtoMessage()
func (*TendermintCommit) Reset ¶
func (m *TendermintCommit) Reset()
func (*TendermintCommit) String ¶
func (m *TendermintCommit) String() string
func (*TendermintCommit) XXX_DiscardUnknown ¶
func (m *TendermintCommit) XXX_DiscardUnknown()
func (*TendermintCommit) XXX_Marshal ¶
func (m *TendermintCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TendermintCommit) XXX_Merge ¶
func (m *TendermintCommit) XXX_Merge(src proto.Message)
func (*TendermintCommit) XXX_Size ¶
func (m *TendermintCommit) XXX_Size() int
func (*TendermintCommit) XXX_Unmarshal ¶
func (m *TendermintCommit) XXX_Unmarshal(b []byte) error
type TxSize ¶
type TxSize struct {
MaxBytes int32 `protobuf:"varint,1,opt,name=MaxBytes,proto3" json:"MaxBytes,omitempty"`
MaxGas int64 `protobuf:"varint,2,opt,name=MaxGas,proto3" json:"MaxGas,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TxSize) Descriptor ¶
func (*TxSize) GetMaxBytes ¶
func (*TxSize) ProtoMessage ¶
func (*TxSize) ProtoMessage()
func (*TxSize) XXX_DiscardUnknown ¶
func (m *TxSize) XXX_DiscardUnknown()
func (*TxSize) XXX_Marshal ¶
func (*TxSize) XXX_Unmarshal ¶
type UnimplementedValnodeServer ¶
type UnimplementedValnodeServer struct {
}
UnimplementedValnodeServer can be embedded to have forward compatible implementations.
func (*UnimplementedValnodeServer) GetNodeInfo ¶
func (*UnimplementedValnodeServer) GetNodeInfo(ctx context.Context, req *types.ReqNil) (*ValidatorSet, error)
type ValNode ¶
type ValNode struct {
PubKey []byte `protobuf:"bytes,1,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
Power int64 `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ValNode) Descriptor ¶
func (*ValNode) ProtoMessage ¶
func (*ValNode) ProtoMessage()
func (*ValNode) XXX_DiscardUnknown ¶
func (m *ValNode) XXX_DiscardUnknown()
func (*ValNode) XXX_Marshal ¶
func (*ValNode) XXX_Unmarshal ¶
type ValNodeAction ¶
type ValNodeAction struct {
// Types that are valid to be assigned to Value:
// *ValNodeAction_Node
// *ValNodeAction_BlockInfo
Value isValNodeAction_Value `protobuf_oneof:"value"`
Ty int32 `protobuf:"varint,3,opt,name=Ty,proto3" json:"Ty,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ValNodeAction) Descriptor ¶
func (*ValNodeAction) Descriptor() ([]byte, []int)
func (*ValNodeAction) GetBlockInfo ¶
func (m *ValNodeAction) GetBlockInfo() *TendermintBlockInfo
func (*ValNodeAction) GetNode ¶
func (m *ValNodeAction) GetNode() *ValNode
func (*ValNodeAction) GetTy ¶
func (m *ValNodeAction) GetTy() int32
func (*ValNodeAction) GetValue ¶
func (m *ValNodeAction) GetValue() isValNodeAction_Value
func (*ValNodeAction) ProtoMessage ¶
func (*ValNodeAction) ProtoMessage()
func (*ValNodeAction) Reset ¶
func (m *ValNodeAction) Reset()
func (*ValNodeAction) String ¶
func (m *ValNodeAction) String() string
func (*ValNodeAction) XXX_DiscardUnknown ¶
func (m *ValNodeAction) XXX_DiscardUnknown()
func (*ValNodeAction) XXX_Marshal ¶
func (m *ValNodeAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValNodeAction) XXX_Merge ¶
func (m *ValNodeAction) XXX_Merge(src proto.Message)
func (*ValNodeAction) XXX_OneofWrappers ¶
func (*ValNodeAction) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ValNodeAction) XXX_Size ¶
func (m *ValNodeAction) XXX_Size() int
func (*ValNodeAction) XXX_Unmarshal ¶
func (m *ValNodeAction) XXX_Unmarshal(b []byte) error
type ValNodeAction_BlockInfo ¶
type ValNodeAction_BlockInfo struct {
BlockInfo *TendermintBlockInfo `protobuf:"bytes,2,opt,name=blockInfo,proto3,oneof"`
}
type ValNodeAction_Node ¶
type ValNodeAction_Node struct {
Node *ValNode `protobuf:"bytes,1,opt,name=node,proto3,oneof"`
}
type ValNodeType ¶
type ValNodeType struct {
types.ExecTypeBase
}
ValNodeType stuct
func (*ValNodeType) CreateTx ¶
func (t *ValNodeType) CreateTx(action string, message json.RawMessage) (*types.Transaction, error)
CreateTx
func (*ValNodeType) GetLogMap ¶
func (t *ValNodeType) GetLogMap() map[int64]*types.LogInfo
GetLogMap method
func (*ValNodeType) GetTypeMap ¶
func (t *ValNodeType) GetTypeMap() map[string]int32
GetTypeMap method
type ValNodes ¶
type ValNodes struct {
Nodes []*ValNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ValNodes) Descriptor ¶
func (*ValNodes) ProtoMessage ¶
func (*ValNodes) ProtoMessage()
func (*ValNodes) XXX_DiscardUnknown ¶
func (m *ValNodes) XXX_DiscardUnknown()
func (*ValNodes) XXX_Marshal ¶
func (*ValNodes) XXX_Unmarshal ¶
type ValidBlockMsg ¶
type ValidBlockMsg struct {
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
Round int32 `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
Blockhash []byte `protobuf:"bytes,3,opt,name=blockhash,proto3" json:"blockhash,omitempty"`
IsCommit bool `protobuf:"varint,4,opt,name=isCommit,proto3" json:"isCommit,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ValidBlockMsg) Descriptor ¶
func (*ValidBlockMsg) Descriptor() ([]byte, []int)
func (*ValidBlockMsg) GetBlockhash ¶
func (m *ValidBlockMsg) GetBlockhash() []byte
func (*ValidBlockMsg) GetHeight ¶
func (m *ValidBlockMsg) GetHeight() int64
func (*ValidBlockMsg) GetIsCommit ¶
func (m *ValidBlockMsg) GetIsCommit() bool
func (*ValidBlockMsg) GetRound ¶
func (m *ValidBlockMsg) GetRound() int32
func (*ValidBlockMsg) ProtoMessage ¶
func (*ValidBlockMsg) ProtoMessage()
func (*ValidBlockMsg) Reset ¶
func (m *ValidBlockMsg) Reset()
func (*ValidBlockMsg) String ¶
func (m *ValidBlockMsg) String() string
func (*ValidBlockMsg) XXX_DiscardUnknown ¶
func (m *ValidBlockMsg) XXX_DiscardUnknown()
func (*ValidBlockMsg) XXX_Marshal ¶
func (m *ValidBlockMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidBlockMsg) XXX_Merge ¶
func (m *ValidBlockMsg) XXX_Merge(src proto.Message)
func (*ValidBlockMsg) XXX_Size ¶
func (m *ValidBlockMsg) XXX_Size() int
func (*ValidBlockMsg) XXX_Unmarshal ¶
func (m *ValidBlockMsg) XXX_Unmarshal(b []byte) error
type Validator ¶
type Validator struct {
Address []byte `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
PubKey []byte `protobuf:"bytes,2,opt,name=PubKey,proto3" json:"PubKey,omitempty"`
VotingPower int64 `protobuf:"varint,3,opt,name=VotingPower,proto3" json:"VotingPower,omitempty"`
Accum int64 `protobuf:"varint,4,opt,name=Accum,proto3" json:"Accum,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Validator) Descriptor ¶
func (*Validator) GetAddress ¶
func (*Validator) GetVotingPower ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) XXX_DiscardUnknown ¶
func (m *Validator) XXX_DiscardUnknown()
func (*Validator) XXX_Marshal ¶
func (*Validator) XXX_Unmarshal ¶
type ValidatorSet ¶
type ValidatorSet struct {
Validators []*Validator `protobuf:"bytes,1,rep,name=Validators,proto3" json:"Validators,omitempty"`
Proposer *Validator `protobuf:"bytes,2,opt,name=Proposer,proto3" json:"Proposer,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ValidatorSet) Descriptor ¶
func (*ValidatorSet) Descriptor() ([]byte, []int)
func (*ValidatorSet) GetProposer ¶
func (m *ValidatorSet) GetProposer() *Validator
func (*ValidatorSet) GetValidators ¶
func (m *ValidatorSet) GetValidators() []*Validator
func (*ValidatorSet) ProtoMessage ¶
func (*ValidatorSet) ProtoMessage()
func (*ValidatorSet) Reset ¶
func (m *ValidatorSet) Reset()
func (*ValidatorSet) String ¶
func (m *ValidatorSet) String() string
func (*ValidatorSet) XXX_DiscardUnknown ¶
func (m *ValidatorSet) XXX_DiscardUnknown()
func (*ValidatorSet) XXX_Marshal ¶
func (m *ValidatorSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorSet) XXX_Merge ¶
func (m *ValidatorSet) XXX_Merge(src proto.Message)
func (*ValidatorSet) XXX_Size ¶
func (m *ValidatorSet) XXX_Size() int
func (*ValidatorSet) XXX_Unmarshal ¶
func (m *ValidatorSet) XXX_Unmarshal(b []byte) error
type ValnodeClient ¶
type ValnodeClient interface {
IsSync(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*IsHealthy, error)
GetNodeInfo(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*ValidatorSet, error)
}
ValnodeClient is the client API for Valnode service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewValnodeClient ¶
func NewValnodeClient(cc grpc.ClientConnInterface) ValnodeClient
type ValnodeServer ¶
type ValnodeServer interface {
IsSync(context.Context, *types.ReqNil) (*IsHealthy, error)
GetNodeInfo(context.Context, *types.ReqNil) (*ValidatorSet, error)
}
ValnodeServer is the server API for Valnode service.
type Vote ¶
type Vote struct {
ValidatorAddress []byte `protobuf:"bytes,1,opt,name=ValidatorAddress,proto3" json:"ValidatorAddress,omitempty"`
ValidatorIndex int32 `protobuf:"varint,2,opt,name=ValidatorIndex,proto3" json:"ValidatorIndex,omitempty"`
Height int64 `protobuf:"varint,3,opt,name=Height,proto3" json:"Height,omitempty"`
Round int32 `protobuf:"varint,4,opt,name=Round,proto3" json:"Round,omitempty"`
Timestamp int64 `protobuf:"varint,5,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
Type uint32 `protobuf:"varint,6,opt,name=Type,proto3" json:"Type,omitempty"`
BlockID *BlockID `protobuf:"bytes,7,opt,name=BlockID,proto3" json:"BlockID,omitempty"`
Signature []byte `protobuf:"bytes,8,opt,name=Signature,proto3" json:"Signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Vote) Descriptor ¶
func (*Vote) GetBlockID ¶
func (*Vote) GetSignature ¶
func (*Vote) GetTimestamp ¶
func (*Vote) GetValidatorAddress ¶
func (*Vote) GetValidatorIndex ¶
func (*Vote) ProtoMessage ¶
func (*Vote) ProtoMessage()
func (*Vote) XXX_DiscardUnknown ¶
func (m *Vote) XXX_DiscardUnknown()
func (*Vote) XXX_Unmarshal ¶
type VoteSetBitsMsg ¶
type VoteSetBitsMsg struct {
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
Round int32 `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
BlockID *BlockID `protobuf:"bytes,4,opt,name=blockID,proto3" json:"blockID,omitempty"`
Votes *TendermintBitArray `protobuf:"bytes,5,opt,name=votes,proto3" json:"votes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*VoteSetBitsMsg) Descriptor ¶
func (*VoteSetBitsMsg) Descriptor() ([]byte, []int)
func (*VoteSetBitsMsg) GetBlockID ¶
func (m *VoteSetBitsMsg) GetBlockID() *BlockID
func (*VoteSetBitsMsg) GetHeight ¶
func (m *VoteSetBitsMsg) GetHeight() int64
func (*VoteSetBitsMsg) GetRound ¶
func (m *VoteSetBitsMsg) GetRound() int32
func (*VoteSetBitsMsg) GetType ¶
func (m *VoteSetBitsMsg) GetType() int32
func (*VoteSetBitsMsg) GetVotes ¶
func (m *VoteSetBitsMsg) GetVotes() *TendermintBitArray
func (*VoteSetBitsMsg) ProtoMessage ¶
func (*VoteSetBitsMsg) ProtoMessage()
func (*VoteSetBitsMsg) Reset ¶
func (m *VoteSetBitsMsg) Reset()
func (*VoteSetBitsMsg) String ¶
func (m *VoteSetBitsMsg) String() string
func (*VoteSetBitsMsg) XXX_DiscardUnknown ¶
func (m *VoteSetBitsMsg) XXX_DiscardUnknown()
func (*VoteSetBitsMsg) XXX_Marshal ¶
func (m *VoteSetBitsMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VoteSetBitsMsg) XXX_Merge ¶
func (m *VoteSetBitsMsg) XXX_Merge(src proto.Message)
func (*VoteSetBitsMsg) XXX_Size ¶
func (m *VoteSetBitsMsg) XXX_Size() int
func (*VoteSetBitsMsg) XXX_Unmarshal ¶
func (m *VoteSetBitsMsg) XXX_Unmarshal(b []byte) error
type VoteSetMaj23Msg ¶
type VoteSetMaj23Msg struct {
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
Round int32 `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
BlockID *BlockID `protobuf:"bytes,4,opt,name=blockID,proto3" json:"blockID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*VoteSetMaj23Msg) Descriptor ¶
func (*VoteSetMaj23Msg) Descriptor() ([]byte, []int)
func (*VoteSetMaj23Msg) GetBlockID ¶
func (m *VoteSetMaj23Msg) GetBlockID() *BlockID
func (*VoteSetMaj23Msg) GetHeight ¶
func (m *VoteSetMaj23Msg) GetHeight() int64
func (*VoteSetMaj23Msg) GetRound ¶
func (m *VoteSetMaj23Msg) GetRound() int32
func (*VoteSetMaj23Msg) GetType ¶
func (m *VoteSetMaj23Msg) GetType() int32
func (*VoteSetMaj23Msg) ProtoMessage ¶
func (*VoteSetMaj23Msg) ProtoMessage()
func (*VoteSetMaj23Msg) Reset ¶
func (m *VoteSetMaj23Msg) Reset()
func (*VoteSetMaj23Msg) String ¶
func (m *VoteSetMaj23Msg) String() string
func (*VoteSetMaj23Msg) XXX_DiscardUnknown ¶
func (m *VoteSetMaj23Msg) XXX_DiscardUnknown()
func (*VoteSetMaj23Msg) XXX_Marshal ¶
func (m *VoteSetMaj23Msg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VoteSetMaj23Msg) XXX_Merge ¶
func (m *VoteSetMaj23Msg) XXX_Merge(src proto.Message)
func (*VoteSetMaj23Msg) XXX_Size ¶
func (m *VoteSetMaj23Msg) XXX_Size() int
func (*VoteSetMaj23Msg) XXX_Unmarshal ¶
func (m *VoteSetMaj23Msg) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.