cardano-ledger-byron-1.3.0.1: The blockchain layer of Cardano during the Byron era
Safe HaskellNone
LanguageHaskell2010

Cardano.Chain.Epoch.Validation

Synopsis

Documentation

validateEpochFile ∷ MonadIO m ⇒ Tracer m EpochError → ValidationMode → Config → ChainValidationState → FilePath → m ChainValidationState Source #

Check that a single epoch's Blocks are valid by folding over them TODO(KS): We should use contra-tracer here! tracing is orthogonal to throwing errors; it does not change the program flow.

validateEpochFiles ∷ ValidationMode → Config → ChainValidationState → [FilePath] → IO (Either EpochError ChainValidationState) Source #

Check that a list of epochs Blocks are valid.