types

package
v1.76.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2026 License: BSD-3-Clause Imports: 13 Imported by: 7 modules, 26 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ValNodeActionUpdate    = 1
	ValNodeActionBlockInfo = 2
)

valnode action

View Source
const (
	ActionNodeUpdate = "NodeUpdate"
)

action name

View Source
const ValNodeX = "valnode"

ValNodeX define

Variables

View Source
var File_tendermint_proto protoreflect.FileDescriptor
View Source
var File_valnode_proto protoreflect.FileDescriptor

Functions

func CreateNodeUpdateTx

func CreateNodeUpdateTx(cfg *types.Chain33Config, parm *NodeUpdateTx) (*types.Transaction, error)

CreateNodeUpdateTx ...

func InitExecutor

func InitExecutor(cfg *types.Chain33Config)

InitExecutor ...

func InitFork

func InitFork(cfg *types.Chain33Config)

InitFork ...

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) Descriptor() ([]byte, []int)

Deprecated: Use AggVote.ProtoReflect.Descriptor instead.

func (*AggVote) GetBlockID added in v1.65.1

func (x *AggVote) GetBlockID() *BlockID

func (*AggVote) GetHeight added in v1.65.1

func (x *AggVote) GetHeight() int64

func (*AggVote) GetRound added in v1.65.1

func (x *AggVote) GetRound() int32

func (*AggVote) GetSignature added in v1.65.1

func (x *AggVote) GetSignature() []byte

func (*AggVote) GetTimestamp added in v1.65.1

func (x *AggVote) GetTimestamp() int64

func (*AggVote) GetType added in v1.65.1

func (x *AggVote) GetType() uint32

func (*AggVote) GetValidatorAddress added in v1.65.1

func (x *AggVote) GetValidatorAddress() []byte

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

func (*AggVote) Reset added in v1.65.1

func (x *AggVote) Reset()

func (*AggVote) String added in v1.65.1

func (x *AggVote) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use BlockID.ProtoReflect.Descriptor instead.

func (*BlockID) GetHash

func (x *BlockID) GetHash() []byte

func (*BlockID) ProtoMessage

func (*BlockID) ProtoMessage()

func (*BlockID) ProtoReflect added in v1.65.3

func (x *BlockID) ProtoReflect() protoreflect.Message

func (*BlockID) Reset

func (x *BlockID) Reset()

func (*BlockID) String

func (x *BlockID) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use BlockSize.ProtoReflect.Descriptor instead.

func (*BlockSize) GetMaxBytes

func (x *BlockSize) GetMaxBytes() int32

func (*BlockSize) GetMaxGas

func (x *BlockSize) GetMaxGas() int64

func (*BlockSize) GetMaxTxs

func (x *BlockSize) GetMaxTxs() int32

func (*BlockSize) ProtoMessage

func (*BlockSize) ProtoMessage()

func (*BlockSize) ProtoReflect added in v1.65.3

func (x *BlockSize) ProtoReflect() protoreflect.Message

func (*BlockSize) Reset

func (x *BlockSize) Reset()

func (*BlockSize) String

func (x *BlockSize) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Heartbeat.ProtoReflect.Descriptor instead.

func (*Heartbeat) GetHeight

func (x *Heartbeat) GetHeight() int64

func (*Heartbeat) GetRound

func (x *Heartbeat) GetRound() int32

func (*Heartbeat) GetSequence

func (x *Heartbeat) GetSequence() int32

func (*Heartbeat) GetSignature

func (x *Heartbeat) GetSignature() []byte

func (*Heartbeat) GetValidatorAddress

func (x *Heartbeat) GetValidatorAddress() []byte

func (*Heartbeat) GetValidatorIndex

func (x *Heartbeat) GetValidatorIndex() int32

func (*Heartbeat) ProtoMessage

func (*Heartbeat) ProtoMessage()

func (*Heartbeat) ProtoReflect added in v1.65.3

