pub fn difficulty_to_compact(difficulty: U256) -> u32
Expand description

Converts difficulty into the compact format.