From d7959009790a422ebb17d4c4ab1d9be3d48dc511 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 28 Oct 2026 17:38:16 +0100 Subject: list libp2p relays in document --- src/transport/identity.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/transport/identity.rs') 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 { -- cgit v1.3.1