commit_verify

Trait CommitmentId

Source
pub trait CommitmentId:
    Copy
    + Ord
    + From<Sha256>
    + StrictType {
    const TAG: &'static str;
}

Required Associated Constants§

Source

const TAG: &'static str

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl CommitmentId for MerkleHash

Source§

const TAG: &'static str = "urn:ubideco:merkle:node#2024-01-31"

Source§

impl CommitmentId for Commitment

Source§

const TAG: &'static str = "urn:ubideco:mpc:commitment#2024-01-31"

Source§

impl CommitmentId for StrictHash

Source§

const TAG: &'static str = "urn:ubideco:strict-types:value-hash#2024-02-10"