pb

package
v0.0.0-...-0a11024 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Block

type Block struct {
	Header     *Header `protobuf:"bytes,1,opt,name=Header,proto3" json:"Header,omitempty"`
	Data       *Data   `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"`
	LastCommit *Commit `protobuf:"bytes,3,opt,name=LastCommit,proto3" json:"LastCommit,omitempty"`
	// contains filtered or unexported fields
}

messages

func (*Block) Descriptor deprecated

func (*Block) Descriptor() ([]byte, []int)

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetData

func (x *Block) GetData() *Data

func (*Block) GetHeader

func (x *Block) GetHeader() *Header

func (*Block) GetLastCommit

func (x *Block) GetLastCommit() *Commit

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) ProtoReflect

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

func (*Block) Reset

func (x *Block) Reset()

func (*Block) String

func (x *Block) String() string

type BlockID

type BlockID struct {
	Hash        []byte         `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"`
	PartsHeader *PartSetHeader `protobuf:"bytes,2,opt,name=PartsHeader,proto3" json:"PartsHeader,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) GetPartsHeader

func (x *BlockID) GetPartsHeader() *PartSetHeader

func (*BlockID) ProtoMessage

func (*BlockID) ProtoMessage()

func (*BlockID) ProtoReflect

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

func (*BlockID) Reset

func (x *BlockID) Reset()

func (*BlockID) String

func (x *BlockID) String() string

type BytesList

type BytesList struct {
	Value [][]byte `protobuf:"bytes,1,rep,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*BytesList) Descriptor deprecated

func (*BytesList) Descriptor() ([]byte, []int)

Deprecated: Use BytesList.ProtoReflect.Descriptor instead.

func (*BytesList) GetValue

func (x *BytesList) GetValue() [][]byte

func (*BytesList) ProtoMessage

func (*BytesList) ProtoMessage()

func (*BytesList) ProtoReflect

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

func (*BytesList) Reset

func (x *BytesList) Reset()

func (*BytesList) String

func (x *BytesList) String() string

type Commit

type Commit struct {
	BlockID    *BlockID     `protobuf:"bytes,1,opt,name=BlockID,proto3" json:"BlockID,omitempty"`
	Precommits []*CommitSig `protobuf:"bytes,2,rep,name=Precommits,proto3" json:"Precommits,omitempty"`
	// contains filtered or unexported fields
}

func (*Commit) Descriptor deprecated

func (*Commit) Descriptor() ([]byte, []int)

Deprecated: Use Commit.ProtoReflect.Descriptor instead.

func (*Commit) GetBlockID

func (x *Commit) GetBlockID() *BlockID

func (*Commit) GetPrecommits

func (x *Commit) GetPrecommits() []*CommitSig

func (*Commit) ProtoMessage

func (*Commit) ProtoMessage()

func (*Commit) ProtoReflect

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

func (*Commit) Reset

func (x *Commit) Reset()

func (*Commit) String

func (x *Commit) String() string

type CommitSig

type CommitSig struct {
	Type             uint32               `protobuf:"varint,1,opt,name=Type,proto3" json:"Type,omitempty"`
	Height           int64                `protobuf:"zigzag64,2,opt,name=Height,proto3" json:"Height,omitempty"`
	Round            int64                `protobuf:"zigzag64,3,opt,name=Round,proto3" json:"Round,omitempty"`
	BlockID          *BlockID             `protobuf:"bytes,4,opt,name=BlockID,proto3" json:"BlockID,omitempty"`
	Timestamp        *timestamp.Timestamp `protobuf:"bytes,5,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	ValidatorAddress []byte               `protobuf:"bytes,6,opt,name=ValidatorAddress,proto3" json:"ValidatorAddress,omitempty"`
	ValidatorIndex   int64                `protobuf:"zigzag64,7,opt,name=ValidatorIndex,proto3" json:"ValidatorIndex,omitempty"`
	Signature        []byte               `protobuf:"bytes,8,opt,name=Signature,proto3" json:"Signature,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitSig) Descriptor deprecated

func (*CommitSig) Descriptor() ([]byte, []int)

Deprecated: Use CommitSig.ProtoReflect.Descriptor instead.

func (*CommitSig) GetBlockID

func (x *CommitSig) GetBlockID() *BlockID

func (*CommitSig) GetHeight

func (x *CommitSig) GetHeight() int64

func (*CommitSig) GetRound

func (x *CommitSig) GetRound() int64

func (*CommitSig) GetSignature

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

func (*CommitSig) GetTimestamp

func (x *CommitSig) GetTimestamp() *timestamp.Timestamp

func (*CommitSig) GetType

func (x *CommitSig) GetType() uint32

func (*CommitSig) GetValidatorAddress

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

func (*CommitSig) GetValidatorIndex

func (x *CommitSig) GetValidatorIndex() int64

func (*CommitSig) ProtoMessage

func (*CommitSig) ProtoMessage()

func (*CommitSig) ProtoReflect

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

func (*CommitSig) Reset

func (x *CommitSig) Reset()

func (*CommitSig) String

func (x *CommitSig) String() string

type Data

type Data struct {
	Txs [][]byte `protobuf:"bytes,1,rep,name=Txs,proto3" json:"Txs,omitempty"`
	// contains filtered or unexported fields
}

func (*Data) Descriptor deprecated

func (*Data) Descriptor() ([]byte, []int)

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetTxs

func (x *Data) GetTxs() [][]byte

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

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

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

type DuplicateVoteEvidence

type DuplicateVoteEvidence struct {
	PubKey *any.Any `protobuf:"bytes,1,opt,name=PubKey,proto3" json:"PubKey,omitempty"`
	VoteA  *Vote    `protobuf:"bytes,2,opt,name=VoteA,proto3" json:"VoteA,omitempty"`
	VoteB  *Vote    `protobuf:"bytes,3,opt,name=VoteB,proto3" json:"VoteB,omitempty"`
	// contains filtered or unexported fields
}

func (*DuplicateVoteEvidence) Descriptor deprecated

func (*DuplicateVoteEvidence) Descriptor() ([]byte, []int)

Deprecated: Use DuplicateVoteEvidence.ProtoReflect.Descriptor instead.

func (*DuplicateVoteEvidence) GetPubKey

func (x *DuplicateVoteEvidence) GetPubKey() *any.Any

func (*DuplicateVoteEvidence) GetVoteA

func (x *DuplicateVoteEvidence) GetVoteA() *Vote

func (*DuplicateVoteEvidence) GetVoteB

func (x *DuplicateVoteEvidence) GetVoteB() *Vote

func (*DuplicateVoteEvidence) ProtoMessage

func (*DuplicateVoteEvidence) ProtoMessage()

func (*DuplicateVoteEvidence) ProtoReflect

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

func (*DuplicateVoteEvidence) Reset

func (x *DuplicateVoteEvidence) Reset()

func (*DuplicateVoteEvidence) String

func (x *DuplicateVoteEvidence) String() string

type EventNewBlock

type EventNewBlock struct {
	Block            *Block                 `protobuf:"bytes,1,opt,name=Block,proto3" json:"Block,omitempty"`
	ResultBeginBlock *pb.ResponseBeginBlock `protobuf:"bytes,2,opt,name=ResultBeginBlock,proto3" json:"ResultBeginBlock,omitempty"`
	ResultEndBlock   *pb.ResponseEndBlock   `protobuf:"bytes,3,opt,name=ResultEndBlock,proto3" json:"ResultEndBlock,omitempty"`
	// contains filtered or unexported fields
}

func (*EventNewBlock) Descriptor deprecated

func (*EventNewBlock) Descriptor() ([]byte, []int)

Deprecated: Use EventNewBlock.ProtoReflect.Descriptor instead.

func (*EventNewBlock) GetBlock

func (x *EventNewBlock) GetBlock() *Block

func (*EventNewBlock) GetResultBeginBlock

func (x *EventNewBlock) GetResultBeginBlock() *pb.ResponseBeginBlock

func (*EventNewBlock) GetResultEndBlock

func (x *EventNewBlock) GetResultEndBlock() *pb.ResponseEndBlock

func (*EventNewBlock) ProtoMessage

func (*EventNewBlock) ProtoMessage()

func (*EventNewBlock) ProtoReflect

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

func (*EventNewBlock) Reset

func (x *EventNewBlock) Reset()

func (*EventNewBlock) String

func (x *EventNewBlock) String() string

type EventNewBlockHeader

type EventNewBlockHeader struct {
	Header           *Header                `protobuf:"bytes,1,opt,name=Header,proto3" json:"Header,omitempty"`
	ResultBeginBlock *pb.ResponseBeginBlock `protobuf:"bytes,2,opt,name=ResultBeginBlock,proto3" json:"ResultBeginBlock,omitempty"`
	ResultEndBlock   *pb.ResponseEndBlock   `protobuf:"bytes,3,opt,name=ResultEndBlock,proto3" json:"ResultEndBlock,omitempty"`
	// contains filtered or unexported fields
}

func (*EventNewBlockHeader) Descriptor deprecated

func (*EventNewBlockHeader) Descriptor() ([]byte, []int)

Deprecated: Use EventNewBlockHeader.ProtoReflect.Descriptor instead.

func (*EventNewBlockHeader) GetHeader

func (x *EventNewBlockHeader) GetHeader() *Header

func (*EventNewBlockHeader) GetResultBeginBlock

func (x *EventNewBlockHeader) GetResultBeginBlock() *pb.ResponseBeginBlock

func (*EventNewBlockHeader) GetResultEndBlock

func (x *EventNewBlockHeader) GetResultEndBlock() *pb.ResponseEndBlock

func (*EventNewBlockHeader) ProtoMessage

func (*EventNewBlockHeader) ProtoMessage()

func (*EventNewBlockHeader) ProtoReflect

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

func (*EventNewBlockHeader) Reset

func (x *EventNewBlockHeader) Reset()

func (*EventNewBlockHeader) String

func (x *EventNewBlockHeader) String() string

type EventString

type EventString struct {
	Value string `protobuf:"bytes,1,opt,name=Value,proto3" json:"Value,omitempty"`
	// contains filtered or unexported fields
}

func (*EventString) Descriptor deprecated

func (*EventString) Descriptor() ([]byte, []int)

Deprecated: Use EventString.ProtoReflect.Descriptor instead.

func (*EventString) GetValue

func (x *EventString) GetValue() string

func (*EventString) ProtoMessage

func (*EventString) ProtoMessage()

func (*EventString) ProtoReflect

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

func (*EventString) Reset

func (x *EventString) Reset()

func (*EventString) String

func (x *EventString) String() string

type EventTx

type EventTx struct {
	Result *TxResult `protobuf:"bytes,1,opt,name=Result,proto3" json:"Result,omitempty"`
	// contains filtered or unexported fields
}

func (*EventTx) Descriptor deprecated

func (*EventTx) Descriptor() ([]byte, []int)

Deprecated: Use EventTx.ProtoReflect.Descriptor instead.

func (*EventTx) GetResult

func (x *EventTx) GetResult() *TxResult

func (*EventTx) ProtoMessage

func (*EventTx) ProtoMessage()

func (*EventTx) ProtoReflect

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

func (*EventTx) Reset

func (x *EventTx) Reset()

func (*EventTx) String

func (x *EventTx) String() string

type EventValidatorSetUpdates

type EventValidatorSetUpdates struct {
	ValidatorUpdates []*pb.ValidatorUpdate `protobuf:"bytes,1,rep,name=ValidatorUpdates,proto3" json:"ValidatorUpdates,omitempty"`
	// contains filtered or unexported fields
}

func (*EventValidatorSetUpdates) Descriptor deprecated

func (*EventValidatorSetUpdates) Descriptor() ([]byte, []int)

Deprecated: Use EventValidatorSetUpdates.ProtoReflect.Descriptor instead.

func (*EventValidatorSetUpdates) GetValidatorUpdates

func (x *EventValidatorSetUpdates) GetValidatorUpdates() []*pb.ValidatorUpdate

func (*EventValidatorSetUpdates) ProtoMessage

func (*EventValidatorSetUpdates) ProtoMessage()

func (*EventValidatorSetUpdates) ProtoReflect

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

func (*EventValidatorSetUpdates) Reset

func (x *EventValidatorSetUpdates) Reset()

func (*EventValidatorSetUpdates) String

func (x *EventValidatorSetUpdates) String() string

type EventVote

type EventVote struct {
	Vote *Vote `protobuf:"bytes,1,opt,name=Vote,proto3" json:"Vote,omitempty"`
	// contains filtered or unexported fields
}

func (*EventVote) Descriptor deprecated

func (*EventVote) Descriptor() ([]byte, []int)

Deprecated: Use EventVote.ProtoReflect.Descriptor instead.

func (*EventVote) GetVote

func (x *EventVote) GetVote() *Vote

func (*EventVote) ProtoMessage

func (*EventVote) ProtoMessage()

func (*EventVote) ProtoReflect

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

func (*EventVote) Reset

func (x *EventVote) Reset()

func (*EventVote) String

func (x *EventVote) String() string
type Header struct {
	Version            string               `protobuf:"bytes,1,opt,name=Version,proto3" json:"Version,omitempty"`
	ChainID            string               `protobuf:"bytes,2,opt,name=ChainID,proto3" json:"ChainID,omitempty"`
	Height             int64                `protobuf:"zigzag64,3,opt,name=Height,proto3" json:"Height,omitempty"`
	Time               *timestamp.Timestamp `protobuf:"bytes,4,opt,name=Time,proto3" json:"Time,omitempty"`
	NumTxs             int64                `protobuf:"zigzag64,5,opt,name=NumTxs,proto3" json:"NumTxs,omitempty"`
	TotalTxs           int64                `protobuf:"zigzag64,6,opt,name=TotalTxs,proto3" json:"TotalTxs,omitempty"`
	AppVersion         string               `protobuf:"bytes,7,opt,name=AppVersion,proto3" json:"AppVersion,omitempty"`
	LastBlockID        *BlockID             `protobuf:"bytes,8,opt,name=LastBlockID,proto3" json:"LastBlockID,omitempty"`
	LastCommitHash     []byte               `protobuf:"bytes,9,opt,name=LastCommitHash,proto3" json:"LastCommitHash,omitempty"`
	DataHash           []byte               `protobuf:"bytes,10,opt,name=DataHash,proto3" json:"DataHash,omitempty"`
	ValidatorsHash     []byte               `protobuf:"bytes,11,opt,name=ValidatorsHash,proto3" json:"ValidatorsHash,omitempty"`
	NextValidatorsHash []byte               `protobuf:"bytes,12,opt,name=NextValidatorsHash,proto3" json:"NextValidatorsHash,omitempty"`
	ConsensusHash      []byte               `protobuf:"bytes,13,opt,name=ConsensusHash,proto3" json:"ConsensusHash,omitempty"`
	AppHash            []byte               `protobuf:"bytes,14,opt,name=AppHash,proto3" json:"AppHash,omitempty"`
	LastResultsHash    []byte               `protobuf:"bytes,15,opt,name=LastResultsHash,proto3" json:"LastResultsHash,omitempty"`
	ProposerAddress    []byte               `protobuf:"bytes,16,opt,name=ProposerAddress,proto3" json:"ProposerAddress,omitempty"`
	// contains filtered or unexported fields
}

func (*Header) Descriptor deprecated

func (*Header) Descriptor() ([]byte, []int)

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetAppHash

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

func (*Header) GetAppVersion

func (x *Header) GetAppVersion() string

func (*Header) GetChainID

func (x *Header) GetChainID() string

func (*Header) GetConsensusHash

func (x *Header) GetConsensusHash() []byte

func (*Header) GetDataHash

func (x *Header) GetDataHash() []byte

func (*Header) GetHeight

func (x *Header) GetHeight() int64

func (*Header) GetLastBlockID

func (x *Header) GetLastBlockID() *BlockID

func (*Header) GetLastCommitHash

func (x *Header) GetLastCommitHash() []byte

func (*Header) GetLastResultsHash

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

func (*Header) GetNextValidatorsHash

func (x *Header) GetNextValidatorsHash() []byte

func (*Header) GetNumTxs

func (x *Header) GetNumTxs() int64

func (*Header) GetProposerAddress

func (x *Header) GetProposerAddress() []byte

func (*Header) GetTime

func (x *Header) GetTime() *timestamp.Timestamp

func (*Header) GetTotalTxs

func (x *Header) GetTotalTxs() int64

func (*Header) GetValidatorsHash

func (x *Header) GetValidatorsHash() []byte

func (*Header) GetVersion

func (x *Header) GetVersion() string

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) ProtoReflect

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

func (*Header) Reset

func (x *Header) Reset()

func (*Header) String

func (x *Header) String() string

type MockBadEvidence

type MockBadEvidence struct {
	MockGoodEvidence *MockGoodEvidence `protobuf:"bytes,1,opt,name=MockGoodEvidence,proto3" json:"MockGoodEvidence,omitempty"`
	// contains filtered or unexported fields
}

func (*MockBadEvidence) Descriptor deprecated

func (*MockBadEvidence) Descriptor() ([]byte, []int)

Deprecated: Use MockBadEvidence.ProtoReflect.Descriptor instead.

func (*MockBadEvidence) GetMockGoodEvidence

func (x *MockBadEvidence) GetMockGoodEvidence() *MockGoodEvidence

func (*MockBadEvidence) ProtoMessage

func (*MockBadEvidence) ProtoMessage()

func (*MockBadEvidence) ProtoReflect

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

func (*MockBadEvidence) Reset

func (x *MockBadEvidence) Reset()

func (*MockBadEvidence) String

func (x *MockBadEvidence) String() string

type MockGoodEvidence

type MockGoodEvidence struct {
	Height  int64  `protobuf:"zigzag64,1,opt,name=Height,proto3" json:"Height,omitempty"`
	Address []byte `protobuf:"bytes,2,opt,name=Address,proto3" json:"Address,omitempty"`
	// contains filtered or unexported fields
}

func (*MockGoodEvidence) Descriptor deprecated

func (*MockGoodEvidence) Descriptor() ([]byte, []int)

Deprecated: Use MockGoodEvidence.ProtoReflect.Descriptor instead.

func (*MockGoodEvidence) GetAddress

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

func (*MockGoodEvidence) GetHeight

func (x *MockGoodEvidence) GetHeight() int64

func (*MockGoodEvidence) ProtoMessage

func (*MockGoodEvidence) ProtoMessage()

func (*MockGoodEvidence) ProtoReflect

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

func (*MockGoodEvidence) Reset

func (x *MockGoodEvidence) Reset()

func (*MockGoodEvidence) String

func (x *MockGoodEvidence) String() string

type MockRandomGoodEvidence

type MockRandomGoodEvidence struct {
	MockGoodEvidence *MockGoodEvidence `protobuf:"bytes,1,opt,name=MockGoodEvidence,proto3" json:"MockGoodEvidence,omitempty"`
	// contains filtered or unexported fields
}

func (*MockRandomGoodEvidence) Descriptor deprecated

func (*MockRandomGoodEvidence) Descriptor() ([]byte, []int)

Deprecated: Use MockRandomGoodEvidence.ProtoReflect.Descriptor instead.

func (*MockRandomGoodEvidence) GetMockGoodEvidence

func (x *MockRandomGoodEvidence) GetMockGoodEvidence() *MockGoodEvidence

func (*MockRandomGoodEvidence) ProtoMessage

func (*MockRandomGoodEvidence) ProtoMessage()

func (*MockRandomGoodEvidence) ProtoReflect

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

func (*MockRandomGoodEvidence) Reset

func (x *MockRandomGoodEvidence) Reset()

func (*MockRandomGoodEvidence) String

func (x *MockRandomGoodEvidence) String() string

type PartSetHeader

type PartSetHeader struct {
	Total int64  `protobuf:"zigzag64,1,opt,name=Total,proto3" json:"Total,omitempty"`
	Hash  []byte `protobuf:"bytes,2,opt,name=Hash,proto3" json:"Hash,omitempty"`
	// contains filtered or unexported fields
}

func (*PartSetHeader) Descriptor deprecated

func (*PartSetHeader) Descriptor() ([]byte, []int)

Deprecated: Use PartSetHeader.ProtoReflect.Descriptor instead.

func (*PartSetHeader) GetHash

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

func (*PartSetHeader) GetTotal

func (x *PartSetHeader) GetTotal() int64

func (*PartSetHeader) ProtoMessage

func (*PartSetHeader) ProtoMessage()

func (*PartSetHeader) ProtoReflect

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

func (*PartSetHeader) Reset

func (x *PartSetHeader) Reset()

func (*PartSetHeader) String

func (x *PartSetHeader) String() string

type TxResult

type TxResult struct {
	Height   int64                 `protobuf:"zigzag64,1,opt,name=Height,proto3" json:"Height,omitempty"`
	Index    uint32                `protobuf:"varint,2,opt,name=Index,proto3" json:"Index,omitempty"`
	Tx       []byte                `protobuf:"bytes,3,opt,name=Tx,proto3" json:"Tx,omitempty"`
	Response *pb.ResponseDeliverTx `protobuf:"bytes,4,opt,name=Response,proto3" json:"Response,omitempty"`
	// contains filtered or unexported fields
}

func (*TxResult) Descriptor deprecated

func (*TxResult) Descriptor() ([]byte, []int)

Deprecated: Use TxResult.ProtoReflect.Descriptor instead.

func (*TxResult) GetHeight

func (x *TxResult) GetHeight() int64

func (*TxResult) GetIndex

func (x *TxResult) GetIndex() uint32

func (*TxResult) GetResponse

func (x *TxResult) GetResponse() *pb.ResponseDeliverTx

func (*TxResult) GetTx

func (x *TxResult) GetTx() []byte

func (*TxResult) ProtoMessage

func (*TxResult) ProtoMessage()

func (*TxResult) ProtoReflect

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

func (*TxResult) Reset

func (x *TxResult) Reset()

func (*TxResult) String

func (x *TxResult) String() string

type Validator

type Validator struct {
	Address          []byte   `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
	PubKey           *any.Any `protobuf:"bytes,2,opt,name=PubKey,proto3" json:"PubKey,omitempty"`
	VotingPower      int64    `protobuf:"zigzag64,3,opt,name=VotingPower,proto3" json:"VotingPower,omitempty"`
	ProposerPriority int64    `protobuf:"zigzag64,4,opt,name=ProposerPriority,proto3" json:"ProposerPriority,omitempty"`
	// contains filtered or unexported fields
}

func (*Validator) Descriptor deprecated

func (*Validator) Descriptor() ([]byte, []int)

Deprecated: Use Validator.ProtoReflect.Descriptor instead.

func (*Validator) GetAddress

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

func (*Validator) GetProposerPriority

func (x *Validator) GetProposerPriority() int64

func (*Validator) GetPubKey

func (x *Validator) GetPubKey() *any.Any

func (*Validator) GetVotingPower

func (x *Validator) GetVotingPower() int64

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) ProtoReflect

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

func (*Validator) Reset

func (x *Validator) Reset()

func (*Validator) String

func (x *Validator) String() string

type Vote

type Vote struct {
	Type             uint32               `protobuf:"varint,1,opt,name=Type,proto3" json:"Type,omitempty"`
	Height           int64                `protobuf:"zigzag64,2,opt,name=Height,proto3" json:"Height,omitempty"`
	Round            int64                `protobuf:"zigzag64,3,opt,name=Round,proto3" json:"Round,omitempty"`
	BlockID          *BlockID             `protobuf:"bytes,4,opt,name=BlockID,proto3" json:"BlockID,omitempty"`
	Timestamp        *timestamp.Timestamp `protobuf:"bytes,5,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	ValidatorAddress []byte               `protobuf:"bytes,6,opt,name=ValidatorAddress,proto3" json:"ValidatorAddress,omitempty"`
	ValidatorIndex   int64                `protobuf:"zigzag64,7,opt,name=ValidatorIndex,proto3" json:"ValidatorIndex,omitempty"`
	Signature        []byte               `protobuf:"bytes,8,opt,name=Signature,proto3" json:"Signature,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() int64

func (*Vote) GetSignature

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

func (*Vote) GetTimestamp

func (x *Vote) GetTimestamp() *timestamp.Timestamp

func (*Vote) GetType

func (x *Vote) GetType() uint32

func (*Vote) GetValidatorAddress

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

func (*Vote) GetValidatorIndex

func (x *Vote) GetValidatorIndex() int64

func (*Vote) ProtoMessage

func (*Vote) ProtoMessage()

func (*Vote) ProtoReflect

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

func (*Vote) Reset

func (x *Vote) Reset()

func (*Vote) String

func (x *Vote) String() string

Jump to

Keyboard shortcuts

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