Module solana_vote_program::vote_state[][src]

Vote state, vote program Receive and processes votes from validators

Re-exports

pub use vote_state_versions::*;

Modules

vote_state_versions

Structs

BlockTimestamp
CircBuf
Lockout
Vote
VoteInit
VoteState

Enums

VoteAuthorize

Constants

INITIAL_LOCKOUT
MAX_LOCKOUT_HISTORY

Functions

authorize

Authorize the given pubkey to withdraw or sign votes. This may be called multiple times, but will implicitly withdraw authorization from the previously authorized key

create_account
create_account_with_authorized
initialize_account

Initialize the vote_state for a vote account Assumes that the account is being init as part of a account creation or balance transfer and that the transaction must be signed by the staker’s keys

process_vote
update_commission

Update the vote account’s commission

update_validator_identity

Update the node_pubkey, requires signature of the authorized voter

withdraw

Withdraw funds from the vote account