Ivan FB e126e44c48
fix: don't apply reconnect backoff to discovered relay peers
Discovery populates the peer store fast enough that the backgrounded
reconnect future treats freshly discovered relay peers as if they came
from persistent storage, delaying their connection by a serial ~1min
backoff. Tag storage-loaded peers with a new PeerOrigin.Cache and have
reconnectPeers act only on those; discovered peers are left to the
connectivity loop, which dials them right away. The reconnect dials are
also parallelized so a slow peer can't stall the rest.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-10 22:03:11 +02:00
..
2026-07-09 12:21:41 -03:00
2026-07-09 15:57:16 -03:00