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

Ouroboros.Consensus.MiniProtocol.LocalStateQuery.Server

Documentation

localStateQueryServer Source #

Arguments

∷ ∀ m blk. (IOLike m, QueryLedger blk, ConfigSupportsNode blk, HasAnnTip blk) 
ExtLedgerCfg blk 
STM m (Point blk)

Get tip point

→ (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 ()