[][src]Crate overlord

Overlord Consensus Protocol is a Byzantine fault tolerance (BFT) consensus algorithm aiming to support thousands of transactions per second under hundreds of consensus nodes, with transaction delays of no more than a few seconds. Simply put, it is a high-performance consensus algorithm able to meets most of the real business needs.

Re-exports

pub use self::overlord::Overlord;
pub use self::overlord::OverlordHandler;

Modules

error

Overlord error module.

overlord

Create and run the overlord consensus process.

serde_hex

serialize Bytes in hex format

types

Message types using in the overlord consensus protocol.

Structs

Context
DurationConfig

The setting of the timeout interval of each step.

WalInfo

Structure of Wal Info

Traits

Codec

Trait for doing serialize and deserialize.

Consensus

Trait for some functions that consensus needs.

Crypto

Trait for some crypto methods.

Wal

Trait for save and load wal information.

Functions

extract_voters

give the validators list and bitmap, returns the activated validators, the authority_list MUST be sorted

Type Definitions

ConsensusResult

Overlord consensus result.