ouroboros-consensus-cardano-0.12.1.0: The instantation of the Ouroboros consensus layer used by Cardano
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Tools.ImmDBServer.MiniProtocols

Description

Implement ChainSync and BlockFetch servers on top of just the immutable DB.

Documentation

immDBServer :: forall m blk addr. (IOLike m, HasHeader blk, ShowProxy blk, SerialiseNodeToNodeConstraints blk, SupportedNetworkProtocolVersion blk) => CodecConfig blk -> (NodeToNodeVersion -> addr -> Encoding) -> (NodeToNodeVersion -> forall s. Decoder s addr) -> ImmutableDB m blk -> NetworkMagic -> Versions NodeToNodeVersion NodeToNodeVersionData (OuroborosApplicationWithMinimalCtx 'ResponderMode addr ByteString m Void ()) Source #