Skip to main content

Module parallel

Module parallel 

Source
Available on crate feature parallel only.
Expand description

Parallel verification utilities.

This module provides high-throughput parallel implementations for stamp verification using rayon parallel iterators.

Verification is embarrassingly parallel - each stamp can be verified independently. We use rayon’s parallel iterators to distribute verification across all available cores.

§Performance Optimization

For batches where you’ve already recovered the owner’s public key, use verify_stamps_parallel_with_pubkey for approximately 2x faster verification compared to full ECDSA recovery.

Structs§

VerifyResult
Result of a stamp verification.

Functions§

verify_stamps_parallel
Verifies multiple stamps in parallel.
verify_stamps_parallel_with_owner
Verifies multiple stamps in parallel against an expected owner.
verify_stamps_parallel_with_pubkey
Verifies multiple stamps in parallel using a cached public key.