ouroboros-consensus-0.1.0.0: Consensus layer for the Ouroboros blockchain protocol
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.MiniProtocol.BlockFetch.Server

Synopsis

Documentation

blockFetchServer :: forall m blk. (IOLike m, StandardHash blk, Typeable blk) => Tracer m (TraceBlockFetchServerEvent blk) -> ChainDB m blk -> NodeToNodeVersion -> ResourceRegistry m -> BlockFetchServer (Serialised blk) (Point blk) m () Source #

Block fetch server based on mockBlockFetchServer1, but using the ChainDB.

Trace events

Exceptions