func (x *Heartbeat) ProtoReflect() protoreflect.Message

func (*Heartbeat) Reset

func (x *Heartbeat) Reset()

func (*Heartbeat) String

func (x *Heartbeat) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use IsHealthy.ProtoReflect.Descriptor instead.

func (*IsHealthy) GetIsHealthy

func (x *IsHealthy) GetIsHealthy() bool

func (*IsHealthy) ProtoMessage

func (*IsHealthy) ProtoMessage()

func (*IsHealthy) ProtoReflect added in v1.65.3

func (x *IsHealthy) ProtoReflect() protoreflect.Message

func (*IsHealthy) Reset

func (x *IsHealthy) Reset()

func (*IsHealthy) String

func (x *IsHealthy) String() string

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

type NodeUpdateTx struct {
	PubKey string `json:"pubKey"`
	Power  int64  `json:"power"`
}

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) Descriptor() ([]byte, []int)

Deprecated: Use PerfStat.ProtoReflect.Descriptor instead.

func (*PerfStat) GetTotalBlock added in v1.65.2

func (x *PerfStat) GetTotalBlock() int64

func (*PerfStat) GetTotalSecond added in v1.65.2

func (x *PerfStat) GetTotalSecond() int64

func (*PerfStat) GetTotalTx added in v1.65.2

func (x *PerfStat) GetTotalTx() int64

func (*PerfStat) GetTxPerBlock added in v1.65.2

func (x *PerfStat) GetTxPerBlock() int64

func (*PerfStat) GetTxPerSecond added in v1.65.2

func (x *PerfStat) GetTxPerSecond() int64

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

func (*PerfStat) Reset added in v1.65.2

func (x *PerfStat) Reset()

func (*PerfStat) String added in v1.65.2

func (x *PerfStat) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Proposal.ProtoReflect.Descriptor instead.

func (*Proposal) GetBlockhash

func (x *Proposal) GetBlockhash() []byte

func (*Proposal) GetHeight

func (x *Proposal) GetHeight() int64

func (*Proposal) GetPOLBlockID

func (x *Proposal) GetPOLBlockID() *BlockID

func (*Proposal) GetPOLRound

func (x *Proposal) GetPOLRound() int32

func (*Proposal) GetRound

func (x *Proposal) GetRound() int32

func (*Proposal) GetSignature

func (x *Proposal) GetSignature() []byte

func (*Proposal) GetTimestamp

func (x *Proposal) GetTimestamp() int64

func (*Proposal) ProtoMessage

func (*Proposal) ProtoMessage()

func (*Proposal) ProtoReflect added in v1.65.3

func (x *Proposal) ProtoReflect() protoreflect.Message

func (*Proposal) Reset

func (x *Proposal) Reset()

func (*Proposal) String

func (x *Proposal) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use State.ProtoReflect.Descriptor instead.

func (*State) GetAppHash

func (x *State) GetAppHash() []byte

func (*State) GetChainID

func (x *State) GetChainID() string

func (*State) GetConsensusParams

func (x *State) GetConsensusParams() *ConsensusParams

func (*State) GetLastBlockHeight

func (x *State) GetLastBlockHeight() int64

func (*State) GetLastBlockID

func (x *State) GetLastBlockID() *BlockID

func (*State) GetLastBlockTime

func (x *State) GetLastBlockTime() int64

func (*State) GetLastBlockTotalTx

func (x *State) GetLastBlockTotalTx() int64

func (*State) GetLastHeightConsensusParamsChanged

func (x *State) GetLastHeightConsensusParamsChanged() int64

func (*State) GetLastHeightValidatorsChanged

func (x *State) GetLastHeightValidatorsChanged() int64

func (*State) GetLastResultsHash

func (x *State) GetLastResultsHash() []byte

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

func (*State) Reset

func (x *State) Reset()

func (*State) String

func (x *State) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use TxSize.ProtoReflect.Descriptor instead.

func (*TxSize) GetMaxBytes

