ouroboros-consensus-cardano-0.12.1.0: The instantation of the Ouroboros consensus layer used by Cardano
Safe HaskellSafe-Inferred
LanguageHaskell2010

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) 
-> TxOverrides (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)