compute_trace_set_root

Function compute_trace_set_root 

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

Computes the trace set root from a sorted list of span commitment hashes.

trace_set_root = sha256(join_sorted(C_span_i, "|"))

The span commitment hashes must be sorted lexicographically before joining.