Expand description
Vote state, vote program Receive and processes votes from validators
Modules§
Structs§
Enums§
Constants§
Functions§
- 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
- 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
- Given a proposed new commission, returns true if this would be a commission increase, false otherwise
- Given the current slot and epoch schedule, determine if a commission change is allowed
- “unchecked” functions used by tests and Tower
- Update the vote account’s commission
- Update the node_pubkey, requires signature of the authorized voter
- Withdraw funds from the vote account