.changelog
feat(mempool): Add new Dynamic Optimal Graph (DOG) gossip protocol (#4555)
.github
chore: update to Go 1.26.2 (#11)
abci
[c-930] use metrics v2 to trace relevant code paths (#10)
api
chore: update to Go 1.26.2 (#11)
cmd
feat: support rollback by N blocks
config
feat: support rollback by N blocks
crypto
fix(crypto/bls12381): fix marshaling FilePVKey (backport #4772) (#4870)
DOCKER
chore: update to Go 1.26.2 (#11)
docs
chore: update to Go 1.26.2 (#11)
internal
IC-1112: move existing vote log INF -> DBG level (#12)
libs
perf(logging): strip debug log messages at compile-time (backport #4365) (#4375)
light
feat: add api to allow get unconfirmed_tx by hash (#3109)
mempool
[c-930] use metrics v2 to trace relevant code paths (#10)
networks
test(localnet): Add monitoring tools for localnet (backport #2108) (#2122)
node
[c-930] use metrics v2 to trace relevant code paths (#10)
p2p
fix(p2p/pex): fix TestConnectionSpeedForPeerReceivedFromSeed (backport #4660) (#4661)
privval
docs: fix godoc in `GenFilePV` (backport #4044) (#4063)
proto
feat(mempool): Add new Dynamic Optimal Graph (DOG) gossip protocol (#4555)
proxy
build(deps): Mock generation no longer uses the `latest` tag on `mockery`. (backport #4605) (#4607)
rpc
chore: update to Go 1.26.2 (#11)
scripts
chore: update to Go 1.26.2 (#11)
spec
spec(mempool/dog): Add spec of DOG gossip protocol (#4477)
state
feat: support rollback by N blocks
statesync
[c-930] use metrics v2 to trace relevant code paths (#10)
store
chore: improve error handling, add tests
test
chore: update to Go 1.26.2 (#11)
third_party
refactor: migrate to `cosmos/gogoproto` (#9356)
types
chore: improve error handling, add tests
version
squashed feature/mempool-qos into main
.clang-format
ux: use docker to format proto files (#5384)
.codespellrc
ci: upgrade pre-commit hooks versions (backport #3861) (#3872)
.dockerignore
test: add end-to-end testing framework (#5435)
.editorconfig
merge 2 rules in .editorconfig
.gitignore
fix: remove cometbft binary committed by accident (backport #2987) (#2992)
.golangci.yml
chore(deps): bump Go version to 1.23.5 (backport #4888) (#4890)
.goreleaser.yml
Renames the semantic versioning variable to CMT (#1621)
.markdownlint.yml
Prepare `main` to become new default branch (#9095)
.markdownlintignore
crypto: add in secp256k1 support (#5500)
.md-link-check.json
ci: Run Markdown link checker nightly (#9642)
.mockery.yml
feat(mocks): `mockery` v2.49.0 changes mock format (backport #4521) (#4525)
.pre-commit-config.yaml
ci: upgrade pre-commit hooks versions (backport #3861) (#3872)
buf.gen.yaml
feat(pbts): squashed branch `feature/pbts` onto `v1.x` (#2545)
buf.work.yaml
makefile: change buf to use tools.go ; backport v0.34 (#8852)
CHANGELOG.md
consensus: reject oversized proposals
CODE_OF_CONDUCT.md
Update CODE_OF_CONDUCT.md (#1708) (#1765)
codecov.yml
misc(go.mod): remove unused peg dependency (backport #2044) (#2054)
common.mk
perf(logging): strip debug log messages at compile-time (backport #4365) (#4375)
CONTRIBUTING.md
chore(docs): Expand contributing guidelines (backport #4459) (#4482)
docker-compose.yml
fix(docker-compose): fix subnet (backport #2383) (#2390)
dredd.yml
docs: rename swagger to openapi (#5263)
go.mod
chore: update to Go 1.26.2 (#11)
go.sum
[c-930] use metrics v2 to trace relevant code paths (#10)
go.work
chore: update to Go 1.26.2 (#11)
LICENSE
docs: Apply standard Apache 2.0 license (#9293)
Makefile
ci: remove govulncheck (backport #4946) (#4960)
README.md
chore: update to Go 1.26.2 (#11)
RELEASES.md
chore: file updates for the `v1.0.0-rc1` release (backport #3189) (#3300)
SECURITY.md
Update SECURITY.md (#1626)
STYLE_GUIDE.md
.md - replace references to TM (#148)
tests.mk
fix(bls12381): NewPublicKeyFromBytes: add missing infinity check (backport #4104) (#4132)
UPGRADING.md
docs: upgrade guide from `v0.38.x` to `v1.0` (backport #4184) (#4187)

CometBFT

Byzantine-Fault Tolerant State Machine Replication. Or Blockchain, for short.

BranchTestsLinting
main
v1.x
v0.38.x
v0.37.x
v0.34.x

CometBFT is a Byzantine Fault Tolerant (BFT) middleware that takes a state transition machine - written in any programming language - and securely replicates it on many machines.

It is a fork of Tendermint Core and implements the Tendermint consensus algorithm.

For protocol details, refer to the CometBFT Specification.

For detailed analysis of the consensus protocol, including safety and liveness proofs, read our paper, "The latest gossip on BFT consensus".

Documentation

Complete documentation can be found on the website.

Releases

Please do not depend on main as your production branch, as it may receive significant breaking changes at any time. Use releases instead.

If you intend to run CometBFT in production, we're happy to help. To contact us, in order of preference:

More on how releases are conducted can be found here.

Security

Please see SECURITY.md.

Minimum requirements

CometBFT versionRequirementVersionTested with
v1.x-injGo version1.26 or higherup to 1.26.2

Install

See the install guide.

Quick Start

Contributing

Please abide by the Code of Conduct in all interactions.

Before contributing to the project, please take a look at the contributing guidelines and the style guide. You may also find it helpful to read the specifications, and familiarize yourself with our Architectural Decision Records (ADRs) and Request For Comments (RFCs).

Versioning

As of v1, CometBFT uses the following approach to versioning:

  • Major version bumps, such as v1.0.0 to v2.0.0, would generally involve changes that force users to perform a coordinated upgrade in order to use the new version, such as protocol-breaking changes (e.g. changes to how block hashes are computed and thus what the network considers to be "valid blocks", or how the consensus protocol works, or changes that affect network-level compatibility between nodes, etc.).
  • Minor version bumps, such as v1.1.0 to v1.2.0, are reserved for rolling out new features or substantial changes that do not force a coordinated upgrade (i.e. not protocol-breaking), but could potentially break Go APIs.
  • Patch version bumps, such as v1.0.0 to v1.0.1, are reserved for bug/security fixes that are not protocol- or Go API-breaking.

Upgrades

We do not guarantee compatibility between major releases of CometBFT. Minor releases of the same major release series (v1.1, v1.2, etc.) should, unless otherwise specified, be compatible with each other. Patch releases of the same minor release series (v1.0.1, v1.0.2, etc.) are guaranteed to be compatible with each other.

For more detailed information on upgrading from one version to another, see UPGRADING.md.

Supported Versions

Because we are a small core team, we have limited capacity to ship patch updates, including security updates. Consequently, we strongly recommend keeping CometBFT up-to-date. Upgrading instructions can be found in UPGRADING.md.

Currently supported versions include:

  • v1.x: Currently in pre-release with no guarantees as to API stability until a release candidate is cut. See RELEASES.md for details on our process as to API stability guarantees that can be expected of CometBFT pre-releases.
  • v0.38.x: CometBFT v0.38 introduces ABCI 2.0, which implements the entirety of ABCI++
  • v0.37.x: CometBFT v0.37 introduces ABCI 1.0, which is the first major step towards the full ABCI++ implementation in ABCI 2.0
  • v0.34.x: The CometBFT v0.34 series is compatible with the Tendermint Core v0.34 series

Resources

Libraries

Applications

Research

Below are links to the original Tendermint consensus algorithm and relevant whitepapers, which CometBFT will continue to build on.

Join us

CometBFT is currently maintained by Informal Systems. If you'd like to work full-time on CometBFT, we're hiring!

Funding for CometBFT development comes primarily from the Interchain Foundation, a Swiss non-profit. Informal Systems also maintains cometbft.com.