Skip to main content

rules_hash

Function rules_hash 

Source
pub fn rules_hash(block: &str) -> String
Expand description

Stable content hash of a rendered rules block. FNV-1a written out here because the std hasher is deliberately unstable across Rust releases, and a ledger key that drifts with the toolchain would silently split every tally.