ouroboros-consensus
Safe HaskellNone
LanguageHaskell2010

Test.Consensus.Genesis.Tests.LoP

Description

Limit on Patience tests.

Synopsis

Documentation

data TestKey Source #

Each value of this type uniquely corresponds to a test defined in this module.

Instances

Instances details
Eq TestKey Source # 
Instance details

Defined in Test.Consensus.Genesis.Tests.LoP

Methods

(==) ∷ TestKey → TestKey → Bool #

(/=) ∷ TestKey → TestKey → Bool #

Ord TestKey Source # 
Instance details

Defined in Test.Consensus.Genesis.Tests.LoP

Methods

compare ∷ TestKey → TestKey → Ordering #

(<) ∷ TestKey → TestKey → Bool #

(<=) ∷ TestKey → TestKey → Bool #

(>) ∷ TestKey → TestKey → Bool #

(>=) ∷ TestKey → TestKey → Bool #

max ∷ TestKey → TestKey → TestKey #

min ∷ TestKey → TestKey → TestKey #

Generic TestKey Source # 
Instance details

Defined in Test.Consensus.Genesis.Tests.LoP

Associated Types

type Rep TestKey 
Instance details

Defined in Test.Consensus.Genesis.Tests.LoP

type Rep TestKey = D1 ('MetaData "TestKey" "Test.Consensus.Genesis.Tests.LoP" "ouroboros-consensus-4.0.0.0-inplace-consensus-diffusion-test" 'False) ((C1 ('MetaCons "WaitJustEnoughUntilEmpty" 'PrefixI 'False) (U1 ∷ Type → Type) :+: (C1 ('MetaCons "WaitTooMuchUntilEmpty" 'PrefixI 'False) (U1 ∷ Type → Type) :+: C1 ('MetaCons "WaitBehindForecastHorizon" 'PrefixI 'False) (U1 ∷ Type → Type))) :+: ((C1 ('MetaCons "ServeJustFastEnough" 'PrefixI 'False) (U1 ∷ Type → Type) :+: C1 ('MetaCons "ServeTooSlow" 'PrefixI 'False) (U1 ∷ Type → Type)) :+: (C1 ('MetaCons "DelayAttackSucceeds" 'PrefixI 'False) (U1 ∷ Type → Type) :+: C1 ('MetaCons "DelayAttackFails" 'PrefixI 'False) (U1 ∷ Type → Type))))

Methods

from ∷ TestKey → Rep TestKey x #

to ∷ Rep TestKey x → TestKey #

SmallKey TestKey Source # 
Instance details

Defined in Test.Consensus.Genesis.Tests.LoP

Methods

allKeys ∷ [TestKey]

type Rep TestKey Source # 
Instance details

Defined in Test.Consensus.Genesis.Tests.LoP

type Rep TestKey = D1 ('MetaData "TestKey" "Test.Consensus.Genesis.Tests.LoP" "ouroboros-consensus-4.0.0.0-inplace-consensus-diffusion-test" 'False) ((C1 ('MetaCons "WaitJustEnoughUntilEmpty" 'PrefixI 'False) (U1 ∷ Type → Type) :+: (C1 ('MetaCons "WaitTooMuchUntilEmpty" 'PrefixI 'False) (U1 ∷ Type → Type) :+: C1 ('MetaCons "WaitBehindForecastHorizon" 'PrefixI 'False) (U1 ∷ Type → Type))) :+: ((C1 ('MetaCons "ServeJustFastEnough" 'PrefixI 'False) (U1 ∷ Type → Type) :+: C1 ('MetaCons "ServeTooSlow" 'PrefixI 'False) (U1 ∷ Type → Type)) :+: (C1 ('MetaCons "DelayAttackSucceeds" 'PrefixI 'False) (U1 ∷ Type → Type) :+: C1 ('MetaCons "DelayAttackFails" 'PrefixI 'False) (U1 ∷ Type → Type))))