pub fn substrate_info<Block: BlockT>(
    blocktime_millis: u64
) -> impl BlockBuildingInfoProvider<Block, Option<(InherentData, Digest)>>
Expand description

Provides BlockBuildingInfoProvider implementation for chains that use:

  • timestamp inherent,
  • Babe for a block production (inherent + digest),
  • uncles inherent,
  • storage proof inherent

It depends only on the expected block production frequency, i.e. blocktime_millis.