ouroboros-consensus-0.21.0.0: Consensus layer for the Ouroboros blockchain protocol
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ouroboros.Consensus.Ledger.CommonProtocolParams

Synopsis

Documentation

class UpdateLedger blk ⇒ CommonProtocolParams blk where Source #

Ask the ledger for common protocol parameters.

Methods

maxHeaderSizeLedgerState blk → Word32 Source #

The maximum header size in bytes according to the currently adopted protocol parameters of the ledger state.

maxTxSizeLedgerState blk → Word32 Source #

The maximum transaction size in bytes according to the currently adopted protocol parameters of the ledger state.