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 RegisterQbftNodeServer(s *grpc.Server, srv QbftNodeServer)
- type NodeUpdateTx
- type QbftAggVote
- func (*QbftAggVote) Descriptor() ([]byte, []int)deprecated
- func (x *QbftAggVote) GetBlockID() *QbftBlockID
- func (x *QbftAggVote) GetHeight() int64
- func (x *QbftAggVote) GetRound() int32
- func (x *QbftAggVote) GetSignature() []byte
- func (x *QbftAggVote) GetTimestamp() int64
- func (x *QbftAggVote) GetType() uint32
- func (x *QbftAggVote) GetValidatorAddress() []byte
- func (x *QbftAggVote) GetValidatorArray() *QbftBitArray
- func (*QbftAggVote) ProtoMessage()
- func (x *QbftAggVote) ProtoReflect() protoreflect.Message
- func (x *QbftAggVote) Reset()
- func (x *QbftAggVote) String() string
- type QbftBitArray
- func (*QbftBitArray) Descriptor() ([]byte, []int)deprecated
- func (x *QbftBitArray) GetBits() int32
- func (x *QbftBitArray) GetElems() []uint64
- func (*QbftBitArray) ProtoMessage()
- func (x *QbftBitArray) ProtoReflect() protoreflect.Message
- func (x *QbftBitArray) Reset()
- func (x *QbftBitArray) String() string
- type QbftBlock
- func (*QbftBlock) Descriptor() ([]byte, []int)deprecated
- func (x *QbftBlock) GetData() *types.Block
- func (x *QbftBlock) GetHeader() *QbftBlockHeader
- func (x *QbftBlock) GetLastCommit() *QbftCommit
- func (*QbftBlock) ProtoMessage()
- func (x *QbftBlock) ProtoReflect() protoreflect.Message
- func (x *QbftBlock) Reset()
- func (x *QbftBlock) String() string
- type QbftBlockGossip
- type QbftBlockHeader
- func (*QbftBlockHeader) Descriptor() ([]byte, []int)deprecated
- func (x *QbftBlockHeader) GetAppHash() []byte
- func (x *QbftBlockHeader) GetChainID() string
- func (x *QbftBlockHeader) GetConsensusHash() []byte
- func (x *QbftBlockHeader) GetHeight() int64
- func (x *QbftBlockHeader) GetLastBlockID() *QbftBlockID
- func (x *QbftBlockHeader) GetLastCommitHash() []byte
- func (x *QbftBlockHeader) GetLastResultsHash() []byte
- func (x *QbftBlockHeader) GetLastSequence() int64
- func (x *QbftBlockHeader) GetNumTxs() int64
- func (x *QbftBlockHeader) GetProposerAddr() []byte
- func (x *QbftBlockHeader) GetRound() int64
- func (x *QbftBlockHeader) GetSequence() int64
- func (x *QbftBlockHeader) GetTime() int64
- func (x *QbftBlockHeader) GetTotalTxs() int64
- func (x *QbftBlockHeader) GetValidatorsHash() []byte
- func (*QbftBlockHeader) ProtoMessage()
- func (x *QbftBlockHeader) ProtoReflect() protoreflect.Message
- func (x *QbftBlockHeader) Reset()
- func (x *QbftBlockHeader) String() string
- type QbftBlockID
- type QbftBlockInfo
- func (*QbftBlockInfo) Descriptor() ([]byte, []int)deprecated
- func (x *QbftBlockInfo) GetBlock() *QbftBlock
- func (x *QbftBlockInfo) GetProposal() *QbftProposal
- func (x *QbftBlockInfo) GetState() *QbftState
- func (*QbftBlockInfo) ProtoMessage()
- func (x *QbftBlockInfo) ProtoReflect() protoreflect.Message
- func (x *QbftBlockInfo) Reset()
- func (x *QbftBlockInfo) String() string
- type QbftBlockSize
- func (*QbftBlockSize) Descriptor() ([]byte, []int)deprecated
- func (x *QbftBlockSize) GetMaxBytes() int32
- func (x *QbftBlockSize) GetMaxGas() int64
- func (x *QbftBlockSize) GetMaxTxs() int32
- func (*QbftBlockSize) ProtoMessage()
- func (x *QbftBlockSize) ProtoReflect() protoreflect.Message
- func (x *QbftBlockSize) Reset()
- func (x *QbftBlockSize) String() string
- type QbftCommit
- func (*QbftCommit) Descriptor() ([]byte, []int)deprecated
- func (x *QbftCommit) GetAggVote() *QbftAggVote
- func (x *QbftCommit) GetBlockID() *QbftBlockID
- func (x *QbftCommit) GetPrecommits() []*QbftVote
- func (x *QbftCommit) GetPrevotes() []*QbftVote
- func (x *QbftCommit) GetVoteType() uint32
- func (*QbftCommit) ProtoMessage()
- func (x *QbftCommit) ProtoReflect() protoreflect.Message
- func (x *QbftCommit) Reset()
- func (x *QbftCommit) String() string
- type QbftConsensusParams
- func (*QbftConsensusParams) Descriptor() ([]byte, []int)deprecated
- func (x *QbftConsensusParams) GetBlockGossip() *QbftBlockGossip
- func (x *QbftConsensusParams) GetBlockSize() *QbftBlockSize
- func (x *QbftConsensusParams) GetEvidenceParams() *QbftEvidenceParams
- func (x *QbftConsensusParams) GetTxSize() *QbftTxSize
- func (*QbftConsensusParams) ProtoMessage()
- func (x *QbftConsensusParams) ProtoReflect() protoreflect.Message
- func (x *QbftConsensusParams) Reset()
- func (x *QbftConsensusParams) String() string
- type QbftEvidenceParams
- func (*QbftEvidenceParams) Descriptor() ([]byte, []int)deprecated
- func (x *QbftEvidenceParams) GetMaxAge() int64
- func (*QbftEvidenceParams) ProtoMessage()
- func (x *QbftEvidenceParams) ProtoReflect() protoreflect.Message
- func (x *QbftEvidenceParams) Reset()
- func (x *QbftEvidenceParams) String() string
- type QbftHasVoteMsg
- func (*QbftHasVoteMsg) Descriptor() ([]byte, []int)deprecated
- func (x *QbftHasVoteMsg) GetHeight() int64
- func (x *QbftHasVoteMsg) GetIndex() int32
- func (x *QbftHasVoteMsg) GetRound() int32
- func (x *QbftHasVoteMsg) GetType() int32
- func (*QbftHasVoteMsg) ProtoMessage()
- func (x *QbftHasVoteMsg) ProtoReflect() protoreflect.Message
- func (x *QbftHasVoteMsg) Reset()
- func (x *QbftHasVoteMsg) String() string
- type QbftHeartbeat
- func (*QbftHeartbeat) Descriptor() ([]byte, []int)deprecated
- func (x *QbftHeartbeat) GetHeight() int64
- func (x *QbftHeartbeat) GetRound() int32
- func (x *QbftHeartbeat) GetSequence() int32
- func (x *QbftHeartbeat) GetSignature() []byte
- func (x *QbftHeartbeat) GetValidatorAddress() []byte
- func (x *QbftHeartbeat) GetValidatorIndex() int32
- func (*QbftHeartbeat) ProtoMessage()
- func (x *QbftHeartbeat) ProtoReflect() protoreflect.Message
- func (x *QbftHeartbeat) Reset()
- func (x *QbftHeartbeat) String() string
- type QbftIsHealthy
- type QbftNewRoundStepMsg
- func (*QbftNewRoundStepMsg) Descriptor() ([]byte, []int)deprecated
- func (x *QbftNewRoundStepMsg) GetHeight() int64
- func (x *QbftNewRoundStepMsg) GetLastCommitRound() int32
- func (x *QbftNewRoundStepMsg) GetRound() int32
- func (x *QbftNewRoundStepMsg) GetSecondsSinceStartTime() int32
- func (x *QbftNewRoundStepMsg) GetStep() int32
- func (*QbftNewRoundStepMsg) ProtoMessage()
- func (x *QbftNewRoundStepMsg) ProtoReflect() protoreflect.Message
- func (x *QbftNewRoundStepMsg) Reset()
- func (x *QbftNewRoundStepMsg) String() string
- type QbftNode
- type QbftNodeAction
- func (*QbftNodeAction) Descriptor() ([]byte, []int)deprecated
- func (x *QbftNodeAction) GetBlockInfo() *QbftBlockInfo
- func (x *QbftNodeAction) GetNode() *QbftNode
- func (x *QbftNodeAction) GetTy() int32
- func (m *QbftNodeAction) GetValue() isQbftNodeAction_Value
- func (*QbftNodeAction) ProtoMessage()
- func (x *QbftNodeAction) ProtoReflect() protoreflect.Message
- func (x *QbftNodeAction) Reset()
- func (x *QbftNodeAction) String() string
- type QbftNodeAction_BlockInfo
- type QbftNodeAction_Node
- type QbftNodeClient
- type QbftNodeInfo
- func (*QbftNodeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *QbftNodeInfo) GetAccum() int64
- func (x *QbftNodeInfo) GetAddress() string
- func (x *QbftNodeInfo) GetNodeID() string
- func (x *QbftNodeInfo) GetNodeIP() string
- func (x *QbftNodeInfo) GetPubKey() string
- func (x *QbftNodeInfo) GetVotingPower() int64
- func (*QbftNodeInfo) ProtoMessage()
- func (x *QbftNodeInfo) ProtoReflect() protoreflect.Message
- func (x *QbftNodeInfo) Reset()
- func (x *QbftNodeInfo) String() string
- type QbftNodeInfoSet
- type QbftNodeServer
- type QbftNodeType
- func (t *QbftNodeType) CreateTx(action string, message json.RawMessage) (*types.Transaction, error)
- func (t *QbftNodeType) GetLogMap() map[int64]*types.LogInfo
- func (t *QbftNodeType) GetName() string
- func (t *QbftNodeType) GetPayload() types.Message
- func (t *QbftNodeType) GetTypeMap() map[string]int32
- type QbftNodes
- type QbftPerfStat
- func (*QbftPerfStat) Descriptor() ([]byte, []int)deprecated
- func (x *QbftPerfStat) GetTotalBlock() int64
- func (x *QbftPerfStat) GetTotalSecond() int64
- func (x *QbftPerfStat) GetTotalTx() int64
- func (x *QbftPerfStat) GetTxPerBlock() int64
- func (x *QbftPerfStat) GetTxPerSecond() int64
- func (*QbftPerfStat) ProtoMessage()
- func (x *QbftPerfStat) ProtoReflect() protoreflect.Message
- func (x *QbftPerfStat) Reset()
- func (x *QbftPerfStat) String() string
- type QbftProposal
- func (*QbftProposal) Descriptor() ([]byte, []int)deprecated
- func (x *QbftProposal) GetBlockhash() []byte
- func (x *QbftProposal) GetHeight() int64
- func (x *QbftProposal) GetPOLBlockID() *QbftBlockID
- func (x *QbftProposal) GetPOLRound() int32
- func (x *QbftProposal) GetRound() int32
- func (x *QbftProposal) GetSequence() int64
- func (x *QbftProposal) GetSignature() []byte
- func (x *QbftProposal) GetTimestamp() int64
- func (*QbftProposal) ProtoMessage()
- func (x *QbftProposal) ProtoReflect() protoreflect.Message
- func (x *QbftProposal) Reset()
- func (x *QbftProposal) String() string
- type QbftProposalPOLMsg
- func (*QbftProposalPOLMsg) Descriptor() ([]byte, []int)deprecated
- func (x *QbftProposalPOLMsg) GetHeight() int64
- func (x *QbftProposalPOLMsg) GetProposalPOL() *QbftBitArray
- func (x *QbftProposalPOLMsg) GetProposalPOLRound() int32
- func (*QbftProposalPOLMsg) ProtoMessage()
- func (x *QbftProposalPOLMsg) ProtoReflect() protoreflect.Message
- func (x *QbftProposalPOLMsg) Reset()
- func (x *QbftProposalPOLMsg) String() string
- type QbftState
- func (*QbftState) Descriptor() ([]byte, []int)deprecated
- func (x *QbftState) GetAppHash() []byte
- func (x *QbftState) GetChainID() string
- func (x *QbftState) GetConsensusParams() *QbftConsensusParams
- func (x *QbftState) GetLastBlockHeight() int64
- func (x *QbftState) GetLastBlockID() *QbftBlockID
- func (x *QbftState) GetLastBlockTime() int64
- func (x *QbftState) GetLastBlockTotalTx() int64
- func (x *QbftState) GetLastCommitRound() int64
- func (x *QbftState) GetLastHeightConsensusParamsChanged() int64
- func (x *QbftState) GetLastHeightValidatorsChanged() int64
- func (x *QbftState) GetLastResultsHash() []byte
- func (x *QbftState) GetLastSequence() int64
- func (x *QbftState) GetLastValidators() *QbftValidatorSet
- func (x *QbftState) GetSequence() int64
- func (x *QbftState) GetValidators() *QbftValidatorSet
- func (*QbftState) ProtoMessage()
- func (x *QbftState) ProtoReflect() protoreflect.Message
- func (x *QbftState) Reset()
- func (x *QbftState) String() string
- type QbftTxSize
- type QbftValidBlockMsg
- func (*QbftValidBlockMsg) Descriptor() ([]byte, []int)deprecated
- func (x *QbftValidBlockMsg) GetBlockhash() []byte
- func (x *QbftValidBlockMsg) GetHeight() int64
- func (x *QbftValidBlockMsg) GetIsCommit() bool
- func (x *QbftValidBlockMsg) GetRound() int32
- func (*QbftValidBlockMsg) ProtoMessage()
- func (x *QbftValidBlockMsg) ProtoReflect() protoreflect.Message
- func (x *QbftValidBlockMsg) Reset()
- func (x *QbftValidBlockMsg) String() string
- type QbftValidator
- func (*QbftValidator) Descriptor() ([]byte, []int)deprecated
- func (x *QbftValidator) GetAccum() int64
- func (x *QbftValidator) GetAddress() string
- func (x *QbftValidator) GetPubKey() string
- func (x *QbftValidator) GetVotingPower() int64
- func (*QbftValidator) ProtoMessage()
- func (x *QbftValidator) ProtoReflect() protoreflect.Message
- func (x *QbftValidator) Reset()
- func (x *QbftValidator) String() string
- type QbftValidatorSet
- func (*QbftValidatorSet) Descriptor() ([]byte, []int)deprecated
- func (x *QbftValidatorSet) GetProposer() *QbftValidator
- func (x *QbftValidatorSet) GetValidators() []*QbftValidator
- func (*QbftValidatorSet) ProtoMessage()
- func (x *QbftValidatorSet) ProtoReflect() protoreflect.Message
- func (x *QbftValidatorSet) Reset()
- func (x *QbftValidatorSet) String() string
- type QbftVote
- func (*QbftVote) Descriptor() ([]byte, []int)deprecated
- func (x *QbftVote) GetBlockID() *QbftBlockID
- func (x *QbftVote) GetHeight() int64
- func (x *QbftVote) GetRound() int32
- func (x *QbftVote) GetSignature() []byte
- func (x *QbftVote) GetTimestamp() int64
- func (x *QbftVote) GetType() uint32
- func (x *QbftVote) GetUseAggSig() bool
- func (x *QbftVote) GetValidatorAddress() []byte
- func (x *QbftVote) GetValidatorIndex() int32
- func (*QbftVote) ProtoMessage()
- func (x *QbftVote) ProtoReflect() protoreflect.Message
- func (x *QbftVote) Reset()
- func (x *QbftVote) String() string
- type QbftVoteSetBitsMsg
- func (*QbftVoteSetBitsMsg) Descriptor() ([]byte, []int)deprecated
- func (x *QbftVoteSetBitsMsg) GetBlockID() *QbftBlockID
- func (x *QbftVoteSetBitsMsg) GetHeight() int64
- func (x *QbftVoteSetBitsMsg) GetRound() int32
- func (x *QbftVoteSetBitsMsg) GetType() int32
- func (x *QbftVoteSetBitsMsg) GetVotes() *QbftBitArray
- func (*QbftVoteSetBitsMsg) ProtoMessage()
- func (x *QbftVoteSetBitsMsg) ProtoReflect() protoreflect.Message
- func (x *QbftVoteSetBitsMsg) Reset()
- func (x *QbftVoteSetBitsMsg) String() string
- type QbftVoteSetMaj23Msg
- func (*QbftVoteSetMaj23Msg) Descriptor() ([]byte, []int)deprecated
- func (x *QbftVoteSetMaj23Msg) GetBlockID() *QbftBlockID
- func (x *QbftVoteSetMaj23Msg) GetHeight() int64
- func (x *QbftVoteSetMaj23Msg) GetRound() int32
- func (x *QbftVoteSetMaj23Msg) GetType() int32
- func (*QbftVoteSetMaj23Msg) ProtoMessage()
- func (x *QbftVoteSetMaj23Msg) ProtoReflect() protoreflect.Message
- func (x *QbftVoteSetMaj23Msg) Reset()
- func (x *QbftVoteSetMaj23Msg) String() string
- type ReqQbftBlockInfo
- type ReqQbftNodes
- type ReqQbftPerfStat
- func (*ReqQbftPerfStat) Descriptor() ([]byte, []int)deprecated
- func (x *ReqQbftPerfStat) GetEnd() int64
- func (x *ReqQbftPerfStat) GetStart() int64
- func (*ReqQbftPerfStat) ProtoMessage()
- func (x *ReqQbftPerfStat) ProtoReflect() protoreflect.Message
- func (x *ReqQbftPerfStat) Reset()
- func (x *ReqQbftPerfStat) String() string
- type UnimplementedQbftNodeServer
Constants ¶
const ( QbftNodeActionUpdate = 1 QbftNodeActionBlockInfo = 2 )
qbftNode action
const (
ActionNodeUpdate = "NodeUpdate"
)
action name
const QbftNodeX = "qbftNode"
QbftNodeX define
Variables ¶
var File_qbftNode_proto protoreflect.FileDescriptor
var File_qbft_proto protoreflect.FileDescriptor
Functions ¶
func CreateNodeUpdateTx ¶
func CreateNodeUpdateTx(cfg *types.Chain33Config, parm *NodeUpdateTx) (*types.Transaction, error)
CreateNodeUpdateTx ...
func RegisterQbftNodeServer ¶
func RegisterQbftNodeServer(s *grpc.Server, srv QbftNodeServer)
Types ¶
type NodeUpdateTx ¶
NodeUpdateTx for construction
type QbftAggVote ¶
type QbftAggVote struct {
ValidatorAddress []byte `protobuf:"bytes,1,opt,name=validatorAddress,proto3" json:"validatorAddress,omitempty"`
ValidatorArray *QbftBitArray `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 *QbftBlockID `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 (*QbftAggVote) Descriptor
deprecated
func (*QbftAggVote) Descriptor() ([]byte, []int)
Deprecated: Use QbftAggVote.ProtoReflect.Descriptor instead.
func (*QbftAggVote) GetBlockID ¶
func (x *QbftAggVote) GetBlockID() *QbftBlockID
func (*QbftAggVote) GetHeight ¶
func (x *QbftAggVote) GetHeight() int64
func (*QbftAggVote) GetRound ¶
func (x *QbftAggVote) GetRound() int32
func (*QbftAggVote) GetSignature ¶
func (x *QbftAggVote) GetSignature() []byte
func (*QbftAggVote) GetTimestamp ¶
func (x *QbftAggVote) GetTimestamp() int64
func (*QbftAggVote) GetType ¶
func (x *QbftAggVote) GetType() uint32
func (*QbftAggVote) GetValidatorAddress ¶
func (x *QbftAggVote) GetValidatorAddress() []byte
func (*QbftAggVote) GetValidatorArray ¶
func (x *QbftAggVote) GetValidatorArray() *QbftBitArray
func (*QbftAggVote) ProtoMessage ¶
func (*QbftAggVote) ProtoMessage()
func (*QbftAggVote) ProtoReflect ¶
func (x *QbftAggVote) ProtoReflect() protoreflect.Message
func (*QbftAggVote) Reset ¶
func (x *QbftAggVote) Reset()
func (*QbftAggVote) String ¶
func (x *QbftAggVote) String() string
type QbftBitArray ¶
type QbftBitArray 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 (*QbftBitArray) Descriptor
deprecated
func (*QbftBitArray) Descriptor() ([]byte, []int)
Deprecated: Use QbftBitArray.ProtoReflect.Descriptor instead.
func (*QbftBitArray) GetBits ¶
func (x *QbftBitArray) GetBits() int32
func (*QbftBitArray) GetElems ¶
func (x *QbftBitArray) GetElems() []uint64
func (*QbftBitArray) ProtoMessage ¶
func (*QbftBitArray) ProtoMessage()
func (*QbftBitArray) ProtoReflect ¶
func (x *QbftBitArray) ProtoReflect() protoreflect.Message
func (*QbftBitArray) Reset ¶
func (x *QbftBitArray) Reset()
func (*QbftBitArray) String ¶
func (x *QbftBitArray) String() string
type QbftBlock ¶
type QbftBlock struct {
Header *QbftBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Data *types.Block `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
LastCommit *QbftCommit `protobuf:"bytes,4,opt,name=lastCommit,proto3" json:"lastCommit,omitempty"`
// contains filtered or unexported fields
}
func (*QbftBlock) Descriptor
deprecated
func (*QbftBlock) GetHeader ¶
func (x *QbftBlock) GetHeader() *QbftBlockHeader
func (*QbftBlock) GetLastCommit ¶
func (x *QbftBlock) GetLastCommit() *QbftCommit
func (*QbftBlock) ProtoMessage ¶
func (*QbftBlock) ProtoMessage()
func (*QbftBlock) ProtoReflect ¶
func (x *QbftBlock) ProtoReflect() protoreflect.Message
type QbftBlockGossip ¶
type QbftBlockGossip struct {
BlockPartSizeBytes int32 `protobuf:"varint,1,opt,name=blockPartSizeBytes,proto3" json:"blockPartSizeBytes,omitempty"`
// contains filtered or unexported fields
}
func (*QbftBlockGossip) Descriptor
deprecated
func (*QbftBlockGossip) Descriptor() ([]byte, []int)
Deprecated: Use QbftBlockGossip.ProtoReflect.Descriptor instead.
func (*QbftBlockGossip) GetBlockPartSizeBytes ¶
func (x *QbftBlockGossip) GetBlockPartSizeBytes() int32
func (*QbftBlockGossip) ProtoMessage ¶
func (*QbftBlockGossip) ProtoMessage()
func (*QbftBlockGossip) ProtoReflect ¶
func (x *QbftBlockGossip) ProtoReflect() protoreflect.Message
func (*QbftBlockGossip) Reset ¶
func (x *QbftBlockGossip) Reset()
func (*QbftBlockGossip) String ¶
func (x *QbftBlockGossip) String() string
type QbftBlockHeader ¶
type QbftBlockHeader 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 *QbftBlockID `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"`
Sequence int64 `protobuf:"varint,14,opt,name=sequence,proto3" json:"sequence,omitempty"`
LastSequence int64 `protobuf:"varint,15,opt,name=lastSequence,proto3" json:"lastSequence,omitempty"`
// contains filtered or unexported fields
}
func (*QbftBlockHeader) Descriptor
deprecated
func (*QbftBlockHeader) Descriptor() ([]byte, []int)
Deprecated: Use QbftBlockHeader.ProtoReflect.Descriptor instead.
func (*QbftBlockHeader) GetAppHash ¶
func (x *QbftBlockHeader) GetAppHash() []byte
func (*QbftBlockHeader) GetChainID ¶
func (x *QbftBlockHeader) GetChainID() string
func (*QbftBlockHeader) GetConsensusHash ¶
func (x *QbftBlockHeader) GetConsensusHash() []byte
func (*QbftBlockHeader) GetHeight ¶
func (x *QbftBlockHeader) GetHeight() int64
func (*QbftBlockHeader) GetLastBlockID ¶
func (x *QbftBlockHeader) GetLastBlockID() *QbftBlockID
func (*QbftBlockHeader) GetLastCommitHash ¶
func (x *QbftBlockHeader) GetLastCommitHash() []byte
func (*QbftBlockHeader) GetLastResultsHash ¶
func (x *QbftBlockHeader) GetLastResultsHash() []byte
func (*QbftBlockHeader) GetLastSequence ¶
func (x *QbftBlockHeader) GetLastSequence() int64
func (*QbftBlockHeader) GetNumTxs ¶
func (x *QbftBlockHeader) GetNumTxs() int64
func (*QbftBlockHeader) GetProposerAddr ¶
func (x *QbftBlockHeader) GetProposerAddr() []byte
func (*QbftBlockHeader) GetRound ¶
func (x *QbftBlockHeader) GetRound() int64
func (*QbftBlockHeader) GetSequence ¶
func (x *QbftBlockHeader) GetSequence() int64
func (*QbftBlockHeader) GetTime ¶
func (x *QbftBlockHeader) GetTime() int64
func (*QbftBlockHeader) GetTotalTxs ¶
func (x *QbftBlockHeader) GetTotalTxs() int64
func (*QbftBlockHeader) GetValidatorsHash ¶
func (x *QbftBlockHeader) GetValidatorsHash() []byte
func (*QbftBlockHeader) ProtoMessage ¶
func (*QbftBlockHeader) ProtoMessage()
func (*QbftBlockHeader) ProtoReflect ¶
func (x *QbftBlockHeader) ProtoReflect() protoreflect.Message
func (*QbftBlockHeader) Reset ¶
func (x *QbftBlockHeader) Reset()
func (*QbftBlockHeader) String ¶
func (x *QbftBlockHeader) String() string
type QbftBlockID ¶
type QbftBlockID struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
// contains filtered or unexported fields
}
func (*QbftBlockID) Descriptor
deprecated
func (*QbftBlockID) Descriptor() ([]byte, []int)
Deprecated: Use QbftBlockID.ProtoReflect.Descriptor instead.
func (*QbftBlockID) GetHash ¶
func (x *QbftBlockID) GetHash() []byte
func (*QbftBlockID) ProtoMessage ¶
func (*QbftBlockID) ProtoMessage()
func (*QbftBlockID) ProtoReflect ¶
func (x *QbftBlockID) ProtoReflect() protoreflect.Message
func (*QbftBlockID) Reset ¶
func (x *QbftBlockID) Reset()
func (*QbftBlockID) String ¶
func (x *QbftBlockID) String() string
type QbftBlockInfo ¶
type QbftBlockInfo struct {
State *QbftState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
Proposal *QbftProposal `protobuf:"bytes,2,opt,name=proposal,proto3" json:"proposal,omitempty"`
Block *QbftBlock `protobuf:"bytes,3,opt,name=block,proto3" json:"block,omitempty"`
// contains filtered or unexported fields
}
func (*QbftBlockInfo) Descriptor
deprecated
func (*QbftBlockInfo) Descriptor() ([]byte, []int)
Deprecated: Use QbftBlockInfo.ProtoReflect.Descriptor instead.
func (*QbftBlockInfo) GetBlock ¶
func (x *QbftBlockInfo) GetBlock() *QbftBlock
func (*QbftBlockInfo) GetProposal ¶
func (x *QbftBlockInfo) GetProposal() *QbftProposal
func (*QbftBlockInfo) GetState ¶
func (x *QbftBlockInfo) GetState() *QbftState
func (*QbftBlockInfo) ProtoMessage ¶
func (*QbftBlockInfo) ProtoMessage()
func (*QbftBlockInfo) ProtoReflect ¶
func (x *QbftBlockInfo) ProtoReflect() protoreflect.Message
func (*QbftBlockInfo) Reset ¶
func (x *QbftBlockInfo) Reset()
func (*QbftBlockInfo) String ¶
func (x *QbftBlockInfo) String() string
type QbftBlockSize ¶
type QbftBlockSize 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 (*QbftBlockSize) Descriptor
deprecated
func (*QbftBlockSize) Descriptor() ([]byte, []int)
Deprecated: Use QbftBlockSize.ProtoReflect.Descriptor instead.
func (*QbftBlockSize) GetMaxBytes ¶
func (x *QbftBlockSize) GetMaxBytes() int32
func (*QbftBlockSize) GetMaxGas ¶
func (x *QbftBlockSize) GetMaxGas() int64
func (*QbftBlockSize) GetMaxTxs ¶
func (x *QbftBlockSize) GetMaxTxs() int32
func (*QbftBlockSize) ProtoMessage ¶
func (*QbftBlockSize) ProtoMessage()
func (*QbftBlockSize) ProtoReflect ¶
func (x *QbftBlockSize) ProtoReflect() protoreflect.Message
func (*QbftBlockSize) Reset ¶
func (x *QbftBlockSize) Reset()
func (*QbftBlockSize) String ¶
func (x *QbftBlockSize) String() string
type QbftCommit ¶
type QbftCommit struct {
BlockID *QbftBlockID `protobuf:"bytes,1,opt,name=blockID,proto3" json:"blockID,omitempty"`
Prevotes []*QbftVote `protobuf:"bytes,2,rep,name=prevotes,proto3" json:"prevotes,omitempty"`
Precommits []*QbftVote `protobuf:"bytes,3,rep,name=precommits,proto3" json:"precommits,omitempty"`
AggVote *QbftAggVote `protobuf:"bytes,4,opt,name=aggVote,proto3" json:"aggVote,omitempty"`
VoteType uint32 `protobuf:"varint,5,opt,name=voteType,proto3" json:"voteType,omitempty"`
// contains filtered or unexported fields
}
func (*QbftCommit) Descriptor
deprecated
func (*QbftCommit) Descriptor() ([]byte, []int)
Deprecated: Use QbftCommit.ProtoReflect.Descriptor instead.
func (*QbftCommit) GetAggVote ¶
func (x *QbftCommit) GetAggVote() *QbftAggVote
func (*QbftCommit) GetBlockID ¶
func (x *QbftCommit) GetBlockID() *QbftBlockID
func (*QbftCommit) GetPrecommits ¶
func (x *QbftCommit) GetPrecommits() []*QbftVote
func (*QbftCommit) GetPrevotes ¶
func (x *QbftCommit) GetPrevotes() []*QbftVote
func (*QbftCommit) GetVoteType ¶
func (x *QbftCommit) GetVoteType() uint32
func (*QbftCommit) ProtoMessage ¶
func (*QbftCommit) ProtoMessage()
func (*QbftCommit) ProtoReflect ¶
func (x *QbftCommit) ProtoReflect() protoreflect.Message
func (*QbftCommit) Reset ¶
func (x *QbftCommit) Reset()
func (*QbftCommit) String ¶
func (x *QbftCommit) String() string
type QbftConsensusParams ¶
type QbftConsensusParams struct {
BlockSize *QbftBlockSize `protobuf:"bytes,1,opt,name=blockSize,proto3" json:"blockSize,omitempty"`
TxSize *QbftTxSize `protobuf:"bytes,2,opt,name=txSize,proto3" json:"txSize,omitempty"`
BlockGossip *QbftBlockGossip `protobuf:"bytes,3,opt,name=blockGossip,proto3" json:"blockGossip,omitempty"`
EvidenceParams *QbftEvidenceParams `protobuf:"bytes,4,opt,name=evidenceParams,proto3" json:"evidenceParams,omitempty"`
// contains filtered or unexported fields
}
func (*QbftConsensusParams) Descriptor
deprecated
func (*QbftConsensusParams) Descriptor() ([]byte, []int)
Deprecated: Use QbftConsensusParams.ProtoReflect.Descriptor instead.
func (*QbftConsensusParams) GetBlockGossip ¶
func (x *QbftConsensusParams) GetBlockGossip() *QbftBlockGossip
func (*QbftConsensusParams) GetBlockSize ¶
func (x *QbftConsensusParams) GetBlockSize() *QbftBlockSize
func (*QbftConsensusParams) GetEvidenceParams ¶
func (x *QbftConsensusParams) GetEvidenceParams() *QbftEvidenceParams
func (*QbftConsensusParams) GetTxSize ¶
func (x *QbftConsensusParams) GetTxSize() *QbftTxSize
func (*QbftConsensusParams) ProtoMessage ¶
func (*QbftConsensusParams) ProtoMessage()
func (*QbftConsensusParams) ProtoReflect ¶
func (x *QbftConsensusParams) ProtoReflect() protoreflect.Message
func (*QbftConsensusParams) Reset ¶
func (x *QbftConsensusParams) Reset()
func (*QbftConsensusParams) String ¶
func (x *QbftConsensusParams) String() string
type QbftEvidenceParams ¶
type QbftEvidenceParams struct {
MaxAge int64 `protobuf:"varint,1,opt,name=maxAge,proto3" json:"maxAge,omitempty"`
// contains filtered or unexported fields
}
func (*QbftEvidenceParams) Descriptor
deprecated
func (*QbftEvidenceParams) Descriptor() ([]byte, []int)
Deprecated: Use QbftEvidenceParams.ProtoReflect.Descriptor instead.
func (*QbftEvidenceParams) GetMaxAge ¶
func (x *QbftEvidenceParams) GetMaxAge() int64
func (*QbftEvidenceParams) ProtoMessage ¶
func (*QbftEvidenceParams) ProtoMessage()
func (*QbftEvidenceParams) ProtoReflect ¶
func (x *QbftEvidenceParams) ProtoReflect() protoreflect.Message
func (*QbftEvidenceParams) Reset ¶
func (x *QbftEvidenceParams) Reset()
func (*QbftEvidenceParams) String ¶
func (x *QbftEvidenceParams) String() string
type QbftHasVoteMsg ¶
type QbftHasVoteMsg 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 (*QbftHasVoteMsg) Descriptor
deprecated
func (*QbftHasVoteMsg) Descriptor() ([]byte, []int)
Deprecated: Use QbftHasVoteMsg.ProtoReflect.Descriptor instead.
func (*QbftHasVoteMsg) GetHeight ¶
func (x *QbftHasVoteMsg) GetHeight() int64
func (*QbftHasVoteMsg) GetIndex ¶
func (x *QbftHasVoteMsg) GetIndex() int32
func (*QbftHasVoteMsg) GetRound ¶
func (x *QbftHasVoteMsg) GetRound() int32
func (*QbftHasVoteMsg) GetType ¶
func (x *QbftHasVoteMsg) GetType() int32
func (*QbftHasVoteMsg) ProtoMessage ¶
func (*QbftHasVoteMsg) ProtoMessage()
func (*QbftHasVoteMsg) ProtoReflect ¶
func (x *QbftHasVoteMsg) ProtoReflect() protoreflect.Message
func (*QbftHasVoteMsg) Reset ¶
func (x *QbftHasVoteMsg) Reset()
func (*QbftHasVoteMsg) String ¶
func (x *QbftHasVoteMsg) String() string
type QbftHeartbeat ¶
type QbftHeartbeat 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 (*QbftHeartbeat) Descriptor
deprecated
func (*QbftHeartbeat) Descriptor() ([]byte, []int)
Deprecated: Use QbftHeartbeat.ProtoReflect.Descriptor instead.
func (*QbftHeartbeat) GetHeight ¶
func (x *QbftHeartbeat) GetHeight() int64
func (*QbftHeartbeat) GetRound ¶
func (x *QbftHeartbeat) GetRound() int32
func (*QbftHeartbeat) GetSequence ¶
func (x *QbftHeartbeat) GetSequence() int32
func (*QbftHeartbeat) GetSignature ¶
func (x *QbftHeartbeat) GetSignature() []byte
func (*QbftHeartbeat) GetValidatorAddress ¶
func (x *QbftHeartbeat) GetValidatorAddress() []byte
func (*QbftHeartbeat) GetValidatorIndex ¶
func (x *QbftHeartbeat) GetValidatorIndex() int32
func (*QbftHeartbeat) ProtoMessage ¶
func (*QbftHeartbeat) ProtoMessage()
func (*QbftHeartbeat) ProtoReflect ¶
func (x *QbftHeartbeat) ProtoReflect() protoreflect.Message
func (*QbftHeartbeat) Reset ¶
func (x *QbftHeartbeat) Reset()
func (*QbftHeartbeat) String ¶
func (x *QbftHeartbeat) String() string
type QbftIsHealthy ¶
type QbftIsHealthy struct {
IsHealthy bool `protobuf:"varint,1,opt,name=isHealthy,proto3" json:"isHealthy,omitempty"`
// contains filtered or unexported fields
}
func (*QbftIsHealthy) Descriptor
deprecated
func (*QbftIsHealthy) Descriptor() ([]byte, []int)
Deprecated: Use QbftIsHealthy.ProtoReflect.Descriptor instead.
func (*QbftIsHealthy) GetIsHealthy ¶
func (x *QbftIsHealthy) GetIsHealthy() bool
func (*QbftIsHealthy) ProtoMessage ¶
func (*QbftIsHealthy) ProtoMessage()
func (*QbftIsHealthy) ProtoReflect ¶
func (x *QbftIsHealthy) ProtoReflect() protoreflect.Message
func (*QbftIsHealthy) Reset ¶
func (x *QbftIsHealthy) Reset()
func (*QbftIsHealthy) String ¶
func (x *QbftIsHealthy) String() string
type QbftNewRoundStepMsg ¶
type QbftNewRoundStepMsg 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 (*QbftNewRoundStepMsg) Descriptor
deprecated
func (*QbftNewRoundStepMsg) Descriptor() ([]byte, []int)
Deprecated: Use QbftNewRoundStepMsg.ProtoReflect.Descriptor instead.
func (*QbftNewRoundStepMsg) GetHeight ¶
func (x *QbftNewRoundStepMsg) GetHeight() int64
func (*QbftNewRoundStepMsg) GetLastCommitRound ¶
func (x *QbftNewRoundStepMsg) GetLastCommitRound() int32
func (*QbftNewRoundStepMsg) GetRound ¶
func (x *QbftNewRoundStepMsg) GetRound() int32
func (*QbftNewRoundStepMsg) GetSecondsSinceStartTime ¶
func (x *QbftNewRoundStepMsg) GetSecondsSinceStartTime() int32
func (*QbftNewRoundStepMsg) GetStep ¶
func (x *QbftNewRoundStepMsg) GetStep() int32
func (*QbftNewRoundStepMsg) ProtoMessage ¶
func (*QbftNewRoundStepMsg) ProtoMessage()
func (*QbftNewRoundStepMsg) ProtoReflect ¶
func (x *QbftNewRoundStepMsg) ProtoReflect() protoreflect.Message
func (*QbftNewRoundStepMsg) Reset ¶
func (x *QbftNewRoundStepMsg) Reset()
func (*QbftNewRoundStepMsg) String ¶
func (x *QbftNewRoundStepMsg) String() string
type QbftNode ¶
type QbftNode struct {
PubKey string `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 (*QbftNode) Descriptor
deprecated
func (*QbftNode) ProtoMessage ¶
func (*QbftNode) ProtoMessage()
func (*QbftNode) ProtoReflect ¶
func (x *QbftNode) ProtoReflect() protoreflect.Message
type QbftNodeAction ¶
type QbftNodeAction struct {
// Types that are assignable to Value:
// *QbftNodeAction_Node
// *QbftNodeAction_BlockInfo
Value isQbftNodeAction_Value `protobuf_oneof:"value"`
Ty int32 `protobuf:"varint,3,opt,name=Ty,proto3" json:"Ty,omitempty"`
// contains filtered or unexported fields
}
func (*QbftNodeAction) Descriptor
deprecated
func (*QbftNodeAction) Descriptor() ([]byte, []int)
Deprecated: Use QbftNodeAction.ProtoReflect.Descriptor instead.
func (*QbftNodeAction) GetBlockInfo ¶
func (x *QbftNodeAction) GetBlockInfo() *QbftBlockInfo
func (*QbftNodeAction) GetNode ¶
func (x *QbftNodeAction) GetNode() *QbftNode
func (*QbftNodeAction) GetTy ¶
func (x *QbftNodeAction) GetTy() int32
func (*QbftNodeAction) GetValue ¶
func (m *QbftNodeAction) GetValue() isQbftNodeAction_Value
func (*QbftNodeAction) ProtoMessage ¶
func (*QbftNodeAction) ProtoMessage()
func (*QbftNodeAction) ProtoReflect ¶
func (x *QbftNodeAction) ProtoReflect() protoreflect.Message
func (*QbftNodeAction) Reset ¶
func (x *QbftNodeAction) Reset()
func (*QbftNodeAction) String ¶
func (x *QbftNodeAction) String() string
type QbftNodeAction_BlockInfo ¶
type QbftNodeAction_BlockInfo struct {
BlockInfo *QbftBlockInfo `protobuf:"bytes,2,opt,name=blockInfo,proto3,oneof"`
}
type QbftNodeAction_Node ¶
type QbftNodeAction_Node struct {
Node *QbftNode `protobuf:"bytes,1,opt,name=node,proto3,oneof"`
}
type QbftNodeClient ¶
type QbftNodeClient interface {
IsSync(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*QbftIsHealthy, error)
GetNodeInfo(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*QbftNodeInfoSet, error)
}
QbftNodeClient is the client API for QbftNode service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQbftNodeClient ¶
func NewQbftNodeClient(cc grpc.ClientConnInterface) QbftNodeClient
type QbftNodeInfo ¶
type QbftNodeInfo 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 (*QbftNodeInfo) Descriptor
deprecated
func (*QbftNodeInfo) Descriptor() ([]byte, []int)
Deprecated: Use QbftNodeInfo.ProtoReflect.Descriptor instead.
func (*QbftNodeInfo) GetAccum ¶
func (x *QbftNodeInfo) GetAccum() int64
func (*QbftNodeInfo) GetAddress ¶
func (x *QbftNodeInfo) GetAddress() string
func (*QbftNodeInfo) GetNodeID ¶
func (x *QbftNodeInfo) GetNodeID() string
func (*QbftNodeInfo) GetNodeIP ¶
func (x *QbftNodeInfo) GetNodeIP() string
func (*QbftNodeInfo) GetPubKey ¶
func (x *QbftNodeInfo) GetPubKey() string
func (*QbftNodeInfo) GetVotingPower ¶
func (x *QbftNodeInfo) GetVotingPower() int64
func (*QbftNodeInfo) ProtoMessage ¶
func (*QbftNodeInfo) ProtoMessage()
func (*QbftNodeInfo) ProtoReflect ¶
func (x *QbftNodeInfo) ProtoReflect() protoreflect.Message
func (*QbftNodeInfo) Reset ¶
func (x *QbftNodeInfo) Reset()
func (*QbftNodeInfo) String ¶
func (x *QbftNodeInfo) String() string
type QbftNodeInfoSet ¶
type QbftNodeInfoSet struct {
Nodes []*QbftNodeInfo `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
// contains filtered or unexported fields
}
func (*QbftNodeInfoSet) Descriptor
deprecated
func (*QbftNodeInfoSet) Descriptor() ([]byte, []int)
Deprecated: Use QbftNodeInfoSet.ProtoReflect.Descriptor instead.
func (*QbftNodeInfoSet) GetNodes ¶
func (x *QbftNodeInfoSet) GetNodes() []*QbftNodeInfo
func (*QbftNodeInfoSet) ProtoMessage ¶
func (*QbftNodeInfoSet) ProtoMessage()
func (*QbftNodeInfoSet) ProtoReflect ¶
func (x *QbftNodeInfoSet) ProtoReflect() protoreflect.Message
func (*QbftNodeInfoSet) Reset ¶
func (x *QbftNodeInfoSet) Reset()
func (*QbftNodeInfoSet) String ¶
func (x *QbftNodeInfoSet) String() string
type QbftNodeServer ¶
type QbftNodeServer interface {
IsSync(context.Context, *types.ReqNil) (*QbftIsHealthy, error)
GetNodeInfo(context.Context, *types.ReqNil) (*QbftNodeInfoSet, error)
}
QbftNodeServer is the server API for QbftNode service.
type QbftNodeType ¶
type QbftNodeType struct {
types.ExecTypeBase
}
QbftNodeType stuct
func (*QbftNodeType) CreateTx ¶
func (t *QbftNodeType) CreateTx(action string, message json.RawMessage) (*types.Transaction, error)
CreateTx ...
func (*QbftNodeType) GetLogMap ¶
func (t *QbftNodeType) GetLogMap() map[int64]*types.LogInfo
GetLogMap method
func (*QbftNodeType) GetPayload ¶
func (t *QbftNodeType) GetPayload() types.Message
GetPayload method
func (*QbftNodeType) GetTypeMap ¶
func (t *QbftNodeType) GetTypeMap() map[string]int32
GetTypeMap method
type QbftNodes ¶
type QbftNodes struct {
Nodes []*QbftNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
// contains filtered or unexported fields
}
func (*QbftNodes) Descriptor
deprecated
func (*QbftNodes) ProtoMessage ¶
func (*QbftNodes) ProtoMessage()
func (*QbftNodes) ProtoReflect ¶
func (x *QbftNodes) ProtoReflect() protoreflect.Message
type QbftPerfStat ¶
type QbftPerfStat 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 (*QbftPerfStat) Descriptor
deprecated
func (*QbftPerfStat) Descriptor() ([]byte, []int)
Deprecated: Use QbftPerfStat.ProtoReflect.Descriptor instead.
func (*QbftPerfStat) GetTotalBlock ¶
func (x *QbftPerfStat) GetTotalBlock() int64
func (*QbftPerfStat) GetTotalSecond ¶
func (x *QbftPerfStat) GetTotalSecond() int64
func (*QbftPerfStat) GetTotalTx ¶
func (x *QbftPerfStat) GetTotalTx() int64
func (*QbftPerfStat) GetTxPerBlock ¶
func (x *QbftPerfStat) GetTxPerBlock() int64
func (*QbftPerfStat) GetTxPerSecond ¶
func (x *QbftPerfStat) GetTxPerSecond() int64
func (*QbftPerfStat) ProtoMessage ¶
func (*QbftPerfStat) ProtoMessage()
func (*QbftPerfStat) ProtoReflect ¶
func (x *QbftPerfStat) ProtoReflect() protoreflect.Message
func (*QbftPerfStat) Reset ¶
func (x *QbftPerfStat) Reset()
func (*QbftPerfStat) String ¶
func (x *QbftPerfStat) String() string
type QbftProposal ¶
type QbftProposal 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 *QbftBlockID `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"`
Sequence int64 `protobuf:"varint,8,opt,name=sequence,proto3" json:"sequence,omitempty"`
// contains filtered or unexported fields
}
func (*QbftProposal) Descriptor
deprecated
func (*QbftProposal) Descriptor() ([]byte, []int)
Deprecated: Use QbftProposal.ProtoReflect.Descriptor instead.
func (*QbftProposal) GetBlockhash ¶
func (x *QbftProposal) GetBlockhash() []byte
func (*QbftProposal) GetHeight ¶
func (x *QbftProposal) GetHeight() int64
func (*QbftProposal) GetPOLBlockID ¶
func (x *QbftProposal) GetPOLBlockID() *QbftBlockID
func (*QbftProposal) GetPOLRound ¶
func (x *QbftProposal) GetPOLRound() int32
func (*QbftProposal) GetRound ¶
func (x *QbftProposal) GetRound() int32
func (*QbftProposal) GetSequence ¶
func (x *QbftProposal) GetSequence() int64
func (*QbftProposal) GetSignature ¶
func (x *QbftProposal) GetSignature() []byte
func (*QbftProposal) GetTimestamp ¶
func (x *QbftProposal) GetTimestamp() int64
func (*QbftProposal) ProtoMessage ¶
func (*QbftProposal) ProtoMessage()
func (*QbftProposal) ProtoReflect ¶
func (x *QbftProposal) ProtoReflect() protoreflect.Message
func (*QbftProposal) Reset ¶
func (x *QbftProposal) Reset()
func (*QbftProposal) String ¶
func (x *QbftProposal) String() string
type QbftProposalPOLMsg ¶
type QbftProposalPOLMsg 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 *QbftBitArray `protobuf:"bytes,3,opt,name=proposalPOL,proto3" json:"proposalPOL,omitempty"`
// contains filtered or unexported fields
}
func (*QbftProposalPOLMsg) Descriptor
deprecated
func (*QbftProposalPOLMsg) Descriptor() ([]byte, []int)
Deprecated: Use QbftProposalPOLMsg.ProtoReflect.Descriptor instead.
func (*QbftProposalPOLMsg) GetHeight ¶
func (x *QbftProposalPOLMsg) GetHeight() int64
func (*QbftProposalPOLMsg) GetProposalPOL ¶
func (x *QbftProposalPOLMsg) GetProposalPOL() *QbftBitArray
func (*QbftProposalPOLMsg) GetProposalPOLRound ¶
func (x *QbftProposalPOLMsg) GetProposalPOLRound() int32
func (*QbftProposalPOLMsg) ProtoMessage ¶
func (*QbftProposalPOLMsg) ProtoMessage()
func (*QbftProposalPOLMsg) ProtoReflect ¶
func (x *QbftProposalPOLMsg) ProtoReflect() protoreflect.Message
func (*QbftProposalPOLMsg) Reset ¶
func (x *QbftProposalPOLMsg) Reset()
func (*QbftProposalPOLMsg) String ¶
func (x *QbftProposalPOLMsg) String() string
type QbftState ¶
type QbftState 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 *QbftBlockID `protobuf:"bytes,4,opt,name=lastBlockID,proto3" json:"lastBlockID,omitempty"`
LastBlockTime int64 `protobuf:"varint,5,opt,name=lastBlockTime,proto3" json:"lastBlockTime,omitempty"`
Validators *QbftValidatorSet `protobuf:"bytes,6,opt,name=validators,proto3" json:"validators,omitempty"`
LastValidators *QbftValidatorSet `protobuf:"bytes,7,opt,name=lastValidators,proto3" json:"lastValidators,omitempty"`
LastHeightValidatorsChanged int64 `protobuf:"varint,8,opt,name=lastHeightValidatorsChanged,proto3" json:"lastHeightValidatorsChanged,omitempty"`
ConsensusParams *QbftConsensusParams `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"`
Sequence int64 `protobuf:"varint,13,opt,name=sequence,proto3" json:"sequence,omitempty"`
LastSequence int64 `protobuf:"varint,14,opt,name=lastSequence,proto3" json:"lastSequence,omitempty"`
LastCommitRound int64 `protobuf:"varint,15,opt,name=lastCommitRound,proto3" json:"lastCommitRound,omitempty"`
// contains filtered or unexported fields
}
func (*QbftState) Descriptor
deprecated
func (*QbftState) GetAppHash ¶
func (*QbftState) GetChainID ¶
func (*QbftState) GetConsensusParams ¶
func (x *QbftState) GetConsensusParams() *QbftConsensusParams
func (*QbftState) GetLastBlockHeight ¶
func (*QbftState) GetLastBlockID ¶
func (x *QbftState) GetLastBlockID() *QbftBlockID
func (*QbftState) GetLastBlockTime ¶
func (*QbftState) GetLastBlockTotalTx ¶
func (*QbftState) GetLastCommitRound ¶
func (*QbftState) GetLastHeightConsensusParamsChanged ¶
func (*QbftState) GetLastHeightValidatorsChanged ¶
func (*QbftState) GetLastResultsHash ¶
func (*QbftState) GetLastSequence ¶
func (*QbftState) GetLastValidators ¶
func (x *QbftState) GetLastValidators() *QbftValidatorSet
func (*QbftState) GetSequence ¶
func (*QbftState) GetValidators ¶
func (x *QbftState) GetValidators() *QbftValidatorSet
func (*QbftState) ProtoMessage ¶
func (*QbftState) ProtoMessage()
func (*QbftState) ProtoReflect ¶
func (x *QbftState) ProtoReflect() protoreflect.Message
type QbftTxSize ¶
type QbftTxSize 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 (*QbftTxSize) Descriptor
deprecated
func (*QbftTxSize) Descriptor() ([]byte, []int)
Deprecated: Use QbftTxSize.ProtoReflect.Descriptor instead.
func (*QbftTxSize) GetMaxBytes ¶
func (x *QbftTxSize) GetMaxBytes() int32
func (*QbftTxSize) GetMaxGas ¶
func (x *QbftTxSize) GetMaxGas() int64
func (*QbftTxSize) ProtoMessage ¶
func (*QbftTxSize) ProtoMessage()
func (*QbftTxSize) ProtoReflect ¶
func (x *QbftTxSize) ProtoReflect() protoreflect.Message
func (*QbftTxSize) Reset ¶
func (x *QbftTxSize) Reset()
func (*QbftTxSize) String ¶
func (x *QbftTxSize) String() string
type QbftValidBlockMsg ¶
type QbftValidBlockMsg 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 (*QbftValidBlockMsg) Descriptor
deprecated
func (*QbftValidBlockMsg) Descriptor() ([]byte, []int)
Deprecated: Use QbftValidBlockMsg.ProtoReflect.Descriptor instead.
func (*QbftValidBlockMsg) GetBlockhash ¶
func (x *QbftValidBlockMsg) GetBlockhash() []byte
func (*QbftValidBlockMsg) GetHeight ¶
func (x *QbftValidBlockMsg) GetHeight() int64
func (*QbftValidBlockMsg) GetIsCommit ¶
func (x *QbftValidBlockMsg) GetIsCommit() bool
func (*QbftValidBlockMsg) GetRound ¶
func (x *QbftValidBlockMsg) GetRound() int32
func (*QbftValidBlockMsg) ProtoMessage ¶
func (*QbftValidBlockMsg) ProtoMessage()
func (*QbftValidBlockMsg) ProtoReflect ¶
func (x *QbftValidBlockMsg) ProtoReflect() protoreflect.Message
func (*QbftValidBlockMsg) Reset ¶
func (x *QbftValidBlockMsg) Reset()
func (*QbftValidBlockMsg) String ¶
func (x *QbftValidBlockMsg) String() string
type QbftValidator ¶
type QbftValidator struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
PubKey string `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 (*QbftValidator) Descriptor
deprecated
func (*QbftValidator) Descriptor() ([]byte, []int)
Deprecated: Use QbftValidator.ProtoReflect.Descriptor instead.
func (*QbftValidator) GetAccum ¶
func (x *QbftValidator) GetAccum() int64
func (*QbftValidator) GetAddress ¶
func (x *QbftValidator) GetAddress() string
func (*QbftValidator) GetPubKey ¶
func (x *QbftValidator) GetPubKey() string
func (*QbftValidator) GetVotingPower ¶
func (x *QbftValidator) GetVotingPower() int64
func (*QbftValidator) ProtoMessage ¶
func (*QbftValidator) ProtoMessage()
func (*QbftValidator) ProtoReflect ¶
func (x *QbftValidator) ProtoReflect() protoreflect.Message
func (*QbftValidator) Reset ¶
func (x *QbftValidator) Reset()
func (*QbftValidator) String ¶
func (x *QbftValidator) String() string
type QbftValidatorSet ¶
type QbftValidatorSet struct {
Validators []*QbftValidator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"`
Proposer *QbftValidator `protobuf:"bytes,2,opt,name=proposer,proto3" json:"proposer,omitempty"`
// contains filtered or unexported fields
}
func (*QbftValidatorSet) Descriptor
deprecated
func (*QbftValidatorSet) Descriptor() ([]byte, []int)
Deprecated: Use QbftValidatorSet.ProtoReflect.Descriptor instead.
func (*QbftValidatorSet) GetProposer ¶
func (x *QbftValidatorSet) GetProposer() *QbftValidator
func (*QbftValidatorSet) GetValidators ¶
func (x *QbftValidatorSet) GetValidators() []*QbftValidator
func (*QbftValidatorSet) ProtoMessage ¶
func (*QbftValidatorSet) ProtoMessage()
func (*QbftValidatorSet) ProtoReflect ¶
func (x *QbftValidatorSet) ProtoReflect() protoreflect.Message
func (*QbftValidatorSet) Reset ¶
func (x *QbftValidatorSet) Reset()
func (*QbftValidatorSet) String ¶
func (x *QbftValidatorSet) String() string
type QbftVote ¶
type QbftVote 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 *QbftBlockID `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 (*QbftVote) Descriptor
deprecated
func (*QbftVote) GetBlockID ¶
func (x *QbftVote) GetBlockID() *QbftBlockID
func (*QbftVote) GetSignature ¶
func (*QbftVote) GetTimestamp ¶
func (*QbftVote) GetUseAggSig ¶
func (*QbftVote) GetValidatorAddress ¶
func (*QbftVote) GetValidatorIndex ¶
func (*QbftVote) ProtoMessage ¶
func (*QbftVote) ProtoMessage()
func (*QbftVote) ProtoReflect ¶
func (x *QbftVote) ProtoReflect() protoreflect.Message
type QbftVoteSetBitsMsg ¶
type QbftVoteSetBitsMsg 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 *QbftBlockID `protobuf:"bytes,4,opt,name=blockID,proto3" json:"blockID,omitempty"`
Votes *QbftBitArray `protobuf:"bytes,5,opt,name=votes,proto3" json:"votes,omitempty"`
// contains filtered or unexported fields
}
func (*QbftVoteSetBitsMsg) Descriptor
deprecated
func (*QbftVoteSetBitsMsg) Descriptor() ([]byte, []int)
Deprecated: Use QbftVoteSetBitsMsg.ProtoReflect.Descriptor instead.
func (*QbftVoteSetBitsMsg) GetBlockID ¶
func (x *QbftVoteSetBitsMsg) GetBlockID() *QbftBlockID
func (*QbftVoteSetBitsMsg) GetHeight ¶
func (x *QbftVoteSetBitsMsg) GetHeight() int64
func (*QbftVoteSetBitsMsg) GetRound ¶
func (x *QbftVoteSetBitsMsg) GetRound() int32
func (*QbftVoteSetBitsMsg) GetType ¶
func (x *QbftVoteSetBitsMsg) GetType() int32
func (*QbftVoteSetBitsMsg) GetVotes ¶
func (x *QbftVoteSetBitsMsg) GetVotes() *QbftBitArray
func (*QbftVoteSetBitsMsg) ProtoMessage ¶
func (*QbftVoteSetBitsMsg) ProtoMessage()
func (*QbftVoteSetBitsMsg) ProtoReflect ¶
func (x *QbftVoteSetBitsMsg) ProtoReflect() protoreflect.Message
func (*QbftVoteSetBitsMsg) Reset ¶
func (x *QbftVoteSetBitsMsg) Reset()
func (*QbftVoteSetBitsMsg) String ¶
func (x *QbftVoteSetBitsMsg) String() string
type QbftVoteSetMaj23Msg ¶
type QbftVoteSetMaj23Msg 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 *QbftBlockID `protobuf:"bytes,4,opt,name=blockID,proto3" json:"blockID,omitempty"`
// contains filtered or unexported fields
}
func (*QbftVoteSetMaj23Msg) Descriptor
deprecated
func (*QbftVoteSetMaj23Msg) Descriptor() ([]byte, []int)
Deprecated: Use QbftVoteSetMaj23Msg.ProtoReflect.Descriptor instead.
func (*QbftVoteSetMaj23Msg) GetBlockID ¶
func (x *QbftVoteSetMaj23Msg) GetBlockID() *QbftBlockID
func (*QbftVoteSetMaj23Msg) GetHeight ¶
func (x *QbftVoteSetMaj23Msg) GetHeight() int64
func (*QbftVoteSetMaj23Msg) GetRound ¶
func (x *QbftVoteSetMaj23Msg) GetRound() int32
func (*QbftVoteSetMaj23Msg) GetType ¶
func (x *QbftVoteSetMaj23Msg) GetType() int32
func (*QbftVoteSetMaj23Msg) ProtoMessage ¶
func (*QbftVoteSetMaj23Msg) ProtoMessage()
func (*QbftVoteSetMaj23Msg) ProtoReflect ¶
func (x *QbftVoteSetMaj23Msg) ProtoReflect() protoreflect.Message
func (*QbftVoteSetMaj23Msg) Reset ¶
func (x *QbftVoteSetMaj23Msg) Reset()
func (*QbftVoteSetMaj23Msg) String ¶
func (x *QbftVoteSetMaj23Msg) String() string
type ReqQbftBlockInfo ¶
type ReqQbftBlockInfo struct {
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
// contains filtered or unexported fields
}
func (*ReqQbftBlockInfo) Descriptor
deprecated
func (*ReqQbftBlockInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReqQbftBlockInfo.ProtoReflect.Descriptor instead.
func (*ReqQbftBlockInfo) GetHeight ¶
func (x *ReqQbftBlockInfo) GetHeight() int64
func (*ReqQbftBlockInfo) ProtoMessage ¶
func (*ReqQbftBlockInfo) ProtoMessage()
func (*ReqQbftBlockInfo) ProtoReflect ¶
func (x *ReqQbftBlockInfo) ProtoReflect() protoreflect.Message
func (*ReqQbftBlockInfo) Reset ¶
func (x *ReqQbftBlockInfo) Reset()
func (*ReqQbftBlockInfo) String ¶
func (x *ReqQbftBlockInfo) String() string
type ReqQbftNodes ¶
type ReqQbftNodes struct {
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
// contains filtered or unexported fields
}
func (*ReqQbftNodes) Descriptor
deprecated
func (*ReqQbftNodes) Descriptor() ([]byte, []int)
Deprecated: Use ReqQbftNodes.ProtoReflect.Descriptor instead.
func (*ReqQbftNodes) GetHeight ¶
func (x *ReqQbftNodes) GetHeight() int64
func (*ReqQbftNodes) ProtoMessage ¶
func (*ReqQbftNodes) ProtoMessage()
func (*ReqQbftNodes) ProtoReflect ¶
func (x *ReqQbftNodes) ProtoReflect() protoreflect.Message
func (*ReqQbftNodes) Reset ¶
func (x *ReqQbftNodes) Reset()
func (*ReqQbftNodes) String ¶
func (x *ReqQbftNodes) String() string
type ReqQbftPerfStat ¶
type ReqQbftPerfStat 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 (*ReqQbftPerfStat) Descriptor
deprecated
func (*ReqQbftPerfStat) Descriptor() ([]byte, []int)
Deprecated: Use ReqQbftPerfStat.ProtoReflect.Descriptor instead.
func (*ReqQbftPerfStat) GetEnd ¶
func (x *ReqQbftPerfStat) GetEnd() int64
func (*ReqQbftPerfStat) GetStart ¶
func (x *ReqQbftPerfStat) GetStart() int64
func (*ReqQbftPerfStat) ProtoMessage ¶
func (*ReqQbftPerfStat) ProtoMessage()
func (*ReqQbftPerfStat) ProtoReflect ¶
func (x *ReqQbftPerfStat) ProtoReflect() protoreflect.Message
func (*ReqQbftPerfStat) Reset ¶
func (x *ReqQbftPerfStat) Reset()
func (*ReqQbftPerfStat) String ¶
func (x *ReqQbftPerfStat) String() string
type UnimplementedQbftNodeServer ¶
type UnimplementedQbftNodeServer struct {
}
UnimplementedQbftNodeServer can be embedded to have forward compatible implementations.
func (*UnimplementedQbftNodeServer) GetNodeInfo ¶
func (*UnimplementedQbftNodeServer) GetNodeInfo(context.Context, *types.ReqNil) (*QbftNodeInfoSet, error)
func (*UnimplementedQbftNodeServer) IsSync ¶
func (*UnimplementedQbftNodeServer) IsSync(context.Context, *types.ReqNil) (*QbftIsHealthy, error)