ouroboros-consensus-0.1.0.1: Consensus layer for the Ouroboros blockchain protocol
Safe Haskell None
Language Haskell2010

Ouroboros.Consensus.MiniProtocol.LocalStateQuery.Server

Documentation

localStateQueryServer Source #

Arguments

:: forall 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 ()