summaryrefslogtreecommitdiffstats
path: root/src/transport/identity.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-28 17:38:16 +0100
committertv <tv@krebsco.de>2026-10-28 17:38:16 +0100
commitd7959009790a422ebb17d4c4ab1d9be3d48dc511 (patch)
treee1409432709b0c856a05fb7fd0c0b31895878bcf /src/transport/identity.rs
parent0c77de0d960de62f770a26204e0ef730d0a07b08 (diff)
list libp2p relays in document
Diffstat (limited to 'src/transport/identity.rs')
-rw-r--r--src/transport/identity.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/transport/identity.rs b/src/transport/identity.rs
index 432348e..c597d77 100644
--- a/src/transport/identity.rs
+++ b/src/transport/identity.rs
@@ -540,6 +540,11 @@ impl Transport for IdentityTransport {
self.shared.paths.transports()
}
+ /// Each transport those with its scheme, without it (`Paths::learn_relays`).
+ fn learn_relays(&self, addresses: &[String]) {
+ self.shared.paths.learn_relays(addresses);
+ }
+
/// The address `encode` picks, the transport's connection there, and every path
/// to `peer` as paths measures it, best first.
fn destination(&self, peer: &str) -> Option<Destination> {