ouroboros-network:sim-tests-lib
Safe HaskellNone
LanguageHaskell2010

Test.Ouroboros.Network.PeerSelection.PublicRootPeers

Documentation

arbitraryPublicRootPeers :: Ord peeraddr => Set peeraddr -> Gen (PublicRootPeers peeraddr) Source #

Orphan instances

(Arbitrary peeraddr, Ord peeraddr) => Arbitrary (PublicRootPeers peeraddr) Source # 
Instance details

Methods

arbitrary :: Gen (PublicRootPeers peeraddr) #

shrink :: PublicRootPeers peeraddr -> [PublicRootPeers peeraddr] #