pub fn boundary_to_difficulty(boundary: &U256) -> U256
Expand description

Convert boundary to its original difficulty. Basically just f(x) = 2^256 / x.