| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Consensus.Mempool.Query
Description
Queries to the mempool
Documentation
Arguments
| ∷ (IOLike m, LedgerSupportsMempool blk, HasTxId (GenTx blk)) | |
| ⇒ MempoolEnv m blk | |
| → SlotNo | Get snapshot for this slot number (usually the current slot) |
| → TickedLedgerState blk DiffMK | The ledger state at which we want the
snapshot, ticked to |
| → (LedgerTables (LedgerState blk) KeysMK → m (LedgerTables (LedgerState blk) ValuesMK)) | A function that returns values corresponding to the given keys for the unticked ledger state. |
| → m (MempoolSnapshot blk) |