Module reward

Module reward 

Source

Structs§

ComputedRewards
EpochRewardsCalculator
Manages a single background epoch reward calculation. Each consumer (consensus and state loop) should have its own instance.
EpochRewardsResult
Result of epoch rewards calculation.
RewardDistributor
ValidatorLeaderCounts
Maps each validator to its leader count for an epoch.

Functions§

distribute_block_reward
Distributes the block reward for a given block height
get_leader_and_fetch_missing_rewards