Skip to main content

fold_hash

Function fold_hash 

Source
pub fn fold_hash(kind: &str, content: &str, used: &[(String, String)]) -> String
Expand description

A root’s hash as reported, of its kind: a script root or a DAG root. A reported hash made from a root’s content hash: kind (script or dag) and the reported hashes of the script roots it uses, by name, folded in (decision 301; B167).