pub trait Proof<M: DbcMethod = Method>:
Clone
+ Eq
+ Debug
+ StrictSerialize
+ StrictDeserialize
+ StrictDumb {
type Error: Error;
const METHOD: M;
// Required method
fn verify(&self, msg: &Commitment, tx: &Tx) -> Result<(), Self::Error>;
}Expand description
Deterministic bitcoin commitment proof types.
Required Associated Types§
Required Associated Constants§
Required Methods§
Object Safety§
This trait is not object safe.