cfxcore/pos/consensus/
mod.rs1#![forbid(unsafe_code)]
9
10#![cfg_attr(not(feature = "fuzzing"), deny(missing_docs))]
16#![cfg_attr(feature = "fuzzing", allow(dead_code))]
17
18mod block_storage;
19mod consensusdb;
20mod counters;
21mod epoch_manager;
22mod error;
23mod liveness;
24mod logging;
25mod metrics_safety_rules;
26pub(crate) mod network;
27#[cfg(test)]
28mod network_tests;
29mod pending_votes;
30mod persistent_liveness_storage;
31mod round_manager;
32mod state_computer;
33mod state_replication;
34#[cfg(any(test, feature = "fuzzing"))]
35mod test_utils;
36#[cfg(test)]
37mod twins;
38mod txn_manager;
39mod util;
40
41pub mod consensus_provider;
43
44pub use self::network::NetworkTask;
45pub use consensusdb::ConsensusDB;
46#[cfg(feature = "fuzzing")]
47pub use round_manager::round_manager_fuzzing;
48pub use util::{
49 config_subscription::gen_consensus_reconfig_subscription, TestCommand,
50};