ouroboros-network-protocols:testlib
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Network.Protocol.LocalTxMonitor.Test

Documentation

Orphan instances

Arbitrary MempoolSizeAndCapacity Source # 
Instance details

(Arbitrary txid, Arbitrary tx, Arbitrary slot) => Arbitrary (AnyMessage (LocalTxMonitor txid tx slot)) Source # 
Instance details

Methods

arbitrary :: Gen (AnyMessage (LocalTxMonitor txid tx slot)) #

shrink :: AnyMessage (LocalTxMonitor txid tx slot) -> [AnyMessage (LocalTxMonitor txid tx slot)] #

(Eq txid, Eq tx, Eq slot) => Eq (AnyMessage (LocalTxMonitor txid tx slot)) Source # 
Instance details

Methods

(==) :: AnyMessage (LocalTxMonitor txid tx slot) -> AnyMessage (LocalTxMonitor txid tx slot) -> Bool #

(/=) :: AnyMessage (LocalTxMonitor txid tx slot) -> AnyMessage (LocalTxMonitor txid tx slot) -> Bool #