Type Alias PenaltyFor

Source
pub type PenaltyFor<T> = Vec<(AuthorOf<T>, PenaltyOf<T>)>;
Expand description

Collection of authors and their proportional penalties for a given cycle.

  • Each entry represents (Author, PenaltyOf).
  • Input for Config::PenaltyModel plugin and output for transformed penalties.
  • Supports multiple penalties applied in a single cycle.

Aliased Typeยง

pub struct PenaltyFor<T> { /* private fields */ }