pub trait VerifyEq {
    fn verify_eq(&self, other: &Self) -> bool;
}
Expand description

Trait for equivalence verification. Implemented for all types implemeting Eq. For non-Eq types this trait provides way to implement custom equivalence verification used during commitment verification procedure.

Required Methods§

Verifies commit-equivalence of two instances of the same type.

Implementors§