Skip to main content

Crate arc_malachitebft_app_channel

Crate arc_malachitebft_app_channel 

Source
Expand description

Channel-based interface for Malachite applications.

Re-exports§

pub use malachitebft_app as app;

Structs§

Channels
Channels created for application consumption
ConsensusContext
Context for spawning the Consensus actor.
EngineBuilder
Builder for constructing the consensus engine with optional custom actors.
EngineHandle
NetworkContext
Context for spawning the Network actor.
NetworkIdentity
Node identity bundling all node-specific information.
RequestContext
Context for request channels.
SyncContext
Context for spawning the Sync actor.
WalContext
Context for spawning the WAL actor.

Enums§

AppMsg
Messages sent from consensus to the application.
ConsensusMsg
Messages sent from the application to consensus.
ConsensusRequest
Represents requests that can be sent to the consensus engine by the application.
ConsensusRequestError
Errors that can occur when sending a request to consensus or receiving its response.
NetworkMsg
Messages sent from the application to the networking layer.
NetworkRequest
Represents requests that can be sent to the network layer by the application.

Functions§

start_engine
Start the consensus engine with default actors.

Type Aliases§

Reply