Expand description

The API that defines interactions between consensus and a Splinter service.

Re-exports

pub use error::ConsensusEngineError;
pub use error::ConsensusSendError;
pub use error::ProposalManagerError;

Modules

A simple n-party, two-phase commit (2PC) consensus algorithm implemented as a ConsensusEngine

Structs

Enums

Messages the ProposalManager sends to consensus

Traits

Consensus algorithms are implemented as consensus engines. The ConsensusEngine interface defines how consensus algorithms are identified (name, version, and supported protocols), as well as how they are run and what values are required for running.

Interface used by consensus to send messages to other nodes

Interface used by consensus to create, check, accept, and reject proposals