Type Alias zebra_consensus::groth16::Item

source ·
pub type Item = Item<Bls12>;
Expand description

The type of the batch item. This is a Groth16 verification item.

Aliased Type§

struct Item {
    proof: Proof<Bls12>,
    inputs: Vec<Scalar>,
}

Fields§

§proof: Proof<Bls12>§inputs: Vec<Scalar>

Trait Implementations§

source§

impl<T> TryFrom<DescriptionWrapper<&T>> for Item
where T: Description,

§

type Error = TransactionError

The type returned in the event of a conversion error.
source§

fn try_from(input: DescriptionWrapper<&T>) -> Result<Self, Self::Error>

Performs the conversion.