Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data ShelleyTxGenExtra h Source #
ShelleyTxGenExtra | |
|
data WhetherToGeneratePPUs Source #
Instances
Show WhetherToGeneratePPUs Source # | |
Defined in Test.ThreadNet.TxGen.Shelley |
genTx ∷ ∀ h. HashAlgorithm h ⇒ TopLevelConfig (ShelleyBlock (TPraos (MockCrypto h)) (MockShelley h)) → SlotNo → TickedLedgerState (ShelleyBlock (TPraos (MockCrypto h)) (MockShelley h)) → GenEnv (MockShelley h) → Gen (Maybe (GenTx (ShelleyBlock (TPraos (MockCrypto h)) (MockShelley h)))) Source #
mkGenEnv ∷ ∀ h. HashAlgorithm h ⇒ WhetherToGeneratePPUs → [CoreNode (MockCrypto h)] → GenEnv (MockShelley h) Source #
Orphan instances
HashAlgorithm h ⇒ TxGen (ShelleyBlock (TPraos (MockCrypto h)) (MockShelley h)) Source # | |
type TxGenExtra (ShelleyBlock (TPraos (MockCrypto h)) (MockShelley h)) Source # testGenTxs ∷ CoreNodeId → NumCoreNodes → SlotNo → TopLevelConfig (ShelleyBlock (TPraos (MockCrypto h)) (MockShelley h)) → TxGenExtra (ShelleyBlock (TPraos (MockCrypto h)) (MockShelley h)) → LedgerState (ShelleyBlock (TPraos (MockCrypto h)) (MockShelley h)) → Gen [GenTx (ShelleyBlock (TPraos (MockCrypto h)) (MockShelley h))] Source # |