pub fn pow_hash_to_quality(hash: &H256, nonce: &U256) -> U256