pub fn is_simple_vote_transaction_impl<'a>(
signatures: &[Signature],
is_legacy_message: bool,
instruction_programs: impl Iterator<Item = &'a Pubkey>,
) -> bool
Available on crate feature
full
only.Expand description
Simple vote transaction meets these conditions:
- has 1 or 2 signatures;
- is legacy message;
- has only one instruction;
- which must be Vote instruction;