* fixed #1261, overflow when calculating work * tests for difficulty_to_boundary * return !U256::zer() for boundary <= 1