| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.Tools.DBSynthesizer.Forging
Synopsis
- type GenTxs blk = SlotNo → ReadOnlyForker' IO blk → TickedLedgerState blk DiffMK → IO [Validated (GenTx blk)]
- runForge ∷ LedgerSupportsProtocol blk ⇒ EpochSize → SlotNo → ForgeLimit → ChainDB IO blk → [BlockForging IO blk] → TopLevelConfig blk → GenTxs blk → IO ForgeResult
Documentation
type GenTxs blk = SlotNo → ReadOnlyForker' IO blk → TickedLedgerState blk DiffMK → IO [Validated (GenTx blk)] Source #
An action to generate transactions for a given block
runForge ∷ LedgerSupportsProtocol blk ⇒ EpochSize → SlotNo → ForgeLimit → ChainDB IO blk → [BlockForging IO blk] → TopLevelConfig blk → GenTxs blk → IO ForgeResult Source #