Function difficulty

Source
pub fn difficulty(p: &Process, state: &mut State) -> Result<String, Error>