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