Skip to content

Commit c3b4847

Browse files
committed
++
1 parent df3262f commit c3b4847

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

docs/architecture/adr-75-v2.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The Descision is to rewrite the core componenets (baseapp, server, store) of the
6060

6161
These components will be broken into separate go.mods. The modules consist of the following:
6262

63-
* Cometbft
63+
* Consensus
6464
* Appmanager
6565
* STF (State Transition Function)
6666
* Server/v2
@@ -89,6 +89,23 @@ H --> J[State Commitment]
8989

9090
In the above diagram we do not mention runtime/v2 because it is the componend that is responsible for combining all the other components into a single application.
9191

92+
### Consensus
93+
94+
Consensus is the component that handles communication to the Consensus Engine (Networking & Consensus). The default implementation will be CometBFT, but other consensus engines can be used with v2.
95+
96+
```mermaid
97+
graph TD
98+
subgraph Consensus
99+
Mempool
100+
E[Vote Extensions]
101+
F[Prepare & Process Proposal]
102+
end
103+
Consensus <-->|ABCI| A[CometBFT]
104+
```
105+
106+
Consensus handles the connection to the consensus engine, is the only component in the V2 design with write access to the state, is decoding transactions, passing the information to the appmanager to be processed and
107+
108+
92109
> This section describes our response to these forces. It is stated in full
93110
> sentences, with active voice. "We will ..."
94111
> {decision body}

0 commit comments

Comments
 (0)