Skip to main content

VerifyingKeyRegistry

Trait VerifyingKeyRegistry 

Source
pub trait VerifyingKeyRegistry {
    type VerifyingKeyHandle;

    // Required method
    fn lookup(
        &self,
        proof_system: &str,
        circuit_id: &str,
    ) -> Option<Self::VerifyingKeyHandle>;
}
Expand description

Verifying key registry — the trust model swap point.

v1 is StaticRegistry (config file); future versions might use on-chain lookups.

Required Associated Types§

Required Methods§

Source

fn lookup( &self, proof_system: &str, circuit_id: &str, ) -> Option<Self::VerifyingKeyHandle>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§