Expand description
Channel-based interface for Malachite applications.
Re-exports§
pub use malachitebft_app as app;
Structs§
- Channels
- Channels created for application consumption
- Consensus
Context - Context for spawning the Consensus actor.
- Engine
Builder - Builder for constructing the consensus engine with optional custom actors.
- Engine
Handle - Network
Context - Context for spawning the Network actor.
- Network
Identity - Node identity bundling all node-specific information.
- Request
Context - Context for request channels.
- Sync
Context - Context for spawning the Sync actor.
- WalContext
- Context for spawning the WAL actor.
Enums§
- AppMsg
- Messages sent from consensus to the application.
- Consensus
Msg - Messages sent from the application to consensus.
- Consensus
Request - Represents requests that can be sent to the consensus engine by the application.
- Consensus
Request Error - Errors that can occur when sending a request to consensus or receiving its response.
- Network
Msg - Messages sent from the application to the networking layer.
- Network
Request - Represents requests that can be sent to the network layer by the application.
Functions§
- start_
engine - Start the consensus engine with default actors.