Function vapash::difficulty_to_boundary[][src]

pub fn difficulty_to_boundary(difficulty: &U256) -> H256

Convert an Vapash difficulty to the target boundary. Basically just f(x) = 2^256 / x.