Enum tari_bulletproofs::ProofError [−][src]
pub enum ProofError { VerificationError, FormatError, WrongNumBlindingFactors, InvalidBitsize, InvalidAggregation, InvalidGeneratorsLength, ProvingError(MPCError), InvalidCommitmentExtracted, InvalidRewindKeySeparator, }
Expand description
Represents an error in proof creation, verification, or parsing.
Variants
This error occurs when a proof failed to verify.
This error occurs when the proof encoding is malformed.
This error occurs during proving if the number of blinding factors does not match the number of values.
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.
ProvingError(MPCError)
This error results from an internal error during proving.
The single-party prover is implemented by performing multiparty computation with ourselves. However, because the MPC protocol is not exposed by the single-party API, we consider its errors to be internal errors.
This error results from trying to rewind a proof with the wrong rewind nonce
This error results from trying to rewind a proof with an invalid rewind key separator
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ProofError
impl Send for ProofError
impl Sync for ProofError
impl Unpin for ProofError
impl UnwindSafe for ProofError
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V