1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
crate::ix!();
pub type MapCheckpoints = HashMap<i32,u256>;
#[derive(Default)]
pub struct CheckpointData {
map_checkpoints: MapCheckpoints,
}
impl CheckpointData {
pub fn get_height(&self) -> i32 {
todo!();
/*
const auto& final_checkpoint = mapCheckpoints.rbegin();
return final_checkpoint->first /* height */;
*/
}
}