arc-malachitebft-app 0.7.0-pre

High-level interface for building applications on top of the Malachite BFT consensus engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub use malachitebft_config::*;

pub trait NodeConfig {
    fn moniker(&self) -> &str;

    fn consensus(&self) -> &ConsensusConfig;
    fn consensus_mut(&mut self) -> &mut ConsensusConfig;

    fn value_sync(&self) -> &ValueSyncConfig;
    fn value_sync_mut(&mut self) -> &mut ValueSyncConfig;
}