Trait polkadot_sdk_frame::traits::Lateness
pub trait Lateness<N> {
// Required method
fn lateness(&self) -> N;
}
Expand description
Trait to be used by block producing consensus engine modules to determine how late the current block is (e.g. in a slot-based proposal mechanism how many slots were skipped since the previous block).
Required Methods§
fn lateness(&self) -> N
fn lateness(&self) -> N
Returns a generic measure of how late the current block is compared to its parent.