pub fn tree_hash_cached( a: &Allocator, node: NodePtr, backrefs: &HashSet<NodePtr>, cache: &mut HashMap<NodePtr, [u8; 32]> ) -> [u8; 32]