pub struct CommitmentProgress<S: PixSpec> {
pub full_commitment: Option<PixGroup<S>>,
pub ssa_builder: Option<SsaBuilder<S>>,
pub new_verifiers: Vec<SsaPartBuilder<S>>,
pub fully_committed: bool,
}Expand description
Incremental outcome of feeding coefficient commitments into an SsaCommitmentBuilder.
Everything happens on one call: the constant-term set completing is simultaneously the moment
the SSA commitment becomes known and the moment every polynomial becomes reconstructible,
since a polynomial’s whole commitment is its constant term. The fields stay separate because
the caller must publish them in a specific order — see insert_coefficient_commitments.
Fields§
§full_commitment: Option<PixGroup<S>>Full SSA commitment (Client + Exit), once every constant term has arrived.
ssa_builder: Option<SsaBuilder<S>>The SSA part accumulator, yielded exactly once — on the call that completes the constant-term set. The caller must publish it before any share can be reconstructed.
new_verifiers: Vec<SsaPartBuilder<S>>Per-polynomial part builders, all yielded together on that same call.
fully_committed: booltrue on the call that hands the part builders out.
Implementations§
Auto Trait Implementations§
impl<S> Freeze for CommitmentProgress<S>
impl<S> RefUnwindSafe for CommitmentProgress<S>where
<<S as PixSpec>::Curve as CurveArithmetic>::ProjectivePoint: RefUnwindSafe,
<<S as PixSpec>::Curve as CurveArithmetic>::Scalar: RefUnwindSafe,
<S as PixSpec>::Pseudonym: RefUnwindSafe,
impl<S> Send for CommitmentProgress<S>
impl<S> Sync for CommitmentProgress<S>
impl<S> Unpin for CommitmentProgress<S>
impl<S> UnsafeUnpin for CommitmentProgress<S>where
<<S as PixSpec>::Curve as CurveArithmetic>::ProjectivePoint: UnsafeUnpin,
<<S as PixSpec>::Curve as CurveArithmetic>::Scalar: UnsafeUnpin,
impl<S> UnwindSafe for CommitmentProgress<S>where
<<S as PixSpec>::Curve as CurveArithmetic>::ProjectivePoint: UnwindSafe,
<<S as PixSpec>::Curve as CurveArithmetic>::Scalar: UnwindSafe,
<S as PixSpec>::Pseudonym: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more