ouroboros-consensus-0.1.0.0: Consensus layer for the Ouroboros blockchain protocol
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.HardFork.History.Util

Synopsis

Adding and subtracting slots/epochs

countEpochsHasCallStackEpochNoEpochNoWord64 Source #

countEpochs to fr counts the epochs from fr to to (to >= fr)

countSlotsHasCallStackSlotNoSlotNoWord64 Source #

countSlots to fr counts the slots from fr to to (to >= fr)