Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Queries to the mempool
Synopsis
- pureGetSnapshotFor ∷ (LedgerSupportsMempool blk, HasTxId (GenTx blk), ValidateEnvelope blk) ⇒ LedgerConfig blk → ForgeLedgerState blk → MempoolCapacityBytesOverride → InternalState blk → MempoolSnapshot blk
Documentation
pureGetSnapshotFor ∷ (LedgerSupportsMempool blk, HasTxId (GenTx blk), ValidateEnvelope blk) ⇒ LedgerConfig blk → ForgeLedgerState blk → MempoolCapacityBytesOverride → InternalState blk → MempoolSnapshot blk Source #
Get a snapshot of the mempool state that is valid with respect to the given ledger state