Trait pallet_timestamp::Trait [−][src]
The module configuration trait
Associated Types
type Moment: Parameter + Default + AtLeast32Bit + Scale<Self::BlockNumber, Output = Self::Moment> + Copy
[src]
Type used for expressing timestamp.
type OnTimestampSet: OnTimestampSet<Self::Moment>
[src]
Something which can be notified when the timestamp is set. Set this to ()
if not needed.
type MinimumPeriod: Get<Self::Moment>
[src]
The minimum period between blocks. Beware that this is different to the expected period that the block production apparatus provides. Your chosen consensus system will generally work with this to determine a sensible block time. e.g. For Aura, it will be double this period on default settings.
type WeightInfo: WeightInfo
[src]
Weight information for extrinsics in this pallet.