package cometbft.types.v1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message ABCIParams

params.proto:138

ABCIParams is deprecated and its contents moved to FeatureParams

Used in: ConsensusParams

message Block

block.proto:11

Block defines the structure of a block in the CometBFT blockchain.

Used in: blocksync.v1.BlockResponse, services.block.v1.GetByHeightResponse

message BlockID

types.proto:42

BlockID defines the unique ID of a block as its hash and its `PartSetHeader`.

Used in: consensus.v1.VoteSetBits, consensus.v1.VoteSetMaj23, services.block.v1.GetByHeightResponse, state.v1.State, BlockMeta, Commit, ExtendedCommit, Header, Proposal, Vote

enum BlockIDFlag

validator.proto:10

BlockIdFlag indicates which BlockID the signature is for

Used in: abci.v1.ExtendedVoteInfo, abci.v1.VoteInfo, CommitSig, ExtendedCommitSig

message BlockMeta

types.proto:172

BlockMeta contains meta information about a block.

message BlockParams

params.proto:25

BlockParams define limits on the block size and gas.

Used in: ConsensusParams

message CanonicalBlockID

canonical.proto:12

CanonicalBlockID is a canonical representation of a BlockID, which gets serialized and signed.

Used in: CanonicalProposal, CanonicalVote

message CanonicalPartSetHeader

canonical.proto:19

CanonicalPartSetHeader is a canonical representation of a PartSetHeader, which gets serialized and signed.

Used in: CanonicalBlockID

message CanonicalProposal

canonical.proto:26

CanonicalProposal is a canonical representation of a Proposal, which gets serialized and signed.

message CanonicalVote

canonical.proto:38

CanonicalVote is a canonical representation of a Vote, which gets serialized and signed.

message CanonicalVoteExtension

canonical.proto:49

CanonicalVoteExtension provides us a way to serialize a vote extension from a particular validator such that we can sign over those serialized bytes.

message Commit

types.proto:107

Commit contains the evidence that a block was committed by a set of validators.

Used in: Block, SignedHeader

message CommitSig

types.proto:115

CommitSig is a part of the Vote included in a Commit.

Used in: Commit

message ConsensusParams

params.proto:14

ConsensusParams contains consensus critical parameters that determine the validity of blocks.

Used in: abci.v1.FinalizeBlockResponse, abci.v1.InitChainRequest, abci.v1.InitChainResponse, abci.v1beta3.RequestInitChain, abci.v1beta3.ResponseFinalizeBlock, abci.v1beta3.ResponseInitChain, services.block_results.v1.GetBlockResultsResponse, state.v1.ConsensusParamsInfo, state.v1.ResponseEndBlock, state.v1.State, state.v1beta3.ConsensusParamsInfo, state.v1beta3.ResponseEndBlock, state.v1beta3.State

message Data

types.proto:75

Data contains the set of transactions included in the block

Used in: Block

message DuplicateVoteEvidence

evidence.proto:21

DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes.

Used in: Evidence

message EventDataRoundState

events.proto:7

EventDataRoundState is emitted with each new round step.

Used in: consensus.v1.WALMessage

message Evidence

evidence.proto:12

Evidence is a generic type for wrapping evidence of misbehavior by a validator.

Used in: EvidenceList

message EvidenceList

evidence.proto:39

EvidenceList is a list of evidence.

Used in: Block

message EvidenceParams

params.proto:42

EvidenceParams determine the validity of evidences of Byzantine behavior.

Used in: ConsensusParams

message ExtendedCommit

types.proto:124

ExtendedCommit is a Commit with ExtendedCommitSig.

Used in: blocksync.v1.BlockResponse

message ExtendedCommitSig

types.proto:135

ExtendedCommitSig retains all the same fields as CommitSig but adds vote extension-related fields. We use two signatures to ensure backwards compatibility. That is the digest of the original signature is still the same in prior versions

Used in: ExtendedCommit

message FeatureParams

params.proto:111

FeatureParams configure the height from which features of CometBFT are enabled.

Used in: ConsensusParams

message HashedParams

params.proto:88

HashedParams is a subset of ConsensusParams. It is hashed into the Header.ConsensusHash.

types.proto:48

Header defines the structure of a block header.

Used in: Block, BlockMeta, SignedHeader

message LightBlock

types.proto:166

LightBlock is a combination of SignedHeader and ValidatorSet. It is used by light clients.

Used in: LightClientAttackEvidence

message LightClientAttackEvidence

evidence.proto:30

LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client.

Used in: Evidence

message Part

types.proto:35

Part of the block.

Used in: consensus.v1.BlockPart

message PartSetHeader

types.proto:29

Header of the parts set for a block.

Used in: consensus.v1.NewValidBlock, BlockID

message Proposal

types.proto:148

Block proposal.

Used in: consensus.v1.Proposal, privval.v1.SignProposalRequest, privval.v1.SignedProposalResponse, privval.v1beta2.SignProposalRequest, privval.v1beta2.SignedProposalResponse

message SignedHeader

types.proto:160

SignedHeader contains a Header(H) and Commit(H+1) with signatures of validators who signed it.

Used in: LightBlock

enum SignedMsgType

types.proto:14

SignedMsgType is a type of signed message in the consensus.

Used in: consensus.v1.HasVote, consensus.v1.VoteSetBits, consensus.v1.VoteSetMaj23, CanonicalProposal, CanonicalVote, Proposal, Vote

message SimpleValidator

validator.proto:42

SimpleValidator is a Validator, which is serialized and hashed in consensus. Address is removed because it's redundant with the pubkey. Proposer priority is removed because it changes every round.

message SynchronyParams

params.proto:99

SynchronyParams determine the validity of block timestamps. These parameters are part of the Proposer-Based Timestamps (PBTS) algorithm. For more information on the relationship of the synchrony parameters to block timestamps validity, refer to the PBTS specification: https://github.com/tendermint/spec/blob/master/spec/consensus/proposer-based-timestamp/README.md

Used in: ConsensusParams

message TxProof

types.proto:180

TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree.

message Validator

validator.proto:32

Validator represents a node participating in the consensus protocol.

Used in: LightClientAttackEvidence, ValidatorSet

message ValidatorParams

params.proto:67

ValidatorParams restrict the public key types validators can use. NOTE: uses ABCI public keys naming, not Amino names.

Used in: ConsensusParams

message ValidatorSet

validator.proto:25

ValidatorSet defines a set of validators.

Used in: state.v1.State, state.v1.ValidatorsInfo, LightBlock

message VersionParams

params.proto:75

VersionParams contain the version of specific components of CometBFT.

Used in: ConsensusParams

message Vote

types.proto:84

Vote represents a prevote or precommit vote from validators for consensus.

Used in: consensus.v1.Vote, privval.v1.SignVoteRequest, privval.v1.SignedVoteResponse, privval.v1beta2.SignVoteRequest, privval.v1beta2.SignedVoteResponse, DuplicateVoteEvidence