From 7f018573730dc57f9608fe41faa54b44abba841d 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/mod.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/transport/mod.rs') diff --git a/src/transport/mod.rs b/src/transport/mod.rs index 5ad2427..a802269 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -818,6 +818,12 @@ pub(crate) trait Transport: Send + Sync { Vec::new() } + /// Has the transport tell `found` whenever it finds a seed by itself + /// (`discovered_seeds`). By default it never does. + fn on_seeds_found(&self, found: std::sync::Arc) { + let _ = found; + } + /// Whether this node has a way to reach `peer` at all: an address of it on one of /// its transports. Members it can't reach aren't its neighbours (`swarm::topology`). /// By default yes, as for `local_addresses`. -- cgit v1.3.1