Some checks are pending
docker-build-cometbft / vars (push) Waiting to run
docker-build-cometbft / build-images (amd64, ubuntu-24.04) (push) Blocked by required conditions
docker-build-cometbft / build-images (arm64, ubuntu-24.04-arm) (push) Blocked by required conditions
docker-build-cometbft / merge-images (push) Blocked by required conditions
docker-build-e2e-node / vars (push) Waiting to run
docker-build-e2e-node / build-images (amd64, ubuntu-24.04) (push) Blocked by required conditions
docker-build-e2e-node / build-images (arm64, ubuntu-24.04-arm) (push) Blocked by required conditions
docker-build-e2e-node / merge-images (push) Blocked by required conditions
41 lines
2 KiB
Markdown
41 lines
2 KiB
Markdown
---
|
|
order: 1
|
|
parent:
|
|
title: ABCI++
|
|
order: 3
|
|
---
|
|
|
|
# ABCI++
|
|
|
|
## Introduction
|
|
|
|
ABCI++ is a major evolution of ABCI (**A**pplication **B**lock**c**hain **I**nterface).
|
|
Like its predecessor, ABCI++ is the interface between CometBFT (a state-machine
|
|
replication engine) and the actual state machine being replicated (i.e., the Application).
|
|
The API consists of a set of _methods_, each with a corresponding `Request` and `Response`
|
|
message type.
|
|
|
|
The methods are always initiated by CometBFT. The Application implements its logic
|
|
for handling all ABCI++ methods.
|
|
Thus, CometBFT always sends the `Request*` messages and receives the `Response*` messages
|
|
in return.
|
|
|
|
All ABCI++ messages and methods are defined in [protocol buffers](https://github.com/cometbft/cometbft/blob/v0.38.x/proto/tendermint/abci/types.proto).
|
|
This allows CometBFT to run with applications written in many programming languages.
|
|
|
|
This specification is split as follows:
|
|
|
|
- [Overview and basic concepts](./abci++_basic_concepts.md) - interface's overview and concepts
|
|
needed to understand other parts of this specification.
|
|
- [Methods](./abci++_methods.md) - complete details on all ABCI++ methods
|
|
and message types.
|
|
- [Requirements for the Application](./abci++_app_requirements.md) - formal requirements
|
|
on the Application's logic to ensure CometBFT properties such as liveness. These requirements define what
|
|
CometBFT expects from the Application; second part on managing ABCI application state and related topics.
|
|
- [CometBFT's expected behavior](./abci++_comet_expected_behavior.md) - specification of
|
|
how the different ABCI++ methods may be called by CometBFT. This explains what the Application
|
|
is to expect from CometBFT.
|
|
- [Example scenarios](./abci++_example_scenarios.md) - specific scenarios showing why the Application needs to account
|
|
for any CometBFT's behaviour prescribed by the specification.
|
|
- [Client and Server](./abci++_client_server.md) - for those looking to implement their
|
|
own ABCI application servers.
|