Skip to main content

recover_signers

Function recover_signers 

Source
pub fn recover_signers<'a, I, T>(txes: I) -> Result<Vec<Address>, RecoveryError>
where T: SignedTransaction, I: IntoParallelIterator<Item = &'a T>,
Available on crate feature rayon only.
Expand description

Recovers a list of signers from a transaction list iterator.

Returns Err(RecoveryError), if some transaction’s signature is invalid.

When the rayon feature is enabled, recovery is performed in parallel.