Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Codecs addr header block (m :: Type -> Type)
- cborCodecs :: forall (m :: Type -> Type). MonadST m => Codecs NtNAddr BlockHeader Block m
- data LimitsAndTimeouts header block = LimitsAndTimeouts {
- chainSyncLimits :: MiniProtocolLimits
- chainSyncSizeLimits :: ProtocolSizeLimits (ChainSync header (Point block) (Tip block)) ByteString
- chainSyncTimeLimits :: ProtocolTimeLimits (ChainSync header (Point block) (Tip block))
- blockFetchLimits :: MiniProtocolLimits
- blockFetchSizeLimits :: ProtocolSizeLimits (BlockFetch block (Point block)) ByteString
- blockFetchTimeLimits :: ProtocolTimeLimits (BlockFetch block (Point block))
- keepAliveLimits :: MiniProtocolLimits
- keepAliveSizeLimits :: ProtocolSizeLimits KeepAlive ByteString
- keepAliveTimeLimits :: ProtocolTimeLimits KeepAlive
- pingPongLimits :: MiniProtocolLimits
- pingPongSizeLimits :: ProtocolSizeLimits PingPong ByteString
- pingPongTimeLimits :: ProtocolTimeLimits PingPong
- handshakeLimits :: MiniProtocolLimits
- handshakeTimeLimits :: ProtocolTimeLimits (Handshake NtNVersion NtNVersionData)
- handhsakeSizeLimits :: ProtocolSizeLimits (Handshake NtNVersion NtNVersionData) ByteString
- peerSharingLimits :: MiniProtocolLimits
- peerSharingTimeLimits :: ProtocolTimeLimits (PeerSharing NtNAddr)
- peerSharingSizeLimits :: ProtocolSizeLimits (PeerSharing NtNAddr) ByteString
- data AppArgs header block (m :: Type -> Type) = AppArgs {
- aaLedgerPeersConsensusInterface :: LedgerPeersConsensusInterface m
- aaKeepAliveStdGen :: StdGen
- aaDiffusionMode :: DiffusionMode
- aaKeepAliveInterval :: DiffTime
- aaPingPongInterval :: DiffTime
- aaShouldChainSyncExit :: header -> m Bool
- aaChainSyncEarlyExit :: Bool
- aaOwnPeerSharing :: PeerSharing
- aaUpdateOutboundConnectionsState :: OutboundConnectionsState -> STM m ()
- 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 ()
Documentation
cborCodecs :: forall (m :: Type -> Type). MonadST m => Codecs NtNAddr BlockHeader Block m Source #
data LimitsAndTimeouts header block Source #
Limits and protocol timeouts
data AppArgs header block (m :: Type -> Type) Source #
Arguments for protocol handlers required by nodeApplications
.
AppArgs | |
|
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.