OrchardProver

Trait OrchardProver 

Source
pub trait OrchardProver {
    // Required method
    fn proving_key(&self) -> &ProvingKey;
}
Expand description

Trait abstracting over Orchard proof generation.

This follows the same pattern as Signer — callers provide an implementation that holds (and potentially caches) the expensive ProvingKey, and the builder functions use it via this trait.

Required Methods§

Source

fn proving_key(&self) -> &ProvingKey

Returns a reference to the Halo 2 proving key for the Orchard circuit.

Implementors§