Apply store refactor to new fork choice

This commit is contained in:
Michael Sproul
2020-06-17 12:50:32 +10:00
parent e6f97bf466
commit 81c9fe3817
6 changed files with 33 additions and 13 deletions

View File

@@ -34,6 +34,7 @@ pub const SPLIT_DB_KEY: &str = "FREEZERDBSPLITFREEZERDBSPLITFREE";
///
/// Stores vector fields like the `block_roots` and `state_roots` separately, and only stores
/// intermittent "restore point" states pre-finalization.
#[derive(Debug)]
pub struct HotColdDB<E: EthSpec, Hot: ItemStore<E>, Cold: ItemStore<E>> {
/// The slot and state root at the point where the database is split between hot and cold.
///