lighthouse-pulse/lighthouse/db/stores/mod.rs

17 lines
371 B
Rust
Raw Normal View History

2018-09-20 07:36:49 +00:00
use super::{
ClientDB,
DBError,
};
mod block_store;
2018-09-21 01:13:07 +00:00
mod pow_chain_store;
2018-09-21 08:52:03 +00:00
mod validator_store;
2018-09-20 07:36:49 +00:00
pub use self::block_store::BlockStore;
2018-09-21 01:13:07 +00:00
pub use self::pow_chain_store::PoWChainStore;
2018-09-22 01:13:55 +00:00
pub use self::validator_store::ValidatorStore;
2018-09-20 07:36:49 +00:00
const BLOCKS_DB_COLUMN: &str = "blocks";
2018-09-21 01:13:07 +00:00
const POW_CHAIN_DB_COLUMN: &str = "powchain";
2018-09-21 08:52:03 +00:00
const VALIDATOR_DB_COLUMN: &str = "validator";