pub fn chain_hash(events: &[ProofEvent]) -> Result<String, ChainError>Expand description
Rolling chain hash: seeded with 32 zero bytes, then for each event the
hash is sha256(prev || sha256_bytes_of_event).
pub fn chain_hash(events: &[ProofEvent]) -> Result<String, ChainError>Rolling chain hash: seeded with 32 zero bytes, then for each event the
hash is sha256(prev || sha256_bytes_of_event).