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