cardano-slotting-0.1.0.2: Key slotting types for cardano libraries
Safe Haskell None
Language Haskell2010

Cardano.Slotting.EpochInfo.Extend

Synopsis

Documentation

unsafeLinearExtendEpochInfo :: Monad m => SlotNo -> EpochInfo m -> EpochInfo m Source #

Given a basis point, use it and its slot length to impute a linear relationship between slots and time in order to extend an EpochInfo to infinity.

The returned EpochInfo may still fail (according to the semantics of the specified monad) if any of the underlying operations fail. For example, if we cannot translate the basis point.