pub fn difficulty(hash: &[u8; 32]) -> f64
The difficulty a header hash meets: difficulty 1’s target over the hash as a number.