Tidy slot_dump, remove SlotDump, use CheckPoint

This commit is contained in:
Paul Hauner
2019-02-01 17:04:25 +11:00
parent 4d062d77f9
commit b99e4ed9f4
4 changed files with 18 additions and 20 deletions

View File

@@ -1,7 +1,9 @@
use serde_derive::Serialize;
use types::{BeaconBlock, BeaconState, Hash256};
/// Represents some block and it's associated state. Generally, this will be used for tracking the
/// head, justified head and finalized head.
#[derive(PartialEq, Clone, Serialize)]
pub struct CheckPoint {
pub beacon_block: BeaconBlock,
pub beacon_block_root: Hash256,