Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
localStateQueryServer Source #
∷ ∀ m blk. (IOLike m, BlockSupportsLedgerQuery 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 () |