diff options
| author | tv <tv@krebsco.de> | 2026-11-01 20:34:59 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-01 20:34:59 +0100 |
| commit | 962fe4b43632822dc91fa6a4da6f6f295f4dba32 (patch) | |
| tree | 5dd0b5c144f9e2e93ea498cab1df9d2295d49f70 /src/transport/paths.rs | |
| parent | bb0716c8f199f7efb0f89a711a649f89cb09931f (diff) | |
bootstrap: replace pull by progress notify
Diffstat (limited to 'src/transport/paths.rs')
| -rw-r--r-- | src/transport/paths.rs | 7 |
1 files changed, 7 insertions, 0 deletions
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<tokio::sync::Notify>) { + 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 /// (`<scheme>:...`) 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 |
