EpochEnv
scalus.cardano.ledger.epoch.internal.EpochEnv
case class EpochEnv(params: ProtocolParams, epochLength: Long, poolPerformance: PoolPerformance, activeSlotsCoeff: UnitInterval)
What an epoch transition reads besides the state: the configuration of the chain, ledger-rules spec D84. The Emulator builds it from its Context and ChainConfig.
Value parameters
- activeSlotsCoeff
-
f, the share of slots with a block, spec [ES-2a] - epochLength
-
the slots per epoch,
slotConfig.epochLength - params
-
the current pparams before the boundary, spec [EB-25], D88; the reward calculation reads them as the previous pparams of the boundary, spec [RW-13], [EB-22a]
- poolPerformance
-
how the reward calculation rates the pools, spec [ES-1]
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article