cardano-cli
Safe HaskellNone
LanguageHaskell2010

Cardano.CLI.EraBased.Run.Genesis.Common

Synopsis

Documentation

decodeAlonzoGenesisFile Source #

Arguments

:: forall t (m :: Type -> Type) era. MonadIOTransError GenesisCmdError t m 
=> Maybe (CardanoEra era)

Optional era in which we're decoding alonzo genesis.

-> FilePath 
-> t m AlonzoGenesis 

Decode Alonzo Genesis file. See decodeAlonzoGenesis haddocks for details.

getCurrentTimePlus30 :: MonadIO m => m UTCTime Source #

Current UTCTime plus 30 seconds

readRelays Source #

Arguments

:: forall (m :: Type -> Type). MonadIO m 
=> FilePath

The file to read from

-> ExceptT GenesisCmdError m (Map Word [StakePoolRelay]) 

Protocol Parameters