[−][src]Enum bulletproofs::range_proof_mpc::MPCError
Represents an error during the multiparty computation protocol for proof aggregation.
This is a separate type from the ProofError
to allow a layered
API: although the MPC protocol is used internally for single-party
proving, its API should not expose the complexity of the MPC
protocol.
Variants
This error occurs when the dealer gives a zero challenge, which would annihilate the blinding factors.
This error occurs when attempting to create a proof with bitsize other than \(8\), \(16\), \(32\), or \(64\).
This error occurs when attempting to create an aggregated proof with non-power-of-two aggregation size.
This error occurs when there are insufficient generators for the proof.
This error occurs when the dealer is given the wrong number of value commitments.
This error occurs when the dealer is given the wrong number of polynomial commitments.
This error occurs when the dealer is given the wrong number of proof shares.
This error occurs when one or more parties submit malformed proof shares.
Trait Implementations
impl Clone for MPCError
[src]
impl Debug for MPCError
[src]
impl Display for MPCError
[src]
impl Eq for MPCError
[src]
fn assert_receiver_is_total_eq(&self)
[src]
impl Fail for MPCError
[src]
fn name(&self) -> Option<&str>
[src]
fn cause(&self) -> Option<&dyn Fail>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
D: Display + Send + Sync + 'static,
fn compat(self) -> Compat<Self>
fn causes(&self) -> Causes
fn root_cause(&self) -> &(dyn Fail + 'static)
fn __private_get_type_id__(&self) -> TypeId
impl From<MPCError> for ProofError
[src]
fn from(e: MPCError) -> ProofError
[src]
impl PartialEq<MPCError> for MPCError
[src]
impl StructuralEq for MPCError
[src]
impl StructuralPartialEq for MPCError
[src]
Auto Trait Implementations
impl RefUnwindSafe for MPCError
impl Send for MPCError
impl Sync for MPCError
impl Unpin for MPCError
impl UnwindSafe for MPCError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsFail for T where
T: Fail,
T: Fail,
fn as_fail(&self) -> &(dyn Fail + 'static)
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
E: 'static + Error + Send + Sync,
fn name(&self) -> Option<&str>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn backtrace(&self) -> Option<&Backtrace>
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
D: Display + Send + Sync + 'static,
fn compat(self) -> Compat<Self>
fn causes(&self) -> Causes
fn root_cause(&self) -> &(dyn Fail + 'static)
fn __private_get_type_id__(&self) -> TypeId
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,