plutus-pab-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Chain

Synopsis

Documentation

data MockNodeServerChainState Source #

fromEmulatorChainState :: MonadIO m => ChainState -> m MockNodeServerChainState Source #

Build a PAB ChainState from a emulator ChainState

chainNewestFirst :: forall m. MonadIO m => TChan Block -> m [Block] Source #

Fetch the currently stored chain by iterating over the channel until there is nothing left to be returned.