Nodes which connect to ddht (i.e. via PING) appear to not be added the routing table.
This makes it very hard to test FINDNODE handling.
Expected Result
In my test, I'm trying to get some bystander nodes added to ddht's table, so that it can verify whether these nodes are returned by FINDNODE later. To get them in, the test sends PING from the bystander node every 10s and waits for a PING or FINDNODE from ddht. Even after waiting 120s, ddht never sends any such request. I therefore assume that the nodes are not present in the table.
What was wrong?
Nodes which connect to ddht (i.e. via PING) appear to not be added the routing table. This makes it very hard to test FINDNODE handling.
Expected Result
In my test, I'm trying to get some bystander nodes added to ddht's table, so that it can verify whether these nodes are returned by FINDNODE later. To get them in, the test sends PING from the bystander node every 10s and waits for a PING or FINDNODE from ddht. Even after waiting 120s, ddht never sends any such request. I therefore assume that the nodes are not present in the table.
I would expect that a PING is eventually sent.
Environment