Function solana_stake_program::stake_state::calculate_points [−][src]
pub fn calculate_points(
stake_account: &AccountSharedData,
vote_account: &AccountSharedData,
stake_history: Option<&StakeHistory>,
fix_stake_deactivate: bool
) -> Result<u128, InstructionError>