plutus-pab-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Node.Mock

Synopsis

Documentation

runChainEffects :: Trace IO PABServerLogMsg -> SlotConfig -> Maybe TxSendHandle -> MVar AppState -> Eff (NodeServerEffects IO) a -> IO ([LogMessage PABServerLogMsg], a) Source #

Run all chain effects in the IO Monad

slotCoordinator :: SlotConfig -> ServerHandler -> IO a Source #

Calls addBlock at the start of every slot, causing pending transactions to be validated and added to the chain.