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

Ouroboros.Consensus.MiniProtocol.LocalStateQuery.Server

Documentation

localStateQueryServer Source #

Arguments

:: forall m blk. (IOLike m, QueryLedger blk) 
=> ExtLedgerCfg blk 
-> (Point blk -> STM m (Maybe (ExtLedgerState blk)))

Get a past ledger

-> STM m (Point blk)

Get the immutable point

-> LocalStateQueryServer blk (Point blk) (Query blk) m ()