ouroboros-consensus-0.1.0.1: Consensus layer for the Ouroboros blockchain protocol
Safe Haskell None
Language Haskell2010

Ouroboros.Consensus.Ledger.CommonProtocolParams

Synopsis

Documentation

class UpdateLedger blk => CommonProtocolParams blk where Source #

Ask the ledger for common protocol parameters.

Methods

maxHeaderSize :: LedgerState blk -> Word32 Source #

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

maxTxSize :: LedgerState blk -> Word32 Source #

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