Trait sc_consensus_slots::SlotCompatible
source · [−]pub trait SlotCompatible {
fn extract_timestamp_and_slot(
&self,
inherent: &InherentData
) -> Result<(u64, Slot, Duration), Error>;
}
Expand description
Slot compatible inherent data.
Required methods
fn extract_timestamp_and_slot(
&self,
inherent: &InherentData
) -> Result<(u64, Slot, Duration), Error>
fn extract_timestamp_and_slot(
&self,
inherent: &InherentData
) -> Result<(u64, Slot, Duration), Error>
Extract timestamp and slot from inherent data.