Structs§
- Computed
Rewards - Epoch
Rewards Calculator - Manages a single background epoch reward calculation. Each consumer (consensus and state loop) should have its own instance.
- Epoch
Rewards Result - Result of epoch rewards calculation.
- Reward
Distributor - Validator
Leader Counts - 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