Implements the check-before-add client optimisation to ping a peer before adding it to the routing table.
Adds a "new peer ping queue" to apply a concurrency limit to these pings, because it would be expected for old contacts to be less likely to be online so don't block adding new contacts to unrelated buckets if the connection to an old contact is timing out while being pinged before eviction.
BREAKING CHANGE: the routing ping options have been split into "old contact" and "new contact" and renamed according
Change checklist
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation if necessary (this includes comments as well)
[x] I have added tests that prove my fix is effective or that my feature works
Implements the check-before-add client optimisation to ping a peer before adding it to the routing table.
Adds a "new peer ping queue" to apply a concurrency limit to these pings, because it would be expected for old contacts to be less likely to be online so don't block adding new contacts to unrelated buckets if the connection to an old contact is timing out while being pinged before eviction.
BREAKING CHANGE: the routing ping options have been split into "old contact" and "new contact" and renamed according
Change checklist