From 305e992eedef97f7c4ca5927c68571f593d2b4a2 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Sat, 25 Feb 2023 10:22:31 +0100 Subject: [PATCH] docs: rm global ip docs (#1555) --- crates/net/common/src/ban_list.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crates/net/common/src/ban_list.rs b/crates/net/common/src/ban_list.rs index 548dc5d33b..fdd9aabe8a 100644 --- a/crates/net/common/src/ban_list.rs +++ b/crates/net/common/src/ban_list.rs @@ -27,8 +27,6 @@ pub struct BanList { impl BanList { /// Creates a new ban list that bans the given peers and ips indefinitely. - /// - /// This will ban non-global IPs if they are included in `banned_ips` pub fn new( banned_peers: impl IntoIterator, banned_ips: impl IntoIterator, @@ -40,8 +38,6 @@ impl BanList { } /// Creates a new ban list that bans the given peers and ips with an optional timeout. - /// - /// This will ban non-global IPs if they are included in `banned_ips` pub fn new_with_timeout( banned_peers: HashMap>, banned_ips: HashMap>,