cardano-slotting-0.2.0.0: Key slotting types for cardano libraries
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Slotting.EpochInfo.Impl

Contents

Description

For use in trivial cases, such as in mocks, tests, etc.

Synopsis

Documentation

fixedEpochInfoMonad m ⇒ EpochSizeSlotLengthEpochInfo m Source #

The EpochInfo induced by assuming the epoch size and slot length are fixed for the entire system lifetime

Shortcuts

fixedEpochInfoEpochEpochSizeSlotNoEpochNo Source #

The pure computation underlying epochInfoEpoch applied to fixedEpochInfo

You don't need a SlotLength for this.

fixedEpochInfoFirstEpochSizeEpochNoSlotNo Source #

The pure computation underlying epochInfoFirst applied to fixedEpochInfo

You don't need a SlotLength for this.