solana_stake_program::stake_state

Function new_stake_history_entry

source
pub fn new_stake_history_entry<'a, I>(
    epoch: Epoch,
    stakes: I,
    history: &StakeHistory,
    new_rate_activation_epoch: Option<Epoch>,
) -> StakeHistoryEntry
where I: Iterator<Item = &'a Delegation>,