Static zebra_consensus::redjubjub::VERIFIER

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

Global batch verification context for RedJubjub 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.