HORIZON HASKELLDocslts/ghc-9.14.xd82dee82026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12

Modulebyron-spec-ledger-1.1.0.1Haskell2010

Byron.Spec.Ledger.GlobalParams

Ledger global parameters.

  • 5 values
valueslotsPerEpoch :: Integral n => BlockCount -> n
#

Given the chain stability parameter, often referred to as k, which is expressed in an amount of blocks, return the number of slots contained in an epoch.

valuec :: Word64
#

Factor used to bound the concrete size by the abstract size.

This constant should satisfy that given an elaboration function elaborate which elaborates abstract values intro concrete ones, for each abstract data value a we have:

size (elaborate a) <= c * abstractSize a

TODO: we need to investigate what this factor is, and probably use different factors for different data types (update, UTxO transactions, etc).