iroh icon indicating copy to clipboard operation
iroh copied to clipboard

Node discovery uses wrong detection of when new paths are needed

Open flub opened this issue 1 year ago • 1 comments

DiscoveryTask::needs_discovery uses the NodeInfo::last_received API which is not information that NodeInfo can supply. It is not obvious if it could right now, this needs to be looked at to understand what the condition is really needed for needs_discovery and how to provide this from the PathState and whether (and how) it should be exposed from the more public NodeInfo.

flub avatar Aug 13 '24 14:08 flub

could you add some info on what apis it uses that are wrong and why? if we don't solve the issue soon, by the time we get back to this it will be very hard to remember/understand what's the problem

divagant-martian avatar Aug 13 '24 16:08 divagant-martian

This is totally different for multipath anyway

flub avatar Sep 25 '25 08:09 flub