Trait chain_core::property::BlockDate
source · pub trait BlockDate: Eq + Ord + Clone {
// Required method
fn from_epoch_slot_id(epoch: u32, slot_id: u32) -> Self;
}
Expand description
A trait representing block dates.
pub trait BlockDate: Eq + Ord + Clone {
// Required method
fn from_epoch_slot_id(epoch: u32, slot_id: u32) -> Self;
}
A trait representing block dates.