/// Compute the hash tree corresponding to the full replicated state.
Compute the hash tree corresponding to the full replicated state.
Compute the hash tree corresponding to the full replicated state .
pub fn hash_state(state: &ReplicatedState) -> HashTree {
    ic_canonical_state::traverse(state, HashingVisitor::<HashTreeBuilderImpl>::default())
        .into_hash_tree()
        .unwrap()
}
pub fn hash_state ( state : & ReplicatedState ) -> HashTree { ic_canonical_state :: traverse ( state , HashingVisitor :: < HashTreeBuilderImpl > :: default ( ) ) . into_hash_tree ( ) . unwrap ( ) }
Compute the hash tree corresponding to the full replicated state.
Compute the hash tree corresponding to the full replicated state .
state
&ReplicatedState