Trait halo2_proofs::transcript::TranscriptWrite
source · pub trait TranscriptWrite<C, E>: Transcript<C, E>where
C: CurveAffine,
E: EncodedChallenge<C>,{
// Required methods
fn write_point(&mut self, point: C) -> Result<(), Error>;
fn write_scalar(
&mut self,
scalar: <C as PrimeCurveAffine>::Scalar
) -> Result<(), Error>;
}
Expand description
Transcript view from the perspective of a prover that has access to an output stream of messages from the prover to the verifier.
Required Methods§
sourcefn write_point(&mut self, point: C) -> Result<(), Error>
fn write_point(&mut self, point: C) -> Result<(), Error>
Write a curve point to the proof and the transcript.
sourcefn write_scalar(
&mut self,
scalar: <C as PrimeCurveAffine>::Scalar
) -> Result<(), Error>
fn write_scalar( &mut self, scalar: <C as PrimeCurveAffine>::Scalar ) -> Result<(), Error>
Write a scalar to the proof and the transcript.
Object Safety§
This trait is not object safe.