[−][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<T, U> Cast<U> for T where
U: FromCast<T>,
U: FromCast<T>,
fn cast(self) -> U
impl<T> From<T> for T
[src]
impl<T> FromBits<T> for T
fn from_bits(t: T) -> T
impl<T> FromCast<T> for T
fn from_cast(t: T) -> T
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
U: FromBits<T>,
fn into_bits(self) -> U
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>,