| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Cardano.Chain.Epoch.File
Synopsis
Documentation
mainnetEpochSlots ∷ EpochSlots Source #
Slots per epoch used in mainnet
This number has been fixed throughout the Byron era.
parseEpochFileWithBoundary ∷ EpochSlots → FilePath → Stream (Of (ABlockOrBoundary ByteString)) (ExceptT ParseError ResIO) () Source #
parseEpochFilesWithBoundary ∷ EpochSlots → [FilePath] → Stream (Of (ABlockOrBoundary ByteString)) (ExceptT ParseError ResIO) () Source #
data ParseError Source #
Constructors
| ParseErrorDecoder !DecoderError | The CBOR is invalid |
| ParseErrorBinary !FilePath !ByteOffset !Text | |
| ParseErrorMissingHeader !FilePath |
Instances
| Show ParseError Source # | |
Defined in Cardano.Chain.Epoch.File Methods showsPrec ∷ Int → ParseError → ShowS # show ∷ ParseError → String # showList ∷ [ParseError] → ShowS # | |
| Eq ParseError Source # | |
Defined in Cardano.Chain.Epoch.File | |