Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cardano.Tools.DBSynthesizer.Forging
Synopsis
- type GenTxs blk mk = SlotNo → IO (ReadOnlyForker IO (ExtLedgerState blk) blk) → TickedLedgerState blk DiffMK → IO [Validated (GenTx blk)]
- runForge ∷ LedgerSupportsProtocol blk ⇒ EpochSize → SlotNo → ForgeLimit → ChainDB IO blk → [BlockForging IO blk] → TopLevelConfig blk → GenTxs blk mk → IO ForgeResult
Documentation
type GenTxs blk mk = SlotNo → IO (ReadOnlyForker IO (ExtLedgerState blk) 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 mk → IO ForgeResult Source #