pub fn is_transaction_selected(
        &self,
        is_vote: bool,
        mentioned_addresses: Box<dyn Iterator<Item = &Pubkey> + '_>,
    ) -> bool {
        if !self.is_enabled() {
            return false;
        }

        if self.select_all_transactions || (self.select_all_vote_transactions && is_vote) {
            return true;
        }
        for address in mentioned_addresses {
            if self.mentioned_addresses.contains(address.as_ref()) {
                return true;
            }
        }
        false
    }
/// Check if a transaction is of interest.
Check if a transaction is of interest.
Check if a transaction is of interest .
pub fn is_transaction_selected(
        &self,
        is_vote: bool,
        mentioned_addresses: Box<dyn Iterator<Item = &Pubkey> + '_>,
    ) -> bool {
        if !self.is_enabled() {
            return false;
        }
        if self.select_all_transactions || (self.select_all_vote_transactions && is_vote) {
            return true;
        }
        for address in mentioned_addresses {
            if self.mentioned_addresses.contains(address.as_ref()) {
                return true;
            }
        }
        false
    }
pub fn is_transaction_selected ( & self , is_vote : bool , mentioned_addresses : Box < dyn Iterator < Item = & Pubkey > + ' _ > , ) -> bool { if ! self . is_enabled ( ) { return false ; } if self . select_all_transactions || ( self . select_all_vote_transactions && is_vote ) { return true ; } for address in mentioned_addresses { if self . mentioned_addresses . contains ( address . as_ref ( ) ) { return true ; } } false }
Check if a transaction is of interest.
Check if a transaction is of interest .
&self
is_vote
bool
mentioned_addresses
Box<dyn Iterator<Item = &Pubkey> + '_>