This is a small simplification that I believe will fix tricky points in the worker loop.
We should do backoff filtering along with other address filtering in swarm.filterKnownUndialables
This will clean up some of the awkward error handling here and here
see #2320 (comment)
for how black hole detection can be made to work with this.
As a follow up I'd like to change the worker loop interface to just take the list of addresses to dial with the ranking and the address filtering and ranking all happens before the worker loop.
This is a small simplification that I believe will fix tricky points in the worker loop.
We should do backoff filtering along with other address filtering in
swarm.filterKnownUndialablesThis will clean up some of the awkward error handling here and here
see #2320 (comment)
for how black hole detection can be made to work with this.
As a follow up I'd like to change the worker loop interface to just take the list of addresses to dial with the ranking and the address filtering and ranking all happens before the worker loop.