cardano-node-socket-emulator-1.2.0.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Node.Socket.Emulator.Server

Synopsis

Documentation

data ServerHandler Source #

A handler used to pass around the path to the server and channels used for controlling the server.

runServerNode :: MonadIO m => Trace IO EmulatorMsg -> FilePath -> Integer -> AppState -> Params -> m ServerHandler Source #

Start the server in a new thread, and return a server handler used to control the server

modifySlot :: MonadIO m => (Slot -> Slot) -> ServerHandler -> m Slot Source #

addTx :: MonadIO m => ServerHandler -> Tx BabbageEra -> m () Source #

processChainEffects :: Trace IO EmulatorMsg -> Params -> MVar AppState -> EmulatorT IO a -> IO a Source #