From e36d7c78565560af223950186256896d05f58010 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 29 Oct 2026 05:32:49 +0100 Subject: libp2p: add ignore option --- src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 1803f15..1cfd173 100644 --- a/src/main.rs +++ b/src/main.rs @@ -392,6 +392,11 @@ fn libp2p_config( continuum: !relay_only, mdns: args.libp2p_mdns, upnp: args.libp2p_upnp, + ignore: args + .libp2p_ignore + .iter() + .map(|range| range.parse().context("libp2p-ignore")) + .collect::>>()?, public: args.libp2p_public, memory: false, }) -- cgit v1.3.1