Can somebody clarify me the statement from the specification of mainline DHT?
Upon inserting the first node into its routing table and when starting up thereafter, the node should attempt to find the closest nodes in the DHT to itself. It does this by issuing find_node messages to closer and closer nodes until it cannot find any closer.
What does "until it cannot find any closer" mean?
When my program start to send find_node messages it has empty set of nodes. Each response to find_node message returns about 8 dht nodes. My program collects them in the list.
When must my program stop sending find node messages?
I think that it must stop sending when it will receive the set of dht nodes all elements of which are in the list of already collected nodes?
Am I right?
Thank you in advance.