| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Consensus.HardFork.History.Util
Adding and subtracting slots/epochs
countEpochs ∷ HasCallStack ⇒ EpochNo → EpochNo → Word64 Source #
countEpochs to fr counts the epochs from fr to to (to >= fr)
countSlots ∷ HasCallStack ⇒ SlotNo → SlotNo → Word64 Source #
countSlots to fr counts the slots from fr to to (to >= fr)