Looking at routing_table, it's used to check / mark a routing table node as bad.
Though there isn't a similar check for MaybeUsefulNode:
rg 'errors_in_a_row' crates/dht/src/dht.rs
76: errors_in_a_row: usize,
494: n.errors_in_a_row += 1;
506: node.errors_in_a_row = 0;
548: errors_in_a_row: 0,
Is it supposed to be checked in the closest_nodes?
Looking at
routing_table, it's used to check / mark a routing table node as bad.Though there isn't a similar check for
MaybeUsefulNode:Is it supposed to be checked in the
closest_nodes?