func (x *TxSize) GetMaxBytes() int32

func (*TxSize) GetMaxGas

func (x *TxSize) GetMaxGas() int64

func (*TxSize) ProtoMessage

func (*TxSize) ProtoMessage()

func (*TxSize) ProtoReflect added in v1.65.3

func (x *TxSize) ProtoReflect() protoreflect.Message

func (*TxSize) Reset

func (x *TxSize) Reset()

func (*TxSize) String

func (x *TxSize) String() string

type UnimplementedValnodeServer

type UnimplementedValnodeServer struct {
}

UnimplementedValnodeServer can be embedded to have forward compatible implementations.

func (*UnimplementedValnodeServer) GetNodeInfo

func (*UnimplementedValnodeServer) IsSync

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) Descriptor() ([]byte, []int)

Deprecated: Use ValNode.ProtoReflect.Descriptor instead.

func (*ValNode) GetPower

func (x *ValNode) GetPower() int64

func (*ValNode) GetPubKey

func (x *ValNode) GetPubKey() []byte

func (*ValNode) ProtoMessage

func (*ValNode) ProtoMessage()

func (*ValNode) ProtoReflect added in v1.65.3

func (x *ValNode) ProtoReflect() protoreflect.Message

func (*ValNode) Reset

func (x *ValNode) Reset()

func (*ValNode) String

func (x *ValNode) String() string

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 NewType

func NewType(cfg *types.Chain33Config) *ValNodeType

NewType method

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) GetName

func (t *ValNodeType) GetName() string

GetName 获取执行器名称

func (*ValNodeType) GetPayload

func (t *ValNodeType) GetPayload() types.Message

GetPayload 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) Descriptor() ([]byte, []int)

Deprecated: Use ValNodes.ProtoReflect.Descriptor instead.

func (*ValNodes) GetNodes

func (x *ValNodes) GetNodes() []*ValNode

func (*ValNodes) ProtoMessage

func (*ValNodes) ProtoMessage()

func (*ValNodes) ProtoReflect added in v1.65.3

func (x *ValNodes) ProtoReflect() protoreflect.Message

func (*ValNodes) Reset

func (x *ValNodes) Reset()

func (*ValNodes) String

func (x *ValNodes) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Validator.ProtoReflect.Descriptor instead.

func (*Validator) GetAccum

func (x *Validator) GetAccum() int64

func (*Validator) GetAddress

func (x *Validator) GetAddress() []byte

func (*Validator) GetPubKey

func (x *Validator) GetPubKey() []byte

func (*Validator) GetVotingPower

func (x *Validator) GetVotingPower() int64

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) ProtoReflect added in v1.65.3

func (x *Validator) ProtoReflect() protoreflect.Message

func (*Validator) Reset

func (x *Validator) Reset()

func (*Validator) String

func (x *Validator) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Vote.ProtoReflect.Descriptor instead.

func (*Vote) GetBlockID

func (x *Vote) GetBlockID() *BlockID

func (*Vote) GetHeight

func (x *Vote) GetHeight() int64

func (*Vote) GetRound

func (x *Vote) GetRound() int32

func (*Vote) GetSignature

func (x *Vote) GetSignature() []byte

func (*Vote) GetTimestamp

func (x *Vote) GetTimestamp() int64

func (*Vote) GetType

func (x *Vote) GetType() uint32

func (*Vote) GetUseAggSig added in v1.65.1

func (x *Vote) GetUseAggSig() bool

func (*Vote) GetValidatorAddress

func (x *Vote) GetValidatorAddress() []byte

func (*Vote) GetValidatorIndex

func (x *Vote) GetValidatorIndex() int32

func (*Vote) ProtoMessage

func (*Vote) ProtoMessage()

func (*Vote) ProtoReflect added in v1.65.3

func (x *Vote) ProtoReflect() protoreflect.Message

func (*Vote) Reset

func (x *Vote) Reset()

func (*Vote) String

func (x *Vote) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL