ouroboros-consensus-0.18.0.0: Consensus layer for the Ouroboros blockchain protocol
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ouroboros.Consensus.Util.Time

Synopsis

Documentation

multipleNominalDelayIntegral a ⇒ NominalDiffTime → a → NominalDiffTime Source #

Multiply a NominalDiffTime by an integer

The right conversions to use are somewhat tricky. The key fact is that fromIntegral interprets its argument as seconds.