lighthouse-pulse/lighthouse/db/mod.rs
Paul Hauner 69c97745d2
Set MemoryDB to use constant DB columns
This is instead of needing to be passed them each time open() is called.
2018-09-24 14:15:59 +10:00

19 lines
292 B
Rust

extern crate rocksdb;
extern crate blake2_rfc as blake2;
mod disk_db;
mod memory_db;
mod traits;
pub mod stores;
use super::bls;
use self::stores::COLUMNS;
pub use self::disk_db::DiskDB;
pub use self::memory_db::MemoryDB;
pub use self::traits::{
DBError,
DBValue,
ClientDB,
};