zebra_consensus::primitives::ed25519

Static VERIFIER

source
pub static VERIFIER: Lazy<Fallback<Batch<Verifier, Item>, ServiceFn<fn(_: Item) -> BoxFuture<'static, Result<(), BoxError>>>>>
Expand description

Global batch verification context for Ed25519 signatures.

This service transparently batches contemporaneous signature verifications, handling batch failures by falling back to individual verification.

Note that making a Service call requires mutable access to the service, so you should call .clone() on the global handle to create a local, mutable handle.