ouroboros-network:sim-tests-lib
Safe HaskellNone
LanguageHaskell2010

Test.Ouroboros.Network.Testnet.Node.MiniProtocols

Synopsis

Documentation

data Codecs addr header block (m :: Type -> Type) Source #

Protocol codecs.

data AppArgs header block (m :: Type -> Type) Source #

Arguments for protocol handlers required by nodeApplications.

Constructors

AppArgs 

Fields

applications :: forall block header s (m :: Type -> Type). (Alternative (STM m), MonadAsync m, MonadFork m, MonadMask m, MonadMVar m, MonadSay m, MonadThrow m, MonadTime m, MonadTimer m, MonadThrow (STM m), HasHeader header, HasHeader block, HeaderHash header ~ HeaderHash block, Show block, ShowProxy block, ShowProxy header, RandomGen s) => Tracer m String -> NodeKernel header block s m -> Codecs NtNAddr header block m -> LimitsAndTimeouts header block -> AppArgs header block m -> (block -> header) -> Applications NtNAddr NtNVersion NtNVersionData NtCAddr NtCVersion NtCVersionData m () Source #

Protocol handlers.

Orphan instances

ShowProxy PingPong Source # 
Instance details