From f26904fdd167b31566fd79cbffcbfc4bafae0c28 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 1 Nov 2026 19:52:21 +0100 Subject: libp2p: identify leaves out ignored externals Identify no longer tells peers confirmed external addresses in ignored ranges, unless they were announced. --- src/transport/libp2p/behaviour.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/transport/libp2p/behaviour.rs') diff --git a/src/transport/libp2p/behaviour.rs b/src/transport/libp2p/behaviour.rs index a2e8e91..18d8011 100644 --- a/src/transport/libp2p/behaviour.rs +++ b/src/transport/libp2p/behaviour.rs @@ -276,6 +276,8 @@ impl Behaviour { identify: Identifying { inner: ::libp2p::identify::Behaviour::new(identify), ranges: ignored.clone(), + // Set by `Libp2pTransport::start`. + announced: Vec::new(), }, relay_client, relay: relay.into(), -- cgit v1.3.1