From 962fe4b43632822dc91fa6a4da6f6f295f4dba32 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 1 Nov 2026 20:34:59 +0100 Subject: bootstrap: replace pull by progress notify --- src/transport/paths.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/transport/paths.rs') diff --git a/src/transport/paths.rs b/src/transport/paths.rs index ce19fd4..8149781 100644 --- a/src/transport/paths.rs +++ b/src/transport/paths.rs @@ -667,6 +667,13 @@ impl Paths { .collect() } + /// Each transport's (`Transport::on_seeds_found`). + pub(crate) fn on_seeds_found(&self, found: std::sync::Arc) { + for link in &self.links { + link.inner.on_seeds_found(found.clone()); + } + } + /// The address of the node a seed leads to, as paths keep it: an address of ours /// (`:...`) whose transport reads it at once; with a scheme of ours, what /// that transport resolves the rest to (an address the transport can't read as an -- cgit v1.3.1