solana_vote_program::vote_state

Function update_validator_identity

source
pub fn update_validator_identity<S: BuildHasher>(
    vote_account: &mut BorrowedAccount<'_>,
    node_pubkey: &Pubkey,
    signers: &HashSet<Pubkey, S>,
    feature_set: &FeatureSet,
) -> Result<(), InstructionError>
Expand description

Update the node_pubkey, requires signature of the authorized voter