solana_vote_program::vote_state

Function process_new_vote_state

Source
pub fn process_new_vote_state(
    vote_state: &mut VoteState,
    new_state: VecDeque<LandedVote>,
    new_root: Option<Slot>,
    timestamp: Option<i64>,
    epoch: Epoch,
    current_slot: Slot,
    feature_set: Option<&FeatureSet>,
) -> Result<(), VoteError>