ouroboros-consensus-0.21.0.0: Consensus layer for the Ouroboros blockchain protocol
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Consensus.Mempool.Mocked

Description

Mempool with a mocked ledger interface

Synopsis

Documentation

data InitialMempoolAndModelParams blk Source #

Constructors

MempoolAndModelParams 

Fields

Mempool with a mocked LedgerDB interface

data MockedMempool m blk Source #

Instances

Instances details
NFData (MockedMempool m blk) Source # 
Instance details

Defined in Test.Consensus.Mempool.Mocked

Methods

rnfMockedMempool m blk → () #

Mempool API functions

getTxs ∷ ∀ blk. LedgerSupportsMempool blk ⇒ MockedMempool IO blk → IO [GenTx blk] Source #

removeTxsMockedMempool m blk → [GenTxId blk] → m () Source #