Trait noble_babe::EpochChangeTrigger[][src]

pub trait EpochChangeTrigger {
    fn trigger<T: Config>(now: T::BlockNumber);
}

Trigger an epoch change, if any should take place.

Required methods

fn trigger<T: Config>(now: T::BlockNumber)[src]

Trigger an epoch change, if any should take place. This should be called during every block, after initialization is done.

Loading content...

Implementors

Loading content...