Skip to main content

compute_trace_seq_root

Function compute_trace_seq_root 

Source
pub fn compute_trace_seq_root(
    span_hashes: &[Sha256],
) -> Result<Sha256, HashError>
Expand description

Computes the trace sequence root (optional).

trace_seq_root = sha256(join_in_order(C_span_i, "|"))

This preserves ordering information, unlike trace_set_root which is order-independent.