Get desktop application:
View/edit binary Protocol Buffers messages
Block defines the structure of a block in the CometBFT blockchain.
Used in:
BlockID defines the unique ID of a block as its hash and its `PartSetHeader`.
Used in:
, , , , , , , , ,BlockIdFlag indicates which BlockID the signature is for
Used in:
, ,Indicates an error condition
The vote was not received
Voted for the block that received the majority
Voted for nil
BlockMeta contains meta information about a block.
BlockParams contains limits on the block size.
Used in:
Max block size, in bytes. Note: must be greater than 0
Max gas per block. Note: must be greater or equal to -1
Minimum time increment between consecutive blocks (in milliseconds) If the block header timestamp is ahead of the system clock, decrease this value. Not exposed to the application.
CanonicalBlockID is a canonical representation of a BlockID, which gets serialized and signed.
Used in:
,CanonicalPartSetHeader is a canonical representation of a PartSetHeader, which gets serialized and signed.
Used in:
CanonicalProposal is a canonical representation of a Proposal, which gets serialized and signed.
type alias for byte
canonicalization requires fixed size encoding here
canonicalization requires fixed size encoding here
CanonicalVote is a canonical representation of a Vote, which gets serialized and signed.
type alias for byte
canonicalization requires fixed size encoding here
canonicalization requires fixed size encoding here
Commit contains the evidence that a block was committed by a set of validators.
Used in:
,CommitSig is a part of the Vote included in a Commit.
Used in:
ConsensusParams contains consensus critical parameters that determine the validity of blocks.
Used in:
,Data contains the set of transactions included in the block
Used in:
Txs that will be applied by state @ block.Height+1. NOTE: not all txs here are valid. We're just agreeing on the order first. This means that block.AppHash does not include these txs.
DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes.
Used in:
EventDataRoundState is emitted with each new round step.
Used in:
Evidence is a generic type for wrapping evidence of misbehavior by a validator.
Used in:
The type of evidence.
EvidenceList is a list of evidence.
Used in:
EvidenceParams determine how we handle evidence of malfeasance.
Used in:
, ,Max age of evidence, in blocks. The basic formula for calculating this is: MaxAgeDuration / {average block time}.
Max age of evidence, in time. It should correspond with an app's "unbonding period" or other similar mechanism for handling [Nothing-At-Stake attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).
This sets the maximum size of total evidence in bytes that can be committed in a single block. and should fall comfortably under the max block bytes. Default is 1048576 or 1MB
HashedParams is a subset of ConsensusParams. It is hashed into the Header.ConsensusHash.
Header defines the structure of a block header.
Used in:
, , , ,basic block info
prev block info
hashes of block data
commit from validators from the last block
transactions
hashes from the app output from the prev block
validators for the current block
validators for the next block
consensus params for current block
state after txs from the previous block
root hash of all results from the txs from the previous block
consensus info
evidence included in the block
original proposer of the block
LightBlock is a combination of SignedHeader and ValidatorSet. It is used by light clients.
Used in:
LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client.
Used in:
Part of the block.
Used in:
Header of the parts set for a block.
Used in:
,Block proposal.
Used in:
, ,SignedHeader contains a Header(H) and Commit(H+1) with signatures of validators who signed it.
Used in:
SignedMsgType is a type of signed message in the consensus.
Used in:
, , , , , ,Unknown
Prevote
Precommit
Proposal
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.
TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree.
Validator represents a node participating in the consensus protocol.
Used in:
,ValidatorParams restrict the public key types validators can use. NOTE: uses ABCI pubkey naming, not Amino names.
Used in:
, ,ValidatorSet defines a set of validators.
Used in:
, , , ,VersionParams contains the ABCI application version.
Used in:
, ,Was named app_version in Tendermint 0.34
Vote represents a prevote or precommit vote from validators for consensus.
Used in:
, , ,zero if vote is nil.