Skip to main content

compute_gap_hash

Function compute_gap_hash 

Source
pub fn compute_gap_hash(gap: &MarkerGap) -> [u8; 32]
Expand description

Computes the canonical BLAKE3 hash of a MarkerGap.

The hash is domain-separated by a crate-internal prefix and uses big-endian fixed-width framing for the sequence bounds plus a one-byte reason discriminant. Store the returned bytes alongside the record; do not add a hash field to the struct itself.