👎Deprecated since 3.1.0:
This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Expand description
Vote state, vote program Receive and processes votes from validators
Modules§
- serde_
compact_ vote_ state_ update - serde_
tower_ sync - vote_
state_ 1_ 14_ 11 - vote_
state_ v3 - vote_
state_ v4 - vote_
state_ versions
Structs§
- Block
Timestamp - CircBuf
- Landed
Vote - Lockout
- Tower
Sync - Vote
- Vote
Authorize Checked With Seed Args - Vote
Authorize With Seed Args - Vote
Init - Vote
State1_ 14_ 11 - Vote
State Update - Vote
State V3 - Vote
State V4
Enums§
Constants§
- BLS_
PUBLIC_ KEY_ COMPRESSED_ SIZE - Size of a BLS public key in a compressed point representation
- INITIAL_
LOCKOUT - MAX_
EPOCH_ CREDITS_ HISTORY - MAX_
LOCKOUT_ HISTORY - VOTE_
CREDITS_ GRACE_ SLOTS - VOTE_
CREDITS_ MAXIMUM_ PER_ SLOT
Functions§
- authorize
Deprecated - 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_
v3_ account_ with_ authorized Deprecated - create_
v4_ account_ with_ authorized Deprecated - do_
process_ vote_ state_ update Deprecated - initialize_
account Deprecated - 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
- is_
commission_ update_ allowed Deprecated - Given the current slot and epoch schedule, determine if a commission change is allowed
- process_
new_ vote_ state Deprecated - process_
slot_ vote_ unchecked Deprecated - process_
tower_ sync Deprecated - process_
vote Deprecated - process_
vote_ state_ update Deprecated - process_
vote_ unchecked Deprecated - “unchecked” functions used by tests and Tower
- process_
vote_ unfiltered Deprecated - process_
vote_ with_ account Deprecated - update_
commission Deprecated - Update the vote account’s commission
- update_
validator_ identity Deprecated - Update the node_pubkey, requires signature of the authorized voter
- withdraw
Deprecated - Withdraw funds from the vote account