MCPcopy Index your code
hub / github.com/tendermint/tendermint

github.com/tendermint/tendermint @v0.35.9 sqlite

repository ↗ · DeepWiki ↗ · release v0.35.9 ↗
10,809 symbols 43,998 edges 724 files 3,619 documented · 33%
README

Tendermint

banner

Byzantine-Fault Tolerant State Machines. Or Blockchain, for short.

version API Reference Go version Discord chat license tendermint/tendermint Sourcegraph

Branch Tests Coverage Linting
master Tests codecov Lint

Tendermint Core 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.

For protocol details, see the specification.

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

Releases

Please do not depend on master as your production branch. Use releases instead.

Tendermint has been in the production of private and public environments, most notably the blockchains of the Cosmos Network. we haven't released v1.0 yet since we are making breaking changes to the protocol and the APIs. See below for more details about versioning.

In any case, if you intend to run Tendermint in production, we're happy to help. You can contact us over email or join the chat.

Security

To report a security vulnerability, see our bug bounty program. For examples of the kinds of bugs we're looking for, see our security policy.

We also maintain a dedicated mailing list for security updates. We will only ever use this mailing list to notify you of vulnerabilities and fixes in Tendermint Core. You can subscribe here.

Minimum requirements

Requirement Notes
Go version Go1.16 or higher

Documentation

Complete documentation can be found on the website.

Install

See the install instructions.

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, watch the Developer Sessions, and familiarize yourself with our Architectural Decision Records.

Versioning

Semantic Versioning

Tendermint uses Semantic Versioning to determine when and how the version changes. According to SemVer, anything in the public API can change at any time before version 1.0.0

To provide some stability to users of 0.X.X versions of Tendermint, the MINOR version is used to signal breaking changes across Tendermint's API. This API includes all publicly exposed types, functions, and methods in non-internal Go packages as well as the types and methods accessible via the Tendermint RPC interface.

Breaking changes to these public APIs will be documented in the CHANGELOG.

Upgrades

In an effort to avoid accumulating technical debt prior to 1.0.0, we do not guarantee that breaking changes (ie. bumps in the MINOR version) will work with existing Tendermint blockchains. In these cases you will have to start a new blockchain, or write something custom to get the old data into the new chain. However, any bump in the PATCH version should be compatible with existing blockchain histories.

For more information on upgrading, see UPGRADING.md.

Supported Versions

Because we are a small core team, we only ship patch updates, including security updates, to the most recent minor release and the second-most recent minor release. Consequently, we strongly recommend keeping Tendermint up-to-date. Upgrading instructions can be found in UPGRADING.md.

Resources

Tendermint Core

For details about the blockchain data structures and the p2p protocols, see the Tendermint specification.

For details on using the software, see the documentation which is also hosted at: https://docs.tendermint.com/master/

Tools

Benchmarking is provided by tm-load-test. Additional tooling can be found in /docs/tools.

Applications

Research

Join us!

Tendermint Core is maintained by Interchain GmbH. If you'd like to work full-time on Tendermint Core, we're hiring!

Funding for Tendermint Core development comes primarily from the Interchain Foundation, a Swiss non-profit. The Tendermint trademark is owned by Tendermint Inc., the for-profit entity that also maintains tendermint.com.

Extension points exported contracts — how you extend this code

PrivValidator (Interface)
PrivValidator defines the functionality of a local Tendermint validator that signs votes and proposals, and never double [9 …
types/priv_validator.go
Wrapper (Interface)
Wrapper is a Protobuf message that can contain a variety of inner messages (e.g. via oneof fields). If a Channel's messa [6 …
internal/p2p/router.go
AppConnConsensus (Interface)
go:generate ../../scripts/mockery_generate.sh AppConnConsensus|AppConnMempool|AppConnQuery|AppConnSnapshot ------------- [6 …
internal/proxy/app_conn.go
Message (Interface)
Message defines an interface that the consensus domain types implement. When a proto message is received on a consensus [36 …
internal/consensus/msgs.go
ABCIClient (Interface)
ABCIClient groups together the functionality that principally affects the ABCI app. In many cases this will be all we w [8 …
rpc/client/interface.go
Application (Interface)
Application is an interface that enables any finite, deterministic state machine to be driven by a blockchain-based repl [5 …
abci/types/application.go
EventSink (Interface)
go:generate ../../../scripts/mockery_generate.sh EventSink EventSink interface is defined the APIs for the IndexerServic [5 …
internal/state/indexer/eventsink.go
Mempool (Interface)
Mempool defines the mempool interface. Updates to the mempool need to be synchronized with committing a block so applic [4 …
internal/mempool/mempool.go

Core symbols most depended-on inside this repo

Error
called by 716
internal/proxy/app_conn.go
Error
called by 497
libs/log/logger.go
Get
called by 490
internal/p2p/peer.go
Unlock
called by 480
internal/mempool/mempool.go
Lock
called by 467
internal/mempool/mempool.go
Add
called by 441
crypto/crypto.go
Hash
called by 386
types/evidence.go
Info
called by 308
libs/os/os.go

Shape

Method 6,677
Function 2,923
Struct 911
Interface 149
TypeAlias 78
FuncType 69
Class 2

Languages

Go100%
Python1%

Modules by API surface

abci/types/types.pb.go987 symbols
proto/tendermint/types/types.pb.go262 symbols
proto/tendermint/consensus/types.pb.go246 symbols
proto/tendermint/privval/types.pb.go242 symbols
proto/tendermint/statesync/types.pb.go212 symbols
proto/tendermint/p2p/pex.pb.go146 symbols
proto/tendermint/blocksync/types.pb.go136 symbols
proto/tendermint/consensus/wal.pb.go119 symbols
proto/tendermint/types/params.pb.go114 symbols
proto/tendermint/p2p/conn.pb.go109 symbols
proto/tendermint/state/types.pb.go103 symbols
proto/tendermint/p2p/types.pb.go101 symbols

Dependencies from manifests, versioned

github.com/adlio/schemav1.3.3 · 1×
github.com/btcsuite/btcutilv1.0.3-0.20201208143 · 1×
github.com/cenkalti/backoffv2.2.1+incompatible · 1×
github.com/creachadair/atomicfilev0.2.6 · 1×
github.com/creachadair/taskgroupv0.3.2 · 1×
github.com/creachadair/tomleditv0.0.22 · 1×
github.com/facebookgo/ensurev0.0.0-2016012719340 · 1×
github.com/facebookgo/stackv0.0.0-2016020918441 · 1×

For agents

$ claude mcp add tendermint \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact