reth_primitives::transaction

Function recover_signers

Source
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