referrerpolicy=no-referrer-when-downgrade

Trait pallet_babe::EpochChangeTrigger

source ·
pub trait EpochChangeTrigger {
    // Required method
    fn trigger<T: Config>(now: BlockNumberFor<T>);
}
Expand description

Trigger an epoch change, if any should take place.

Required Methods§

source

fn trigger<T: Config>(now: BlockNumberFor<T>)

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

Object Safety§

This trait is not object safe.

Implementors§