mafoc-0.0.0.1
Safe HaskellSafe-Inferred
LanguageHaskell2010

Mafoc.Cmds.FoldLedgerState

Synopsis

Documentation

parseCli :: ParserInfo FoldLedgerState #

foldLedgerState :: ExtLedgerCfg_ -> ExtLedgerState_ -> Stream (Of (BlockInMode CardanoMode)) IO () -> Stream (Of (ChainPoint, ExtLedgerState_)) IO () #

Create a stream of ledger states from a stream of blocks.

The caller is responsible for whether the initial ledger state matches the block stream. (I.e the fact that the initial ledger was achieved by applying a sequence of blocks just prior to block stream given as argument.)