Expand description
Simplex BFT consensus integration for guts-node.
This module provides the integration between the HTTP API server and the real Simplex BFT consensus engine from commonware.
§Architecture
The consensus engine runs in its own commonware runtime context, while the HTTP server runs in the main Tokio runtime. They communicate via:
- Mempool: Transactions are submitted via the HTTP API
- State: Finalized blocks update shared application state
- P2P: Consensus messages are exchanged via authenticated channels
Structs§
- Simplex
Consensus Config - Configuration for the Simplex BFT consensus.
- Simplex
Consensus Handle - Handle to a running Simplex consensus engine.
Functions§
- start_
simplex_ consensus - Start the Simplex BFT consensus engine.