pub trait VerificationStrategy<'params, C: CurveAffine> {
    type Output;

    // Required method
    fn process<E: EncodedChallenge<C>>(
        self,
        f: impl FnOnce(MSM<'params, C>) -> Result<Guard<'params, C, E>, Error>
    ) -> Result<Self::Output, Error>;
}
Expand description

Trait representing a strategy for verifying Halo 2 proofs.

Required Associated Types§

source

type Output

The output type of this verification strategy after processing a proof.

Required Methods§

source

fn process<E: EncodedChallenge<C>>( self, f: impl FnOnce(MSM<'params, C>) -> Result<Guard<'params, C, E>, Error> ) -> Result<Self::Output, Error>

Obtains an MSM from the verifier strategy and yields back the strategy’s output.

Implementors§

source§

impl<'params, C: CurveAffine> VerificationStrategy<'params, C> for SingleVerifier<'params, C>

§

type Output = ()