Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- mainnetEpochSlots :: EpochSlots
- parseEpochFileWithBoundary :: EpochSlots -> FilePath -> Stream ( Of ( ABlockOrBoundary ByteString )) ( ExceptT ParseError ResIO ) ()
- parseEpochFilesWithBoundary :: EpochSlots -> [ FilePath ] -> Stream ( Of ( ABlockOrBoundary ByteString )) ( ExceptT ParseError ResIO ) ()
- data ParseError
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 #
ParseErrorDecoder ! DecoderError |
The CBOR is invalid |
ParseErrorBinary ! FilePath ! ByteOffset ! Text | |
ParseErrorMissingHeader ! FilePath |
Instances
Eq ParseError Source # | |
Defined in Cardano.Chain.Epoch.File (==) :: ParseError -> ParseError -> Bool Source # (/=) :: ParseError -> ParseError -> Bool Source # |
|
Show ParseError Source # | |
Defined in Cardano.Chain.Epoch.File |