Trait solana_sdk::vote_transaction::VoteTransaction
source · pub trait VoteTransaction {
fn vote_new(
vote_account: &Keypair,
vote: Vote,
last_id: Hash,
fee: u64
) -> Self;
fn vote_account_new(
validator_id: &Keypair,
vote_account_id: Pubkey,
last_id: Hash,
num_tokens: u64,
fee: u64
) -> Self;
fn get_votes(&self) -> Vec<(Pubkey, Vote, Hash)>;
}