decentralized-message-queue
Safe HaskellNone
LanguageHaskell2010

DMQ.NodeToNode

Documentation

data Apps addr (m :: Type -> Type) a b Source #

Constructors

Apps 

Fields

ntnApps :: forall (m :: Type -> Type) addr. (Alternative (STM m), MonadAsync m, MonadDelay m, MonadFork m, MonadMask m, MonadMVar m, MonadThrow (STM m), MonadTimer m, Ord addr, Show addr, Hashable addr, ToJSON addr) => (forall ev. ToJSON ev => Tracer m (WithEventType ev)) -> Configuration -> NodeKernel addr m -> Codecs addr m -> LimitsAndTimeouts addr -> TxDecisionPolicy -> Apps addr m () () Source #

data Protocols (appType :: Mode) initiatorCtx responderCtx bytes (m :: Type -> Type) a b Source #

Constructors

Protocols 

Fields

nodeToNodeProtocols Source #

Arguments

:: forall addr (appType :: Mode) initiatorCtx responderCtx bytes (m :: Type -> Type) a b. LimitsAndTimeouts addr 
-> Protocols appType initiatorCtx responderCtx bytes m a b 
-> NodeToNodeVersion

negotiated version number

-> NodeToNodeVersionData

negotiated version data

-> OuroborosBundle appType initiatorCtx responderCtx bytes m a b 

dmqCodecs :: forall (m :: Type -> Type) addr. MonadST m => (addr -> Encoding) -> (forall s. Decoder s addr) -> Codecs addr m Source #