Documentation ¶
Index ¶
- Constants
- Variables
- 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 AggVote
- func (*AggVote) Descriptor() ([]byte, []int)deprecated
- func (x *AggVote) GetBlockID() *BlockID
- func (x *AggVote) GetHeight() int64
- func (x *AggVote) GetRound() int32
- func (x *AggVote) GetSignature() []byte
- func (x *AggVote) GetTimestamp() int64
- func (x *AggVote) GetType() uint32
- func (x *AggVote) GetValidatorAddress() []byte
- func (x *AggVote) GetValidatorArray() *TendermintBitArray
- func (*AggVote) ProtoMessage()
- func (x *AggVote) ProtoReflect() protoreflect.Message
- func (x *AggVote) Reset()
- func (x *AggVote) String() string
- type BlockGossip
- type BlockID
- type BlockSize
- func (*BlockSize) Descriptor() ([]byte, []int)deprecated
- func (x *BlockSize) GetMaxBytes() int32
- func (x *BlockSize) GetMaxGas() int64
- func (x *BlockSize) GetMaxTxs() int32
- func (*BlockSize) ProtoMessage()
- func (x *BlockSize) ProtoReflect() protoreflect.Message
- func (x *BlockSize) Reset()
- func (x *BlockSize) String() string
- type ConsensusParams
- func (*ConsensusParams) Descriptor() ([]byte, []int)deprecated
- func (x *ConsensusParams) GetBlockGossip() *BlockGossip
- func (x *ConsensusParams) GetBlockSize() *BlockSize
- func (x *ConsensusParams) GetEvidenceParams() *EvidenceParams
- func (x *ConsensusParams) GetTxSize() *TxSize
- func (*ConsensusParams) ProtoMessage()
- func (x *ConsensusParams) ProtoReflect() protoreflect.Message
- func (x *ConsensusParams) Reset()
- func (x *ConsensusParams) String() string
- type EvidenceParams
- type HasVoteMsg
- func (*HasVoteMsg) Descriptor() ([]byte, []int)deprecated
- func (x *HasVoteMsg) GetHeight() int64
- func (x *HasVoteMsg) GetIndex() int32
- func (x *HasVoteMsg) GetRound() int32
- func (x *HasVoteMsg) GetType() int32
- func (*HasVoteMsg) ProtoMessage()
- func (x *HasVoteMsg) ProtoReflect() protoreflect.Message
- func (x *HasVoteMsg) Reset()
- func (x *HasVoteMsg) String() string
- type Heartbeat
- func (*Heartbeat) Descriptor() ([]byte, []int)deprecated
- func (x *Heartbeat) GetHeight() int64
- func (x *Heartbeat) GetRound() int32
- func (x *Heartbeat) GetSequence() int32
- func (x *Heartbeat) GetSignature() []byte
- func (x *Heartbeat) GetValidatorAddress() []byte
- func (x *Heartbeat) GetValidatorIndex() int32
- func (*Heartbeat) ProtoMessage()
- func (x *Heartbeat) ProtoReflect() protoreflect.Message
- func (x *Heartbeat) Reset()
- func (x *Heartbeat) String() string
- type IsHealthy
- type NewRoundStepMsg
- func (*NewRoundStepMsg) Descriptor() ([]byte, []int)deprecated
- func (x *NewRoundStepMsg) GetHeight() int64
- func (x *NewRoundStepMsg) GetLastCommitRound() int32
- func (x *NewRoundStepMsg) GetRound() int32
- func (x *NewRoundStepMsg) GetSecondsSinceStartTime() int32
- func (x *NewRoundStepMsg) GetStep() int32
- func (*NewRoundStepMsg) ProtoMessage()
- func (x *NewRoundStepMsg) ProtoReflect() protoreflect.Message
- func (x *NewRoundStepMsg) Reset()
- func (x *NewRoundStepMsg) String() string
- type NodeUpdateTx
- type PerfStat
- func (*PerfStat) Descriptor() ([]byte, []int)deprecated
- func (x *PerfStat) GetTotalBlock() int64
- func (x *PerfStat) GetTotalSecond() int64
- func (x *PerfStat) GetTotalTx() int64
- func (x *PerfStat) GetTxPerBlock() int64
- func (x *PerfStat) GetTxPerSecond() int64
- func (*PerfStat) ProtoMessage()
- func (x *PerfStat) ProtoReflect() protoreflect.Message
- func (x *PerfStat) Reset()
- func (x *PerfStat) String() string
- type Proposal
- func (*Proposal) Descriptor() ([]byte, []int)deprecated
- func (x *Proposal) GetBlockhash() []byte
- func (x *Proposal) GetHeight() int64
- func (x *Proposal) GetPOLBlockID() *BlockID
- func (x *Proposal) GetPOLRound() int32
- func (x *Proposal) GetRound() int32
- func (x *Proposal) GetSignature() []byte
- func (x *Proposal) GetTimestamp() int64
- func (*Proposal) ProtoMessage()
- func (x *Proposal) ProtoReflect() protoreflect.Message
- func (x *Proposal) Reset()
- func (x *Proposal) String() string
- type ProposalPOLMsg
- func (*ProposalPOLMsg) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalPOLMsg) GetHeight() int64
- func (x *ProposalPOLMsg) GetProposalPOL() *TendermintBitArray
- func (x *ProposalPOLMsg) GetProposalPOLRound() int32
- func (*ProposalPOLMsg) ProtoMessage()
- func (x *ProposalPOLMsg) ProtoReflect() protoreflect.Message
- func (x *ProposalPOLMsg) Reset()
- func (x *ProposalPOLMsg) String() string
- type ReqBlockInfo
- type ReqPerfStat
- type ReqValNodes
- type State
- func (*State) Descriptor() ([]byte, []int)deprecated
- func (x *State) GetAppHash() []byte
- func (x *State) GetChainID() string
- func (x *State) GetConsensusParams() *ConsensusParams
- func (x *State) GetLastBlockHeight() int64
- func (x *State) GetLastBlockID() *BlockID
- func (x *State) GetLastBlockTime() int64
- func (x *State) GetLastBlockTotalTx() int64
- func (x *State) GetLastHeightConsensusParamsChanged() int64
- func (x *State) GetLastHeightValidatorsChanged() int64
- func (x *State) GetLastResultsHash() []byte
- func (x *State) GetLastValidators() *ValidatorSet
- func (x *State) GetValidators() *ValidatorSet
- func (*State) ProtoMessage()
- func (x *State) ProtoReflect() protoreflect.Message
- func (x *State) Reset()
- func (x *State) String() string
- type TendermintBitArray
- func (*TendermintBitArray) Descriptor() ([]byte, []int)deprecated
- func (x *TendermintBitArray) GetBits() int32
- func (x *TendermintBitArray) GetElems() []uint64
- func (*TendermintBitArray) ProtoMessage()
- func (x *TendermintBitArray) ProtoReflect() protoreflect.Message
- func (x *TendermintBitArray) Reset()
- func (x *TendermintBitArray) String() string
- type TendermintBlock
- func (*TendermintBlock) Descriptor() ([]byte, []int)deprecated
- func (x *TendermintBlock) GetData() *types.Block
- func (x *TendermintBlock) GetHeader() *TendermintBlockHeader
- func (x *TendermintBlock) GetLastCommit() *TendermintCommit
- func (*TendermintBlock) ProtoMessage()
- func (x *TendermintBlock) ProtoReflect() protoreflect.Message
- func (x *TendermintBlock) Reset()
- func (x *TendermintBlock) String() string
- type TendermintBlockHeader
- func (*TendermintBlockHeader) Descriptor() ([]byte, []int)deprecated
- func (x *TendermintBlockHeader) GetAppHash() []byte
- func (x *TendermintBlockHeader) GetChainID() string
- func (x *TendermintBlockHeader) GetConsensusHash() []byte
- func (x *TendermintBlockHeader) GetHeight() int64
- func (x *TendermintBlockHeader) GetLastBlockID() *BlockID
- func (x *TendermintBlockHeader) GetLastCommitHash() []byte
- func (x *TendermintBlockHeader) GetLastResultsHash() []byte
- func (x *TendermintBlockHeader) GetNumTxs() int64
- func (x *TendermintBlockHeader) GetProposerAddr() []byte
- func (x *TendermintBlockHeader) GetRound() int64
- func (x *TendermintBlockHeader) GetTime() int64
- func (x *TendermintBlockHeader) GetTotalTxs() int64
- func (x *TendermintBlockHeader) GetValidatorsHash() []byte
- func (*TendermintBlockHeader) ProtoMessage()
- func (x *TendermintBlockHeader) ProtoReflect() protoreflect.Message
- func (x *TendermintBlockHeader) Reset()
- func (x *TendermintBlockHeader) String() string
- type TendermintBlockInfo
- func (*TendermintBlockInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TendermintBlockInfo) GetBlock() *TendermintBlock
- func (x *TendermintBlockInfo) GetProposal() *Proposal
- func (x *TendermintBlockInfo) GetState() *State
- func (*TendermintBlockInfo) ProtoMessage()
- func (x *TendermintBlockInfo) ProtoReflect() protoreflect.Message
- func (x *TendermintBlockInfo) Reset()
- func (x *TendermintBlockInfo) String() string
- type TendermintCommit
- func (*TendermintCommit) Descriptor() ([]byte, []int)deprecated
- func (x *TendermintCommit) GetAggVote() *AggVote
- func (x *TendermintCommit) GetBlockID() *BlockID
- func (x *TendermintCommit) GetPrecommits() []*Vote
- func (*TendermintCommit) ProtoMessage()
- func (x *TendermintCommit) ProtoReflect() protoreflect.Message
- func (x *TendermintCommit) Reset()
- func (x *TendermintCommit) String() string
- type TxSize
- type UnimplementedValnodeServer
- type ValNode
- type ValNodeAction
- func (*ValNodeAction) Descriptor() ([]byte, []int)deprecated
- func (x *ValNodeAction) GetBlockInfo() *TendermintBlockInfo
- func (x *ValNodeAction) GetNode() *ValNode
- func (x *ValNodeAction) GetTy() int32
- func (m *ValNodeAction) GetValue() isValNodeAction_Value
- func (*ValNodeAction) ProtoMessage()
- func (x *ValNodeAction) ProtoReflect() protoreflect.Message
- func (x *ValNodeAction) Reset()
- func (x *ValNodeAction) String() string
- type ValNodeAction_BlockInfo
- type ValNodeAction_Node
- type ValNodeInfo
- func (*ValNodeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ValNodeInfo) GetAccum() int64
- func (x *ValNodeInfo) GetAddress() string
- func (x *ValNodeInfo) GetNodeID() string
- func (x *ValNodeInfo) GetNodeIP() string
- func (x *ValNodeInfo) GetPubKey() string
- func (x *ValNodeInfo) GetVotingPower() int64
- func (*ValNodeInfo) ProtoMessage()
- func (x *ValNodeInfo) ProtoReflect() protoreflect.Message
- func (x *ValNodeInfo) Reset()
- func (x *ValNodeInfo) String() string
- type ValNodeInfoSet
- type ValNodeType
- type ValNodes
- type ValidBlockMsg
- func (*ValidBlockMsg) Descriptor() ([]byte, []int)deprecated
- func (x *ValidBlockMsg) GetBlockhash() []byte
- func (x *ValidBlockMsg) GetHeight() int64
- func (x *ValidBlockMsg) GetIsCommit() bool
- func (x *ValidBlockMsg) GetRound() int32
- func (*ValidBlockMsg) ProtoMessage()
- func (x *ValidBlockMsg) ProtoReflect() protoreflect.Message
- func (x *ValidBlockMsg) Reset()
- func (x *ValidBlockMsg) String() string
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)deprecated
- func (x *Validator) GetAccum() int64
- func (x *Validator) GetAddress() []byte
- func (x *Validator) GetPubKey() []byte
- func (x *Validator) GetVotingPower() int64
- func (*Validator) ProtoMessage()
- func (x *Validator) ProtoReflect() protoreflect.Message
- func (x *Validator) Reset()
- func (x *Validator) String() string
- type ValidatorSet
- func (*ValidatorSet) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorSet) GetProposer() *Validator
- func (x *ValidatorSet) GetValidators() []*Validator
- func (*ValidatorSet) ProtoMessage()
- func (x *ValidatorSet) ProtoReflect() protoreflect.Message
- func (x *ValidatorSet) Reset()
- func (x *ValidatorSet) String() string
- type ValnodeClient
- type ValnodeServer
- type Vote
- func (*Vote) Descriptor() ([]byte, []int)deprecated
- func (x *Vote) GetBlockID() *BlockID
- func (x *Vote) GetHeight() int64
- func (x *Vote) GetRound() int32
- func (x *Vote) GetSignature() []byte
- func (x *Vote) GetTimestamp() int64
- func (x *Vote) GetType() uint32
- func (x *Vote) GetUseAggSig() bool
- func (x *Vote) GetValidatorAddress() []byte
- func (x *Vote) GetValidatorIndex() int32
- func (*Vote) ProtoMessage()
- func (x *Vote) ProtoReflect() protoreflect.Message
- func (x *Vote) Reset()
- func (x *Vote) String() string
- type VoteSetBitsMsg
- func (*VoteSetBitsMsg) Descriptor() ([]byte, []int)deprecated
- func (x *VoteSetBitsMsg) GetBlockID() *BlockID
- func (x *VoteSetBitsMsg) GetHeight() int64
- func (x *VoteSetBitsMsg) GetRound() int32
- func (x *VoteSetBitsMsg) GetType() int32
- func (x *VoteSetBitsMsg) GetVotes() *TendermintBitArray
- func (*VoteSetBitsMsg) ProtoMessage()
- func (x *VoteSetBitsMsg) ProtoReflect() protoreflect.Message
- func (x *VoteSetBitsMsg) Reset()
- func (x *VoteSetBitsMsg) String() string
- type VoteSetMaj23Msg
- func (*VoteSetMaj23Msg) Descriptor() ([]byte, []int)deprecated
- func (x *VoteSetMaj23Msg) GetBlockID() *BlockID
- func (x *VoteSetMaj23Msg) GetHeight() int64
- func (x *VoteSetMaj23Msg) GetRound() int32
- func (x *VoteSetMaj23Msg) GetType() int32
- func (*VoteSetMaj23Msg) ProtoMessage()
- func (x *VoteSetMaj23Msg) ProtoReflect() protoreflect.Message
- func (x *VoteSetMaj23Msg) Reset()
- func (x *VoteSetMaj23Msg) String() string
Constants ¶
const ( ValNodeActionUpdate = 1 ValNodeActionBlockInfo = 2 )
valnode action
const (
ActionNodeUpdate = "NodeUpdate"
)
action name
const ValNodeX = "valnode"
ValNodeX define
Variables ¶
var File_tendermint_proto protoreflect.FileDescriptor
var File_valnode_proto protoreflect.FileDescriptor
Functions ¶
func CreateNodeUpdateTx ¶
func CreateNodeUpdateTx(cfg *types.Chain33Config, parm *NodeUpdateTx) (*types.Transaction, error)
CreateNodeUpdateTx ...
func RegisterValnodeServer ¶
func RegisterValnodeServer(s *grpc.Server, srv ValnodeServer)
Types ¶
type AggVote ¶ added in v1.65.1
type AggVote struct { ValidatorAddress []byte `protobuf:"bytes,1,opt,name=validatorAddress,proto3" json:"validatorAddress,omitempty"` ValidatorArray *TendermintBitArray `protobuf:"bytes,2,opt,name=validatorArray,proto3" json:"validatorArray,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"` // contains filtered or unexported fields }
func (*AggVote) Descriptor
deprecated
added in
v1.65.1
func (*AggVote) GetBlockID ¶ added in v1.65.1
func (*AggVote) GetSignature ¶ added in v1.65.1
func (*AggVote) GetTimestamp ¶ added in v1.65.1
func (*AggVote) GetValidatorAddress ¶ added in v1.65.1
func (*AggVote) GetValidatorArray ¶ added in v1.65.1
func (x *AggVote) GetValidatorArray() *TendermintBitArray
func (*AggVote) ProtoMessage ¶ added in v1.65.1
func (*AggVote) ProtoMessage()
func (*AggVote) ProtoReflect ¶ added in v1.65.3
func (x *AggVote) ProtoReflect() protoreflect.Message
type BlockGossip ¶
type BlockGossip struct { BlockPartSizeBytes int32 `protobuf:"varint,1,opt,name=blockPartSizeBytes,proto3" json:"blockPartSizeBytes,omitempty"` // contains filtered or unexported fields }
func (*BlockGossip) Descriptor
deprecated
func (*BlockGossip) Descriptor() ([]byte, []int)
Deprecated: Use BlockGossip.ProtoReflect.Descriptor instead.
func (*BlockGossip) GetBlockPartSizeBytes ¶
func (x *BlockGossip) GetBlockPartSizeBytes() int32
func (*BlockGossip) ProtoMessage ¶
func (*BlockGossip) ProtoMessage()
func (*BlockGossip) ProtoReflect ¶ added in v1.65.3
func (x *BlockGossip) ProtoReflect() protoreflect.Message
func (*BlockGossip) Reset ¶
func (x *BlockGossip) Reset()
func (*BlockGossip) String ¶
func (x *BlockGossip) String() string
type BlockID ¶
type BlockID struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*BlockID) Descriptor
deprecated
func (*BlockID) ProtoMessage ¶
func (*BlockID) ProtoMessage()
func (*BlockID) ProtoReflect ¶ added in v1.65.3
func (x *BlockID) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*BlockSize) Descriptor
deprecated
func (*BlockSize) GetMaxBytes ¶
func (*BlockSize) ProtoMessage ¶
func (*BlockSize) ProtoMessage()
func (*BlockSize) ProtoReflect ¶ added in v1.65.3
func (x *BlockSize) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*ConsensusParams) Descriptor
deprecated
func (*ConsensusParams) Descriptor() ([]byte, []int)
Deprecated: Use ConsensusParams.ProtoReflect.Descriptor instead.
func (*ConsensusParams) GetBlockGossip ¶
func (x *ConsensusParams) GetBlockGossip() *BlockGossip
func (*ConsensusParams) GetBlockSize ¶
func (x *ConsensusParams) GetBlockSize() *BlockSize
func (*ConsensusParams) GetEvidenceParams ¶
func (x *ConsensusParams) GetEvidenceParams() *EvidenceParams
func (*ConsensusParams) GetTxSize ¶
func (x *ConsensusParams) GetTxSize() *TxSize
func (*ConsensusParams) ProtoMessage ¶
func (*ConsensusParams) ProtoMessage()
func (*ConsensusParams) ProtoReflect ¶ added in v1.65.3
func (x *ConsensusParams) ProtoReflect() protoreflect.Message
func (*ConsensusParams) Reset ¶
func (x *ConsensusParams) Reset()
func (*ConsensusParams) String ¶
func (x *ConsensusParams) String() string
type EvidenceParams ¶
type EvidenceParams struct { MaxAge int64 `protobuf:"varint,1,opt,name=maxAge,proto3" json:"maxAge,omitempty"` // contains filtered or unexported fields }
func (*EvidenceParams) Descriptor
deprecated
func (*EvidenceParams) Descriptor() ([]byte, []int)
Deprecated: Use EvidenceParams.ProtoReflect.Descriptor instead.
func (*EvidenceParams) GetMaxAge ¶
func (x *EvidenceParams) GetMaxAge() int64
func (*EvidenceParams) ProtoMessage ¶
func (*EvidenceParams) ProtoMessage()
func (*EvidenceParams) ProtoReflect ¶ added in v1.65.3
func (x *EvidenceParams) ProtoReflect() protoreflect.Message
func (*EvidenceParams) Reset ¶
func (x *EvidenceParams) Reset()
func (*EvidenceParams) String ¶
func (x *EvidenceParams) String() string
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"` // contains filtered or unexported fields }
func (*HasVoteMsg) Descriptor
deprecated
func (*HasVoteMsg) Descriptor() ([]byte, []int)
Deprecated: Use HasVoteMsg.ProtoReflect.Descriptor instead.
func (*HasVoteMsg) GetHeight ¶
func (x *HasVoteMsg) GetHeight() int64
func (*HasVoteMsg) GetIndex ¶
func (x *HasVoteMsg) GetIndex() int32
func (*HasVoteMsg) GetRound ¶
func (x *HasVoteMsg) GetRound() int32
func (*HasVoteMsg) GetType ¶
func (x *HasVoteMsg) GetType() int32
func (*HasVoteMsg) ProtoMessage ¶
func (*HasVoteMsg) ProtoMessage()
func (*HasVoteMsg) ProtoReflect ¶ added in v1.65.3
func (x *HasVoteMsg) ProtoReflect() protoreflect.Message
func (*HasVoteMsg) Reset ¶
func (x *HasVoteMsg) Reset()
func (*HasVoteMsg) String ¶
func (x *HasVoteMsg) String() string
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"` // contains filtered or unexported fields }
func (*Heartbeat) Descriptor
deprecated
func (*Heartbeat) GetSequence ¶
func (*Heartbeat) GetSignature ¶
func (*Heartbeat) GetValidatorAddress ¶
func (*Heartbeat) GetValidatorIndex ¶
func (*Heartbeat) ProtoMessage ¶
func (*Heartbeat) ProtoMessage()
func (*Heartbeat) ProtoReflect ¶ added in v1.65.3
func (x *Heartbeat) ProtoReflect() protoreflect.Message
type IsHealthy ¶
type IsHealthy struct { IsHealthy bool `protobuf:"varint,1,opt,name=isHealthy,proto3" json:"isHealthy,omitempty"` // contains filtered or unexported fields }
func (*IsHealthy) Descriptor
deprecated
func (*IsHealthy) GetIsHealthy ¶
func (*IsHealthy) ProtoMessage ¶
func (*IsHealthy) ProtoMessage()
func (*IsHealthy) ProtoReflect ¶ added in v1.65.3
func (x *IsHealthy) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*NewRoundStepMsg) Descriptor
deprecated
func (*NewRoundStepMsg) Descriptor() ([]byte, []int)
Deprecated: Use NewRoundStepMsg.ProtoReflect.Descriptor instead.
func (*NewRoundStepMsg) GetHeight ¶
func (x *NewRoundStepMsg) GetHeight() int64
func (*NewRoundStepMsg) GetLastCommitRound ¶
func (x *NewRoundStepMsg) GetLastCommitRound() int32
func (*NewRoundStepMsg) GetRound ¶
func (x *NewRoundStepMsg) GetRound() int32
func (*NewRoundStepMsg) GetSecondsSinceStartTime ¶
func (x *NewRoundStepMsg) GetSecondsSinceStartTime() int32
func (*NewRoundStepMsg) GetStep ¶
func (x *NewRoundStepMsg) GetStep() int32
func (*NewRoundStepMsg) ProtoMessage ¶
func (*NewRoundStepMsg) ProtoMessage()
func (*NewRoundStepMsg) ProtoReflect ¶ added in v1.65.3
func (x *NewRoundStepMsg) ProtoReflect() protoreflect.Message
func (*NewRoundStepMsg) Reset ¶
func (x *NewRoundStepMsg) Reset()
func (*NewRoundStepMsg) String ¶
func (x *NewRoundStepMsg) String() string
type NodeUpdateTx ¶
NodeUpdateTx for construction
type PerfStat ¶ added in v1.65.2
type PerfStat struct { TotalTx int64 `protobuf:"varint,1,opt,name=totalTx,proto3" json:"totalTx,omitempty"` TotalBlock int64 `protobuf:"varint,2,opt,name=totalBlock,proto3" json:"totalBlock,omitempty"` TxPerBlock int64 `protobuf:"varint,3,opt,name=txPerBlock,proto3" json:"txPerBlock,omitempty"` TotalSecond int64 `protobuf:"varint,4,opt,name=totalSecond,proto3" json:"totalSecond,omitempty"` TxPerSecond int64 `protobuf:"varint,5,opt,name=txPerSecond,proto3" json:"txPerSecond,omitempty"` // contains filtered or unexported fields }
func (*PerfStat) Descriptor
deprecated
added in
v1.65.2
func (*PerfStat) GetTotalBlock ¶ added in v1.65.2
func (*PerfStat) GetTotalSecond ¶ added in v1.65.2
func (*PerfStat) GetTotalTx ¶ added in v1.65.2
func (*PerfStat) GetTxPerBlock ¶ added in v1.65.2
func (*PerfStat) GetTxPerSecond ¶ added in v1.65.2
func (*PerfStat) ProtoMessage ¶ added in v1.65.2
func (*PerfStat) ProtoMessage()
func (*PerfStat) ProtoReflect ¶ added in v1.65.3
func (x *PerfStat) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*Proposal) Descriptor
deprecated
func (*Proposal) GetBlockhash ¶
func (*Proposal) GetPOLBlockID ¶
func (*Proposal) GetPOLRound ¶
func (*Proposal) GetSignature ¶
func (*Proposal) GetTimestamp ¶
func (*Proposal) ProtoMessage ¶
func (*Proposal) ProtoMessage()
func (*Proposal) ProtoReflect ¶ added in v1.65.3
func (x *Proposal) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*ProposalPOLMsg) Descriptor
deprecated
func (*ProposalPOLMsg) Descriptor() ([]byte, []int)
Deprecated: Use ProposalPOLMsg.ProtoReflect.Descriptor instead.
func (*ProposalPOLMsg) GetHeight ¶
func (x *ProposalPOLMsg) GetHeight() int64
func (*ProposalPOLMsg) GetProposalPOL ¶
func (x *ProposalPOLMsg) GetProposalPOL() *TendermintBitArray
func (*ProposalPOLMsg) GetProposalPOLRound ¶
func (x *ProposalPOLMsg) GetProposalPOLRound() int32
func (*ProposalPOLMsg) ProtoMessage ¶
func (*ProposalPOLMsg) ProtoMessage()
func (*ProposalPOLMsg) ProtoReflect ¶ added in v1.65.3
func (x *ProposalPOLMsg) ProtoReflect() protoreflect.Message
func (*ProposalPOLMsg) Reset ¶
func (x *ProposalPOLMsg) Reset()
func (*ProposalPOLMsg) String ¶
func (x *ProposalPOLMsg) String() string
type ReqBlockInfo ¶
type ReqBlockInfo struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*ReqBlockInfo) Descriptor
deprecated
func (*ReqBlockInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReqBlockInfo.ProtoReflect.Descriptor instead.
func (*ReqBlockInfo) GetHeight ¶
func (x *ReqBlockInfo) GetHeight() int64
func (*ReqBlockInfo) ProtoMessage ¶
func (*ReqBlockInfo) ProtoMessage()
func (*ReqBlockInfo) ProtoReflect ¶ added in v1.65.3
func (x *ReqBlockInfo) ProtoReflect() protoreflect.Message
func (*ReqBlockInfo) Reset ¶
func (x *ReqBlockInfo) Reset()
func (*ReqBlockInfo) String ¶
func (x *ReqBlockInfo) String() string
type ReqPerfStat ¶ added in v1.65.2
type ReqPerfStat struct { Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
func (*ReqPerfStat) Descriptor
deprecated
added in
v1.65.2
func (*ReqPerfStat) Descriptor() ([]byte, []int)
Deprecated: Use ReqPerfStat.ProtoReflect.Descriptor instead.
func (*ReqPerfStat) GetEnd ¶ added in v1.65.2
func (x *ReqPerfStat) GetEnd() int64
func (*ReqPerfStat) GetStart ¶ added in v1.65.2
func (x *ReqPerfStat) GetStart() int64
func (*ReqPerfStat) ProtoMessage ¶ added in v1.65.2
func (*ReqPerfStat) ProtoMessage()
func (*ReqPerfStat) ProtoReflect ¶ added in v1.65.3
func (x *ReqPerfStat) ProtoReflect() protoreflect.Message
func (*ReqPerfStat) Reset ¶ added in v1.65.2
func (x *ReqPerfStat) Reset()
func (*ReqPerfStat) String ¶ added in v1.65.2
func (x *ReqPerfStat) String() string
type ReqValNodes ¶ added in v1.65.2
type ReqValNodes struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*ReqValNodes) Descriptor
deprecated
added in
v1.65.2
func (*ReqValNodes) Descriptor() ([]byte, []int)
Deprecated: Use ReqValNodes.ProtoReflect.Descriptor instead.
func (*ReqValNodes) GetHeight ¶ added in v1.65.2
func (x *ReqValNodes) GetHeight() int64
func (*ReqValNodes) ProtoMessage ¶ added in v1.65.2
func (*ReqValNodes) ProtoMessage()
func (*ReqValNodes) ProtoReflect ¶ added in v1.65.3
func (x *ReqValNodes) ProtoReflect() protoreflect.Message
func (*ReqValNodes) Reset ¶ added in v1.65.2
func (x *ReqValNodes) Reset()
func (*ReqValNodes) String ¶ added in v1.65.2
func (x *ReqValNodes) String() string
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"` // contains filtered or unexported fields }
func (*State) Descriptor
deprecated
func (*State) GetAppHash ¶
func (*State) GetChainID ¶
func (*State) GetConsensusParams ¶
func (x *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 (x *State) GetLastValidators() *ValidatorSet
func (*State) GetValidators ¶
func (x *State) GetValidators() *ValidatorSet
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (*State) ProtoReflect ¶ added in v1.65.3
func (x *State) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*TendermintBitArray) Descriptor
deprecated
func (*TendermintBitArray) Descriptor() ([]byte, []int)
Deprecated: Use TendermintBitArray.ProtoReflect.Descriptor instead.
func (*TendermintBitArray) GetBits ¶
func (x *TendermintBitArray) GetBits() int32
func (*TendermintBitArray) GetElems ¶
func (x *TendermintBitArray) GetElems() []uint64
func (*TendermintBitArray) ProtoMessage ¶
func (*TendermintBitArray) ProtoMessage()
func (*TendermintBitArray) ProtoReflect ¶ added in v1.65.3
func (x *TendermintBitArray) ProtoReflect() protoreflect.Message
func (*TendermintBitArray) Reset ¶
func (x *TendermintBitArray) Reset()
func (*TendermintBitArray) String ¶
func (x *TendermintBitArray) String() string
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"` // contains filtered or unexported fields }
func (*TendermintBlock) Descriptor
deprecated
func (*TendermintBlock) Descriptor() ([]byte, []int)
Deprecated: Use TendermintBlock.ProtoReflect.Descriptor instead.
func (*TendermintBlock) GetData ¶
func (x *TendermintBlock) GetData() *types.Block
func (*TendermintBlock) GetHeader ¶
func (x *TendermintBlock) GetHeader() *TendermintBlockHeader
func (*TendermintBlock) GetLastCommit ¶
func (x *TendermintBlock) GetLastCommit() *TendermintCommit
func (*TendermintBlock) ProtoMessage ¶
func (*TendermintBlock) ProtoMessage()
func (*TendermintBlock) ProtoReflect ¶ added in v1.65.3
func (x *TendermintBlock) ProtoReflect() protoreflect.Message
func (*TendermintBlock) Reset ¶
func (x *TendermintBlock) Reset()
func (*TendermintBlock) String ¶
func (x *TendermintBlock) String() string
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"` // contains filtered or unexported fields }
func (*TendermintBlockHeader) Descriptor
deprecated
func (*TendermintBlockHeader) Descriptor() ([]byte, []int)
Deprecated: Use TendermintBlockHeader.ProtoReflect.Descriptor instead.
func (*TendermintBlockHeader) GetAppHash ¶
func (x *TendermintBlockHeader) GetAppHash() []byte
func (*TendermintBlockHeader) GetChainID ¶
func (x *TendermintBlockHeader) GetChainID() string
func (*TendermintBlockHeader) GetConsensusHash ¶
func (x *TendermintBlockHeader) GetConsensusHash() []byte
func (*TendermintBlockHeader) GetHeight ¶
func (x *TendermintBlockHeader) GetHeight() int64
func (*TendermintBlockHeader) GetLastBlockID ¶
func (x *TendermintBlockHeader) GetLastBlockID() *BlockID
func (*TendermintBlockHeader) GetLastCommitHash ¶
func (x *TendermintBlockHeader) GetLastCommitHash() []byte
func (*TendermintBlockHeader) GetLastResultsHash ¶
func (x *TendermintBlockHeader) GetLastResultsHash() []byte
func (*TendermintBlockHeader) GetNumTxs ¶
func (x *TendermintBlockHeader) GetNumTxs() int64
func (*TendermintBlockHeader) GetProposerAddr ¶
func (x *TendermintBlockHeader) GetProposerAddr() []byte
func (*TendermintBlockHeader) GetRound ¶
func (x *TendermintBlockHeader) GetRound() int64
func (*TendermintBlockHeader) GetTime ¶
func (x *TendermintBlockHeader) GetTime() int64
func (*TendermintBlockHeader) GetTotalTxs ¶
func (x *TendermintBlockHeader) GetTotalTxs() int64
func (*TendermintBlockHeader) GetValidatorsHash ¶
func (x *TendermintBlockHeader) GetValidatorsHash() []byte
func (*TendermintBlockHeader) ProtoMessage ¶
func (*TendermintBlockHeader) ProtoMessage()
func (*TendermintBlockHeader) ProtoReflect ¶ added in v1.65.3
func (x *TendermintBlockHeader) ProtoReflect() protoreflect.Message
func (*TendermintBlockHeader) Reset ¶
func (x *TendermintBlockHeader) Reset()
func (*TendermintBlockHeader) String ¶
func (x *TendermintBlockHeader) String() string
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"` // contains filtered or unexported fields }
func (*TendermintBlockInfo) Descriptor
deprecated
func (*TendermintBlockInfo) Descriptor() ([]byte, []int)
Deprecated: Use TendermintBlockInfo.ProtoReflect.Descriptor instead.
func (*TendermintBlockInfo) GetBlock ¶
func (x *TendermintBlockInfo) GetBlock() *TendermintBlock
func (*TendermintBlockInfo) GetProposal ¶
func (x *TendermintBlockInfo) GetProposal() *Proposal
func (*TendermintBlockInfo) GetState ¶
func (x *TendermintBlockInfo) GetState() *State
func (*TendermintBlockInfo) ProtoMessage ¶
func (*TendermintBlockInfo) ProtoMessage()
func (*TendermintBlockInfo) ProtoReflect ¶ added in v1.65.3
func (x *TendermintBlockInfo) ProtoReflect() protoreflect.Message
func (*TendermintBlockInfo) Reset ¶
func (x *TendermintBlockInfo) Reset()
func (*TendermintBlockInfo) String ¶
func (x *TendermintBlockInfo) String() string
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"` AggVote *AggVote `protobuf:"bytes,3,opt,name=aggVote,proto3" json:"aggVote,omitempty"` // contains filtered or unexported fields }
func (*TendermintCommit) Descriptor
deprecated
func (*TendermintCommit) Descriptor() ([]byte, []int)
Deprecated: Use TendermintCommit.ProtoReflect.Descriptor instead.
func (*TendermintCommit) GetAggVote ¶ added in v1.65.1
func (x *TendermintCommit) GetAggVote() *AggVote
func (*TendermintCommit) GetBlockID ¶
func (x *TendermintCommit) GetBlockID() *BlockID
func (*TendermintCommit) GetPrecommits ¶
func (x *TendermintCommit) GetPrecommits() []*Vote
func (*TendermintCommit) ProtoMessage ¶
func (*TendermintCommit) ProtoMessage()
func (*TendermintCommit) ProtoReflect ¶ added in v1.65.3
func (x *TendermintCommit) ProtoReflect() protoreflect.Message
func (*TendermintCommit) Reset ¶
func (x *TendermintCommit) Reset()
func (*TendermintCommit) String ¶
func (x *TendermintCommit) String() string
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"` // contains filtered or unexported fields }
func (*TxSize) Descriptor
deprecated
func (*TxSize) GetMaxBytes ¶
func (*TxSize) ProtoMessage ¶
func (*TxSize) ProtoMessage()
func (*TxSize) ProtoReflect ¶ added in v1.65.3
func (x *TxSize) ProtoReflect() protoreflect.Message
type UnimplementedValnodeServer ¶
type UnimplementedValnodeServer struct { }
UnimplementedValnodeServer can be embedded to have forward compatible implementations.
func (*UnimplementedValnodeServer) GetNodeInfo ¶
func (*UnimplementedValnodeServer) GetNodeInfo(context.Context, *types.ReqNil) (*ValNodeInfoSet, 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"` // contains filtered or unexported fields }
func (*ValNode) Descriptor
deprecated
func (*ValNode) ProtoMessage ¶
func (*ValNode) ProtoMessage()
func (*ValNode) ProtoReflect ¶ added in v1.65.3
func (x *ValNode) ProtoReflect() protoreflect.Message
type ValNodeAction ¶
type ValNodeAction struct { // Types that are assignable to Value: // *ValNodeAction_Node // *ValNodeAction_BlockInfo Value isValNodeAction_Value `protobuf_oneof:"value"` Ty int32 `protobuf:"varint,3,opt,name=Ty,proto3" json:"Ty,omitempty"` // contains filtered or unexported fields }
func (*ValNodeAction) Descriptor
deprecated
func (*ValNodeAction) Descriptor() ([]byte, []int)
Deprecated: Use ValNodeAction.ProtoReflect.Descriptor instead.
func (*ValNodeAction) GetBlockInfo ¶
func (x *ValNodeAction) GetBlockInfo() *TendermintBlockInfo
func (*ValNodeAction) GetNode ¶
func (x *ValNodeAction) GetNode() *ValNode
func (*ValNodeAction) GetTy ¶
func (x *ValNodeAction) GetTy() int32
func (*ValNodeAction) GetValue ¶
func (m *ValNodeAction) GetValue() isValNodeAction_Value
func (*ValNodeAction) ProtoMessage ¶
func (*ValNodeAction) ProtoMessage()
func (*ValNodeAction) ProtoReflect ¶ added in v1.65.3
func (x *ValNodeAction) ProtoReflect() protoreflect.Message
func (*ValNodeAction) Reset ¶
func (x *ValNodeAction) Reset()
func (*ValNodeAction) String ¶
func (x *ValNodeAction) String() string
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 ValNodeInfo ¶ added in v1.65.2
type ValNodeInfo struct { NodeIP string `protobuf:"bytes,1,opt,name=nodeIP,proto3" json:"nodeIP,omitempty"` NodeID string `protobuf:"bytes,2,opt,name=nodeID,proto3" json:"nodeID,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` PubKey string `protobuf:"bytes,4,opt,name=pubKey,proto3" json:"pubKey,omitempty"` VotingPower int64 `protobuf:"varint,5,opt,name=votingPower,proto3" json:"votingPower,omitempty"` Accum int64 `protobuf:"varint,6,opt,name=accum,proto3" json:"accum,omitempty"` // contains filtered or unexported fields }
func (*ValNodeInfo) Descriptor
deprecated
added in
v1.65.2
func (*ValNodeInfo) Descriptor() ([]byte, []int)
Deprecated: Use ValNodeInfo.ProtoReflect.Descriptor instead.
func (*ValNodeInfo) GetAccum ¶ added in v1.65.2
func (x *ValNodeInfo) GetAccum() int64
func (*ValNodeInfo) GetAddress ¶ added in v1.65.2
func (x *ValNodeInfo) GetAddress() string
func (*ValNodeInfo) GetNodeID ¶ added in v1.65.2
func (x *ValNodeInfo) GetNodeID() string
func (*ValNodeInfo) GetNodeIP ¶ added in v1.65.2
func (x *ValNodeInfo) GetNodeIP() string
func (*ValNodeInfo) GetPubKey ¶ added in v1.65.2
func (x *ValNodeInfo) GetPubKey() string
func (*ValNodeInfo) GetVotingPower ¶ added in v1.65.2
func (x *ValNodeInfo) GetVotingPower() int64
func (*ValNodeInfo) ProtoMessage ¶ added in v1.65.2
func (*ValNodeInfo) ProtoMessage()
func (*ValNodeInfo) ProtoReflect ¶ added in v1.65.3
func (x *ValNodeInfo) ProtoReflect() protoreflect.Message
func (*ValNodeInfo) Reset ¶ added in v1.65.2
func (x *ValNodeInfo) Reset()
func (*ValNodeInfo) String ¶ added in v1.65.2
func (x *ValNodeInfo) String() string
type ValNodeInfoSet ¶ added in v1.65.2
type ValNodeInfoSet struct { Nodes []*ValNodeInfo `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
func (*ValNodeInfoSet) Descriptor
deprecated
added in
v1.65.2
func (*ValNodeInfoSet) Descriptor() ([]byte, []int)
Deprecated: Use ValNodeInfoSet.ProtoReflect.Descriptor instead.
func (*ValNodeInfoSet) GetNodes ¶ added in v1.65.2
func (x *ValNodeInfoSet) GetNodes() []*ValNodeInfo
func (*ValNodeInfoSet) ProtoMessage ¶ added in v1.65.2
func (*ValNodeInfoSet) ProtoMessage()
func (*ValNodeInfoSet) ProtoReflect ¶ added in v1.65.3
func (x *ValNodeInfoSet) ProtoReflect() protoreflect.Message
func (*ValNodeInfoSet) Reset ¶ added in v1.65.2
func (x *ValNodeInfoSet) Reset()
func (*ValNodeInfoSet) String ¶ added in v1.65.2
func (x *ValNodeInfoSet) String() string
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"` // contains filtered or unexported fields }
func (*ValNodes) Descriptor
deprecated
func (*ValNodes) ProtoMessage ¶
func (*ValNodes) ProtoMessage()
func (*ValNodes) ProtoReflect ¶ added in v1.65.3
func (x *ValNodes) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*ValidBlockMsg) Descriptor
deprecated
func (*ValidBlockMsg) Descriptor() ([]byte, []int)
Deprecated: Use ValidBlockMsg.ProtoReflect.Descriptor instead.
func (*ValidBlockMsg) GetBlockhash ¶
func (x *ValidBlockMsg) GetBlockhash() []byte
func (*ValidBlockMsg) GetHeight ¶
func (x *ValidBlockMsg) GetHeight() int64
func (*ValidBlockMsg) GetIsCommit ¶
func (x *ValidBlockMsg) GetIsCommit() bool
func (*ValidBlockMsg) GetRound ¶
func (x *ValidBlockMsg) GetRound() int32
func (*ValidBlockMsg) ProtoMessage ¶
func (*ValidBlockMsg) ProtoMessage()
func (*ValidBlockMsg) ProtoReflect ¶ added in v1.65.3
func (x *ValidBlockMsg) ProtoReflect() protoreflect.Message
func (*ValidBlockMsg) Reset ¶
func (x *ValidBlockMsg) Reset()
func (*ValidBlockMsg) String ¶
func (x *ValidBlockMsg) String() string
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"` // contains filtered or unexported fields }
func (*Validator) Descriptor
deprecated
func (*Validator) GetAddress ¶
func (*Validator) GetVotingPower ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) ProtoReflect ¶ added in v1.65.3
func (x *Validator) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*ValidatorSet) Descriptor
deprecated
func (*ValidatorSet) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorSet.ProtoReflect.Descriptor instead.
func (*ValidatorSet) GetProposer ¶
func (x *ValidatorSet) GetProposer() *Validator
func (*ValidatorSet) GetValidators ¶
func (x *ValidatorSet) GetValidators() []*Validator
func (*ValidatorSet) ProtoMessage ¶
func (*ValidatorSet) ProtoMessage()
func (*ValidatorSet) ProtoReflect ¶ added in v1.65.3
func (x *ValidatorSet) ProtoReflect() protoreflect.Message
func (*ValidatorSet) Reset ¶
func (x *ValidatorSet) Reset()
func (*ValidatorSet) String ¶
func (x *ValidatorSet) String() string
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) (*ValNodeInfoSet, 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) (*ValNodeInfoSet, 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"` UseAggSig bool `protobuf:"varint,9,opt,name=useAggSig,proto3" json:"useAggSig,omitempty"` // contains filtered or unexported fields }
func (*Vote) Descriptor
deprecated
func (*Vote) GetBlockID ¶
func (*Vote) GetSignature ¶
func (*Vote) GetTimestamp ¶
func (*Vote) GetUseAggSig ¶ added in v1.65.1
func (*Vote) GetValidatorAddress ¶
func (*Vote) GetValidatorIndex ¶
func (*Vote) ProtoMessage ¶
func (*Vote) ProtoMessage()
func (*Vote) ProtoReflect ¶ added in v1.65.3
func (x *Vote) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*VoteSetBitsMsg) Descriptor
deprecated
func (*VoteSetBitsMsg) Descriptor() ([]byte, []int)
Deprecated: Use VoteSetBitsMsg.ProtoReflect.Descriptor instead.
func (*VoteSetBitsMsg) GetBlockID ¶
func (x *VoteSetBitsMsg) GetBlockID() *BlockID
func (*VoteSetBitsMsg) GetHeight ¶
func (x *VoteSetBitsMsg) GetHeight() int64
func (*VoteSetBitsMsg) GetRound ¶
func (x *VoteSetBitsMsg) GetRound() int32
func (*VoteSetBitsMsg) GetType ¶
func (x *VoteSetBitsMsg) GetType() int32
func (*VoteSetBitsMsg) GetVotes ¶
func (x *VoteSetBitsMsg) GetVotes() *TendermintBitArray
func (*VoteSetBitsMsg) ProtoMessage ¶
func (*VoteSetBitsMsg) ProtoMessage()
func (*VoteSetBitsMsg) ProtoReflect ¶ added in v1.65.3
func (x *VoteSetBitsMsg) ProtoReflect() protoreflect.Message
func (*VoteSetBitsMsg) Reset ¶
func (x *VoteSetBitsMsg) Reset()
func (*VoteSetBitsMsg) String ¶
func (x *VoteSetBitsMsg) String() string
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"` // contains filtered or unexported fields }
func (*VoteSetMaj23Msg) Descriptor
deprecated
func (*VoteSetMaj23Msg) Descriptor() ([]byte, []int)
Deprecated: Use VoteSetMaj23Msg.ProtoReflect.Descriptor instead.
func (*VoteSetMaj23Msg) GetBlockID ¶
func (x *VoteSetMaj23Msg) GetBlockID() *BlockID
func (*VoteSetMaj23Msg) GetHeight ¶
func (x *VoteSetMaj23Msg) GetHeight() int64
func (*VoteSetMaj23Msg) GetRound ¶
func (x *VoteSetMaj23Msg) GetRound() int32
func (*VoteSetMaj23Msg) GetType ¶
func (x *VoteSetMaj23Msg) GetType() int32
func (*VoteSetMaj23Msg) ProtoMessage ¶
func (*VoteSetMaj23Msg) ProtoMessage()
func (*VoteSetMaj23Msg) ProtoReflect ¶ added in v1.65.3
func (x *VoteSetMaj23Msg) ProtoReflect() protoreflect.Message
func (*VoteSetMaj23Msg) Reset ¶
func (x *VoteSetMaj23Msg) Reset()
func (*VoteSetMaj23Msg) String ¶
func (x *VoteSetMaj23Msg) String() string