pub fn calculate_next_work_required(
    previous_target: U256,
    first_block_time: u64,
    last_block_time: u64
) -> Result<u32, Error>