referrerpolicy=no-referrer-when-downgrade

ErasSumWeightedPoints

Type Alias ErasSumWeightedPoints 

Source
pub type ErasSumWeightedPoints<T: Config> = StorageMap<_GeneratedPrefixForStorageErasSumWeightedPoints<T>, Twox64Concat, EraIndex, BalanceOf<T>, ValueQuery>;
Expand description

Running sum of validator_incentive_weight × era_points across all validators with non-zero era points for the era.

Maintained incrementally inside session_rotation::Eras::reward_active_era every time validator points are credited. Used as the denominator of the weighted-points share that determines each validator’s slice of ErasValidatorIncentiveBudget.

Storage type is [StorageMap] with key type EraIndex and value type IncentiveWeight < T >.

Aliased Type§

pub struct ErasSumWeightedPoints<T: Config>(/* private fields */);