Skip to main content

hash_state

Function hash_state 

Source
pub fn hash_state<S: Serialize>(state: &S) -> SimResult<[u8; 32]>
Expand description

Compute Blake3 hash of serializable state.

ยงErrors

Returns error if serialization fails.