Trait frame_support::traits::Lateness[][src]

pub trait Lateness<N> {
    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

Returns a generic measure of how late the current block is compared to its parent.

Implementations on Foreign Types

Implementors