plutus-pab-1.2.0.0
Safe Haskell None
Language Haskell2010

Cardano.Chain

Synopsis

Documentation

type TxPool = [CardanoTx] Source #

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.