From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id F341AC000E for ; Mon, 12 Jul 2021 23:40:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id DCD8C607FC for ; Mon, 12 Jul 2021 23:40:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: 0.599 X-Spam-Level: X-Spam-Status: No, score=0.599 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=notatether.com Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qvDP4-oL_Vxy for ; Mon, 12 Jul 2021 23:40:10 +0000 (UTC) X-Greylist: delayed 00:06:37 by SQLgrey-1.8.0 Received: from mail-41103.protonmail.ch (mail-41103.protonmail.ch [185.70.41.103]) by smtp3.osuosl.org (Postfix) with ESMTPS id 6C6F1600B8 for ; Mon, 12 Jul 2021 23:40:10 +0000 (UTC) Received: from mail-0301.mail-europe.com (mail-0301.mail-europe.com [188.165.51.139]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by mail-41103.protonmail.ch (Postfix) with ESMTPS id 4GP0Sq1kMcz4wyXD for ; Mon, 12 Jul 2021 23:33:31 +0000 (UTC) Authentication-Results: mail-41103.protonmail.ch; dkim=pass (2048-bit key) header.d=notatether.com header.i=@notatether.com header.b="dmh5f4eB" Date: Mon, 12 Jul 2021 23:33:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=notatether.com; s=protonmail2; t=1626132797; bh=/LLwBGNrmwl736UbPHXEdhLq19ywgb0bpE4DLYhnVKE=; h=Date:To:From:Reply-To:Subject:From; b=dmh5f4eB3XzKK3UnitHqp/DJLCp1qQqGbNVeHplPPHHvOGkCj+ujmAqCbMASVzjxT JBoq0sQaxoSMHT/C1wyEhALUnVJ/KTrIzgLAiHed6Tbs3FlQkX0+U1qtG8tHwgC4PA G3RIe1QT1Jpiiy5J450pM0lIOCS0UBKG7PfADF6LVLbPM3ue3KLSzkmQNkelQdyhXH QUsYFz5Deute58B8vgtlk7dlKH8olhtzWuvVP6wQgrTJtlAfSiJvxwh8FsSwA3+Ezb 8te6d4SLrTr3l0AFbgRGI0zjvDTHyy/F5Z+PlRcBv0Yer+qAXS+N0fdog8AlI9hQ1A 28T77tnR8lyGQ== To: "bitcoin-dev@lists.linuxfoundation.org" From: Ali Sherief Reply-To: Ali Sherief Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_c6LJkpJnhLH9CE0nRSAIljwGEgZ2p0g3q9m33IhKIu8" X-Mailman-Approved-At: Tue, 13 Jul 2021 00:22:00 +0000 Subject: [bitcoin-dev] An idea to block invalid addresses from reaching the peers.dat buckets X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2021 23:40:13 -0000 This is a multi-part message in MIME format. --b1_c6LJkpJnhLH9CE0nRSAIljwGEgZ2p0g3q9m33IhKIu8 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 VGhpcyBpcyBhbiBpbnRlcmVzdGluZyByZWFkOiBodHRwczovL2JpdGNvaW50YWxrLm9yZy9pbmRl eC5waHA/dG9waWM9NTM0ODg1Ni4wCgpTb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