Trait commit_verify::CommitEncode
source · pub trait CommitEncode {
// Required method
fn commit_encode(&self, e: &mut impl Write);
}
Expand description
Prepares the data to the consensus commit procedure by first running necessary conceal and merklization procedures, and them performing strict encoding for the resulted data.
Required Methods§
sourcefn commit_encode(&self, e: &mut impl Write)
fn commit_encode(&self, e: &mut impl Write)
Encodes the data for the commitment by writing them directly into a
io::Write
writer instance
Object Safety§
This trait is not object safe.