reth::primitives::transaction

Function recover_signers

pub fn recover_signers<'a, I, T>(
    txes: I,
    num_txes: usize,
) -> Option<Vec<Address>>
where T: SignedTransaction, I: IntoParallelIterator<Item = &'a T> + IntoIterator<Item = &'a T> + Send,
Expand description

Recovers a list of signers from a transaction list iterator.

Returns None, if some transaction’s signature is invalid