lighthouse/beacon_node/beacon_chain/src/lib.rs

29 lines
806 B
Rust
Raw Normal View History

#![recursion_limit = "128"] // For lazy-static
2019-08-11 02:12:19 +00:00
#[macro_use]
extern crate lazy_static;
mod beacon_chain;
mod checkpoint;
mod errors;
mod fork_choice;
2019-08-05 06:25:21 +00:00
mod iter;
mod metrics;
mod persisted_beacon_chain;
pub mod test_utils;
pub use self::beacon_chain::{
AttestationProcessingOutcome, BeaconChain, BeaconChainTypes, BlockProcessingOutcome,
};
pub use self::checkpoint::CheckPoint;
pub use self::errors::{BeaconChainError, BlockProductionError};
2019-06-15 22:19:08 +00:00
pub use lmd_ghost;
2019-08-12 03:26:58 +00:00
pub use metrics::scrape_for_metrics;
pub use parking_lot;
pub use slot_clock;
pub use state_processing::per_block_processing::errors::{
AttestationValidationError, AttesterSlashingValidationError, DepositValidationError,
ExitValidationError, ProposerSlashingValidationError, TransferValidationError,
};
2019-05-21 08:20:23 +00:00
pub use store;
pub use types;