2018-10-29 19:29:15 +00:00
|
|
|
use db::stores::{BeaconBlockStore, PoWChainStore, ValidatorStore};
|
|
|
|
use db::ClientDB;
|
2018-10-23 11:16:26 +00:00
|
|
|
use std::sync::Arc;
|
|
|
|
|
|
|
|
pub struct BeaconChainStore<T: ClientDB + Sized> {
|
|
|
|
pub block: Arc<BeaconBlockStore<T>>,
|
|
|
|
pub pow_chain: Arc<PoWChainStore<T>>,
|
|
|
|
pub validator: Arc<ValidatorStore<T>>,
|
|
|
|
}
|