Skip to main content

event_stream_hash

Function event_stream_hash 

Source
pub fn event_stream_hash(
    store: &dyn EventStore,
    run_id: &RunId,
) -> Result<[u8; 32], KernelError>
Expand description

Computes a deterministic SHA-256 hash of the event stream for a run.

Used in Record mode to store the hash and in Verify mode to detect replay mismatches.