#[repr(C, align(16))]pub struct EpochRewards {
pub distribution_starting_block_height: u64,
pub num_partitions: u64,
pub parent_blockhash: Hash,
pub total_points: u128,
pub total_rewards: u64,
pub distributed_rewards: u64,
pub active: bool,
}Fields§
§distribution_starting_block_height: u64The starting block height of the rewards distribution in the current epoch
num_partitions: u64Number of partitions in the rewards distribution in the current epoch, used to generate an EpochRewardsHasher
parent_blockhash: HashThe blockhash of the parent block of the first block in the epoch, used to seed an EpochRewardsHasher
total_points: u128The total rewards points calculated for the current epoch, where points equals the sum of (delegated stake * credits observed) for all delegations
total_rewards: u64The total rewards calculated for the current epoch. This may be greater
than the total distributed_rewards at the end of the rewards period,
due to rounding and inability to deliver rewards smaller than 1 lamport.
distributed_rewards: u64The rewards currently distributed for the current epoch, in lamports
active: boolWhether the rewards period (including calculation and distribution) is active