PoolPerformance

scalus.cardano.ledger.epoch.PoolPerformance
See thePoolPerformance companion object
enum PoolPerformance extends Enum[PoolPerformance]

How the reward calculation rates the pools, ledger-rules spec [ES-1], [ES-1a].

In the Instant preset each tx makes one block, at any slot, so the blocks made are far below the expected blocks and Measured rewards are close to 0. Ideal, the default, pays what a node where every pool is perfect pays.

Attributes

Companion
object
Graph
Supertypes
trait Enum
trait Product
trait Equals
class Enum[PoolPerformance]
trait Serializable
trait Comparable[PoolPerformance]
trait Constable
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case Ideal extends PoolPerformance

Every pool with stake earns with an apparent performance of 1 and eta = 1; the blocks made are not read, spec [RW-4], [RW-15].

Every pool with stake earns with an apparent performance of 1 and eta = 1; the blocks made are not read, spec [RW-4], [RW-15].

Attributes

case Measured extends PoolPerformance

The ledger's formulas on the blocks made in the epoch before: a pool with no block earns nothing, spec [RW-3], [RW-14], [RW-15].

The ledger's formulas on the blocks made in the epoch before: a pool with no block earns nothing, spec [RW-3], [RW-14], [RW-15].

Attributes