ouroboros-network-protocols:testlib
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Network.Protocol.BlockFetch.Test

Documentation

Orphan instances

Arbitrary point => Arbitrary (ChainRange point) Source # 
Instance details

Methods

arbitrary :: Gen (ChainRange point) #

shrink :: ChainRange point -> [ChainRange point] #

(Arbitrary block, Arbitrary point) => Arbitrary (AnyMessageAndAgency (BlockFetch block point)) Source # 
Instance details

(Eq block, Eq point) => Eq (AnyMessage (BlockFetch block point)) Source # 
Instance details

Methods

(==) :: AnyMessage (BlockFetch block point) -> AnyMessage (BlockFetch block point) -> Bool #

(/=) :: AnyMessage (BlockFetch block point) -> AnyMessage (BlockFetch block point) -> Bool #

Arbitrary (Serialised Block) Source # 
Instance details