Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Implement ChainSync and BlockFetch servers on top of just the immutable DB.
Documentation
immDBServer ∷ ∀ m blk addr. (IOLike m, HasHeader blk, ShowProxy blk, SerialiseNodeToNodeConstraints blk, SupportedNetworkProtocolVersion blk) ⇒ CodecConfig blk → (NodeToNodeVersion → addr → Encoding) → (NodeToNodeVersion → ∀ s. Decoder s addr) → ImmutableDB m blk → NetworkMagic → Versions NodeToNodeVersion NodeToNodeVersionData (OuroborosApplicationWithMinimalCtx 'ResponderMode addr ByteString m Void ()) Source #