Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- tests ∷ TestTree
- data TestSetup = TestSetup {}
- byronPBftParams ∷ SecurityParam → NumCoreNodes → PBftParams
- expectedCannotForge ∷ SecurityParam → NumCoreNodes → NodeRestarts → SlotNo → NodeId → WrapCannotForge ByronBlock → Bool
- genTestSetup ∷ SecurityParam → NumCoreNodes → NumSlots → SlotLength → Gen TestSetup
- noEBBs ∷ ProduceEBBs
Documentation
To support the DualByron tests
expectedCannotForge ∷ SecurityParam → NumCoreNodes → NodeRestarts → SlotNo → NodeId → WrapCannotForge ByronBlock → Bool Source #
genTestSetup ∷ SecurityParam → NumCoreNodes → NumSlots → SlotLength → Gen TestSetup Source #
An entrypoint used by Test.ThreadNet.DualByron
See the
instance.Arbitrary
SetupDualByron