pub(crate) type CachedVerifierService = Cached<VerifierService>;Expand description
A private cache around one public Halo2 verifier.
Aliased Type§
pub(crate) struct CachedVerifierService {
inner: Fallback<Batch<Verifier, Item>, OrchardFallback>,
verified: Arc<Mutex<VerifiedBundles>>,
metrics: CacheMetrics,
}Fields§
§inner: Fallback<Batch<Verifier, Item>, OrchardFallback>The verification service to consult on a miss.
verified: Arc<Mutex<VerifiedBundles>>The keys of items that have already verified under this cache’s verifying key.
metrics: CacheMetricsThe metric handles shared by clones of this cache.
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 168 bytes