Skip to main content

chain_hash

Function chain_hash 

Source
pub fn chain_hash(raw_line: &[u8]) -> B3Hash
Expand description

Chain rule: prev(line k+1) = blake3(canonical bytes of line k). One hash function, one home; jsonl, the in-memory ledger and replay all call this exact function.