Test.Ouroboros.Network.OrphanInstances
Contents
genIPv4 :: Gen IP Source #
genIPv6 :: Gen IP Source #
Methods
arbitrary :: Gen SlotNo #
shrink :: SlotNo -> [SlotNo] #
arbitrary :: Gen PortNumber #
shrink :: PortNumber -> [PortNumber] #
arbitrary :: Gen LocalRoots #
shrink :: LocalRoots -> [LocalRoots] #
arbitrary :: Gen PublicRootPeers #
shrink :: PublicRootPeers -> [PublicRootPeers] #
arbitrary :: Gen RootConfig #
shrink :: RootConfig -> [RootConfig] #
arbitrary :: Gen HotValency #
shrink :: HotValency -> [HotValency] #
arbitrary :: Gen WarmValency #
shrink :: WarmValency -> [WarmValency] #
arbitrary :: Gen DiffusionMode #
shrink :: DiffusionMode -> [DiffusionMode] #
arbitrary :: Gen AfterSlot #
shrink :: AfterSlot -> [AfterSlot] #
arbitrary :: Gen UseLedgerPeers #
shrink :: UseLedgerPeers -> [UseLedgerPeers] #
arbitrary :: Gen PeerAdvertise #
shrink :: PeerAdvertise -> [PeerAdvertise] #
arbitrary :: Gen PeerSharing #
shrink :: PeerSharing -> [PeerSharing] #
arbitrary :: Gen LedgerRelayAccessPoint #
shrink :: LedgerRelayAccessPoint -> [LedgerRelayAccessPoint] #
arbitrary :: Gen RelayAccessPoint #
shrink :: RelayAccessPoint -> [RelayAccessPoint] #
arbitrary :: Gen Provenance #
shrink :: Provenance -> [Provenance] #
hashWithSalt :: Int -> IP -> Int #
hash :: IP -> Int #
hashWithSalt :: Int -> IPv4 -> Int #
hash :: IPv4 -> Int #
hashWithSalt :: Int -> IPv6 -> Int #
hash :: IPv6 -> Int #
hashWithSalt :: Int -> PortNumber -> Int #
hash :: PortNumber -> Int #
arbitrary :: Gen (LocalRootPeersGroup extraFlags) #
shrink :: LocalRootPeersGroup extraFlags -> [LocalRootPeersGroup extraFlags] #
arbitrary :: Gen (LocalRootPeersGroups extraFlags) #
shrink :: LocalRootPeersGroups extraFlags -> [LocalRootPeersGroups extraFlags] #
arbitrary :: Gen (LocalRootConfig extraFlags) #
shrink :: LocalRootConfig extraFlags -> [LocalRootConfig extraFlags] #
arbitrary :: Gen (NetworkTopology extraConfig extraFlags) #
shrink :: NetworkTopology extraConfig extraFlags -> [NetworkTopology extraConfig extraFlags] #