Module chain_time::era

source ·
Expand description

Split timeframe in eras

Structs

  • Epoch number
  • Epoch position: this is an epoch and a slot offset
  • Slot Offset in a given epoch
  • Describe a new era, which start at epoch_start and is associated to a specific slot. Each epoch have a constant number of slots on a given time era.

Functions