ouroboros-consensus-shelley-0.1.0.1: Shelley ledger integration in the Ouroboros consensus layer
Safe Haskell None
Language Haskell2010

Ouroboros.Consensus.Shelley.Ledger.Forge

Documentation

forgeShelleyBlock Source #

Arguments

:: forall m era proto. ( ShelleyCompatible proto era, TxLimits ( ShelleyBlock proto era), Monad m)
=> HotKey ( EraCrypto era) m
-> CanBeLeader proto
-> TopLevelConfig ( ShelleyBlock proto era)
-> Overrides ( ShelleyBlock proto era)

How to override max tx capacity defined by ledger

-> BlockNo

Current block number

-> SlotNo

Current slot number

-> TickedLedgerState ( ShelleyBlock proto era)

Current ledger

-> [ Validated ( GenTx ( ShelleyBlock proto era))]

Txs to add in the block

-> IsLeader proto
-> m ( ShelleyBlock proto era)