Skip to main content

canonicalize_span_commitment

Function canonicalize_span_commitment 

Source
pub fn canonicalize_span_commitment(
    commitment: &SpanCommitment,
) -> Result<String, CanonicalError>
Expand description

Canonicalizes a span commitment for hashing.

This is the core commitment that gets hashed and signed. All timestamps are normalized to UTC with millisecond precision.