Enum solana_vote_program::vote_instruction::VoteInstruction [−][src]
pub enum VoteInstruction { InitializeAccount(VoteInit), Authorize(Pubkey, VoteAuthorize), Vote(Vote), Withdraw(u64), UpdateValidatorIdentity, UpdateCommission(u8), VoteSwitch(Vote, Hash), }
Variants
InitializeAccount(VoteInit)
Initialize a vote account
Account references
- [WRITE] Uninitialized vote account
- [] Rent sysvar
- [] Clock sysvar
- [SIGNER] New validator identity (node_pubkey)
Authorize(Pubkey, VoteAuthorize)
Authorize a key to send votes or issue a withdrawal
Account references
- [WRITE] Vote account to be updated with the Pubkey for authorization
- [] Clock sysvar
- [SIGNER] Vote or withdraw authority
Vote(Vote)
A Vote instruction with recent votes
Account references
- [WRITE] Vote account to vote with
- [] Slot hashes sysvar
- [] Clock sysvar
- [SIGNER] Vote authority
Withdraw(u64)
Withdraw some amount of funds
Account references
- [WRITE] Vote account to withdraw from
- [WRITE] Recipient account
- [SIGNER] Withdraw authority
Update the vote account’s validator identity (node_pubkey)
Account references
- [WRITE] Vote account to be updated with the given authority public key
- [SIGNER] New validator identity (node_pubkey)
- [SIGNER] Withdraw authority
UpdateCommission(u8)
Update the commission for the vote account
Account references
- [WRITE] Vote account to be updated
- [SIGNER] Withdraw authority
A Vote instruction with recent votes
Account references
- [WRITE] Vote account to vote with
- [] Slot hashes sysvar
- [] Clock sysvar
- [SIGNER] Vote authority
Trait Implementations
impl Clone for VoteInstruction
[src][+]
impl Debug for VoteInstruction
[src][+]
impl<'de> Deserialize<'de> for VoteInstruction
[src][+]
impl Eq for VoteInstruction
[src]
impl PartialEq<VoteInstruction> for VoteInstruction
[src][+]
impl Serialize for VoteInstruction
[src][+]
impl StructuralEq for VoteInstruction
[src]
impl StructuralPartialEq for VoteInstruction
[src]
Auto Trait Implementations
impl RefUnwindSafe for VoteInstruction
impl Send for VoteInstruction
impl Sync for VoteInstruction
impl Unpin for VoteInstruction
impl UnwindSafe for VoteInstruction
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src][+]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> Pointable for T
[src][+]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Typeable for T where
T: Any,
[+]
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,