plutus-pab-1.2.0.0
Safe HaskellNone
LanguageHaskell2010

Cardano.ChainIndex.ChainIndex

Synopsis

Documentation

processChainIndexEffects :: MonadIO m => ChainIndexTrace -> TVar ChainIndexEmulatorState -> Eff (ChainIndexEffects IO) a -> m a Source #

Process the chain index effects for the emulator.

syncState :: (Member ChainIndexControlEffect effs, Member ChainIndexQueryEffect effs) => Block -> Slot -> Eff effs () Source #

Update the chain index by asking the node for new blocks since the last time.