solana_vote_program::vote_state

Function process_vote

Source
pub fn process_vote(
    vote_state: &mut VoteState,
    vote: &Vote,
    slot_hashes: &[SlotHash],
    epoch: Epoch,
    current_slot: Slot,
    timely_vote_credits: bool,
) -> Result<(), VoteError>