pub type Item = Item<Bls12>;
Expand description
The type of the batch item. This is a Groth16 verification item.
Aliased Type§
struct Item { /* private fields */ }
Implementations
§impl<E> Item<E>where
E: MultiMillerLoop,
impl<E> Item<E>where
E: MultiMillerLoop,
pub fn verify_single(
self,
pvk: &PreparedVerifyingKey<E>,
) -> Result<(), VerificationError>
pub fn verify_single( self, pvk: &PreparedVerifyingKey<E>, ) -> Result<(), VerificationError>
Perform non-batched verification of this Item
.
This is useful (in combination with Item::clone
) for implementing
fallback logic when batch verification fails.