lighthouse-pulse/lighthouse/db/stores/mod.rs
2018-09-24 18:08:00 +10:00

28 lines
543 B
Rust

use super::{
ClientDB,
DBError,
};
mod block_store;
mod pow_chain_store;
mod validator_store;
pub use self::block_store::BlockStore;
pub use self::pow_chain_store::PoWChainStore;
pub use self::validator_store::{
ValidatorStore,
ValidatorStoreError,
};
use super::bls;
pub const BLOCKS_DB_COLUMN: &str = "blocks";
pub const POW_CHAIN_DB_COLUMN: &str = "powchain";
pub const VALIDATOR_DB_COLUMN: &str = "validator";
pub const COLUMNS: [&str; 3] = [
BLOCKS_DB_COLUMN,
POW_CHAIN_DB_COLUMN,
VALIDATOR_DB_COLUMN,
];