Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Test.ThreadNet.TxGen.Shelley
Contents
Documentation
data ShelleyTxGenExtra Source #
Constructors
ShelleyTxGenExtra | |
Fields
|
data WhetherToGeneratePPUs Source #
Constructors
DoNotGeneratePPUs | |
DoGeneratePPUs |
Instances
Show WhetherToGeneratePPUs Source # | |
Defined in Test.ThreadNet.TxGen.Shelley Methods showsPrec ∷ Int → WhetherToGeneratePPUs → ShowS # show ∷ WhetherToGeneratePPUs → String # showList ∷ [WhetherToGeneratePPUs] → ShowS # |
genTx ∷ TopLevelConfig (ShelleyBlock (TPraos MockCrypto) ShelleyEra) → SlotNo → TickedLedgerState (ShelleyBlock (TPraos MockCrypto) ShelleyEra) → GenEnv MockCrypto ShelleyEra → Gen (Maybe (GenTx (ShelleyBlock (TPraos MockCrypto) ShelleyEra))) Source #
Orphan instances
TxGen (ShelleyBlock (TPraos MockCrypto) ShelleyEra) Source # | |
Associated Types type TxGenExtra (ShelleyBlock (TPraos MockCrypto) ShelleyEra) Source # Methods testGenTxs ∷ CoreNodeId → NumCoreNodes → SlotNo → TopLevelConfig (ShelleyBlock (TPraos MockCrypto) ShelleyEra) → TxGenExtra (ShelleyBlock (TPraos MockCrypto) ShelleyEra) → LedgerState (ShelleyBlock (TPraos MockCrypto) ShelleyEra) → Gen [GenTx (ShelleyBlock (TPraos MockCrypto) ShelleyEra)] Source # |