pub trait ValidationError: 'static + Clone + Debug + Display + Error + Serialize + DeserializeOwned + Send + Sync {
    // Required methods
    fn new(msg: impl Display) -> Self;
    fn is_bad_nullifier_proof(&self) -> bool;
}
Expand description

Errors that can occur when validating a Transaction or Block.

Required Methods§

source

fn new(msg: impl Display) -> Self

A catch-all error variant with a helpful message.

source

fn is_bad_nullifier_proof(&self) -> bool

Whether validation failed because a transaction’s nullifier proof was invalid.

Implementors§