Expand description
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
- Duration
Config - 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
- get_
leader - Get the leader address of the height and the round, the authority list MUST be sorted.
Type Aliases§
- Consensus
Result - Overlord consensus result.