lighthouse/beacon_node/beacon_chain/src/lib.rs

33 lines
963 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;
2019-08-22 07:48:13 +00:00
mod beacon_chain_builder;
mod checkpoint;
mod errors;
2019-09-03 05:22:00 +00:00
mod eth1_chain;
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-08-22 07:48:13 +00:00
pub use beacon_chain_builder::BeaconChainBuilder;
2019-09-03 06:40:53 +00:00
pub use eth1_chain::{Eth1ChainBackend, InteropEth1ChainBackend};
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;