CometBFT is an open-source Byzantine fault tolerant consensus engine that replicates an application across a set of validators and finalizes each block as soon as more than two thirds of voting power sign it. Within consensus mechanisms in Crypto & blockchain, it is the best-known production implementation of classical BFT consensus combined with proof of stake, and it powers the Cosmos Hub and most chains built with the Cosmos SDK.
CometBFT is the direct continuation of Tendermint Core, the engine designed by Jae Kwon and Ethan Buchman. In 2023 maintenance moved to a fork under the new name, so documentation, code and older chains still use the name Tendermint for the same algorithm.
How CometBFT reaches agreement on a block
CometBFT decides each block height through one or more rounds, and each round has three steps: propose, prevote and precommit. A block is committed only when a validator sees precommits from more than two thirds of the total voting power for the same block.
A proposer chosen by a weighted round-robin over voting power broadcasts a candidate block. Validators then send prevotes for that block or for nil, and once a validator sees more than two thirds of prevotes for one block, it locks on that block and sends a precommit. The locking rule prevents two different blocks from being committed at the same height, even when messages arrive late or out of order.
| Step | What validators do | Threshold to advance |
|---|---|---|
| Propose | The designated proposer broadcasts a block | Proposal received or timeout |
| Prevote | Each validator votes for the block or nil | More than 2/3 prevotes seen |
| Precommit | Validators locked on the block precommit it | More than 2/3 precommits seen |
| Commit | The block is final and executed by the application | Immediate after precommit quorum |
If a round fails, for example because the proposer is offline, validators move to the next round with a new proposer and gradually longer timeouts. This design makes the protocol partially synchronous: it remains safe at all times and resumes progress once network delays fall within bounds.
Separation of consensus and application through ABCI
CometBFT handles only networking, ordering and finality, while the state machine that defines balances, smart contracts or governance runs in a separate application. The two communicate through the Application Blockchain Interface (ABCI), which lets developers write the application in any programming language.
The interface evolved into ABCI++, completed in the 0.38 release line. It gives the application hooks at every step of block production, which enables features such as vote extensions for oracle prices and custom block construction.
| Method | When it is called | Typical use |
|---|---|---|
| PrepareProposal | The proposer builds a block | Reorder or filter transactions |
| ProcessProposal | Validators receive a proposal | Reject invalid blocks early |
| ExtendVote | Before a precommit is sent | Attach oracle prices or other data |
| VerifyVoteExtension | Another validator’s extension arrives | Validate attached data |
| FinalizeBlock | After the block is committed | Execute transactions and update state |
| CheckTx | A transaction enters the mempool | Basic validity and spam filtering |
Fault tolerance and finality guarantees
CometBFT is safe as long as less than one third of voting power is Byzantine, meaning faulty or malicious. Under that assumption, two honest validators never commit different blocks at the same height, so the chain offers deterministic, instant finality rather than the probabilistic finality of proof of work.
The engine favors safety over liveness. If one third or more of voting power goes offline, the chain halts instead of forking, and it resumes once enough validators return. Cosmos chains have experienced such halts, which operators usually resolve through coordinated restarts rather than reorganizations.
Misbehavior is detectable. A validator that signs two different blocks at the same height produces evidence of equivocation, which CometBFT passes to the application. In Cosmos SDK chains, that evidence triggers slashing of the validator stake and tombstoning of its key.
How CometBFT compares with other consensus designs
CometBFT belongs to the family of Practical Byzantine fault tolerance protocols but simplifies leader changes by rotating the proposer every height. The comparison below places it next to designs that appear elsewhere in consensus discussions.
| Property | CometBFT | Nakamoto consensus | Ethereum proof of stake |
|---|---|---|---|
| Finality | Instant, deterministic | Probabilistic | Economic finality after two epochs |
| Fault tolerance | Below 1/3 Byzantine | Below 1/2 hash rate | Below 1/3 stake for finality |
| Behavior under partition | Halts rather than forks | Forks and reorganizes | Continues, finality may stall |
| Practical validator count | Tens to a few hundred | Open, unlimited miners | Hundreds of thousands |
| Typical block time | About 1 to 7 seconds | About 10 minutes | 12 seconds |
The main trade-off is message complexity. Every validator gossips votes to the others, so communication grows roughly with the square of the validator count. For this reason, CometBFT chains usually cap the active set; the Cosmos Hub, for instance, runs about 180 active validators.
Practical deployment and operational risks
Operating a CometBFT validator requires attention to key management and uptime, because both double signing and long downtime can lead to penalties at the application level.
- Never run two validator instances with the same key; failover setups without a remote signer are a common cause of double-sign slashing.
- Use sentry node architecture to hide the validator behind public full nodes and reduce denial-of-service exposure.
- Tune timeout parameters carefully; aggressive values shorten blocks but increase failed rounds on slow networks.
- Plan coordinated upgrades, because all validators must switch binaries at the same height.
Light clients are a further strength. Because each committed block carries signatures from more than two thirds of voting power, a light client can verify headers cheaply, which is the foundation of the Inter-Blockchain Communication protocol (IBC) between Cosmos chains.
The idea in brief
CometBFT is the voting system that lets a group of computers agree on the next page of a shared ledger. A page is accepted only when more than two thirds of the voters approve it, and once accepted it never changes.
Think of a committee that must sign a document. If too many members are absent, the committee simply waits rather than letting a minority decide. That makes the system slower to recover in a crisis but very reliable once a decision is made.
A practical scenario
A team launches an application-specific chain for a decentralized exchange using the Cosmos SDK on top of CometBFT. They start with 60 validators, set the target block time near two seconds and use the PrepareProposal hook to order trades fairly within each block.
Traders see their orders final within one block, so the exchange can settle positions without waiting for extra confirmations. When an outage takes 25 validators offline during a cloud provider incident, more than one third of voting power disappears and the chain stops producing blocks for about 40 minutes. No conflicting blocks appear, and once operators restore their nodes, block production resumes without any reorganization or lost trades.