Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- processChainIndexEffects :: MonadIO m => ChainIndexTrace -> TVar ChainIndexEmulatorState -> Eff ( ChainIndexEffects IO ) a -> m a
- syncState :: ( Member ChainIndexControlEffect effs, Member ChainIndexQueryEffect effs) => Block -> Slot -> Eff effs ()
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.