Trait CommitEncode

Source
pub trait CommitEncode {
    type CommitmentId: CommitmentId;

    // Required method
    fn commit_encode(&self, e: &mut CommitEngine);
}

Required Associated Types§

Source

type CommitmentId: CommitmentId

Type of the resulting commitment.

Required Methods§

Source

fn commit_encode(&self, e: &mut CommitEngine)

Encodes the data for the commitment by writing them directly into a std::io::Write writer instance

Implementors§