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,
    deprecate_unused_legacy_vote_plumbing: bool,
) -> Result<(), VoteError>