pub fn puzzle_solved(node_id: &[u8; 32], difficulty: u32) -> bool
Whether node_id starts with difficulty zero bits. A difficulty above 256 is never solved.
node_id
difficulty