Function storage_proofs_porep::stacked::create_label_circuit
source ยท pub fn create_label_circuit<Scalar, CS>(
cs: CS,
replica_id: &[Boolean],
parents: Vec<Vec<Boolean>>,
layer_index: UInt32,
node: UInt64,
) -> Result<AllocatedNum<Scalar>, SynthesisError>where
Scalar: PrimeField,
CS: ConstraintSystem<Scalar>,
Expand description
Compute a single label.