Return-Path: Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 4E30CC002A for ; Tue, 9 May 2023 12:20:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 0EF4F403B8 for ; Tue, 9 May 2023 12:20:35 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 0EF4F403B8 Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=proton.me header.i=@proton.me header.a=rsa-sha256 header.s=protonmail header.b=dkGSfQVD X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: -2.102 X-Spam-Level: X-Spam-Status: No, score=-2.102 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7G8dfncA_H3N for ; Tue, 9 May 2023 12:20:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org B59C740610 Received: from mail-4318.protonmail.ch (mail-4318.protonmail.ch [185.70.43.18]) by smtp2.osuosl.org (Postfix) with ESMTPS id B59C740610 for ; Tue, 9 May 2023 12:20:33 +0000 (UTC) Date: Tue, 09 May 2023 12:20:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1683634831; x=1683894031; bh=QZ7WrWaPzo9+18jm/VGrIKOX2BdkKXeKKZ4QPKuiGX0=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=dkGSfQVDLTOm3geHvRCLJL09yQ5jCHk8yjhWU0evBVcy0CDAmM5osIjoUtlTQn3ok bkaHphUmuLUeL5puwcZoJo9Tmqvs3AcxsWVSInTGfv8GHDpasBl8F5GQoJY6SuqLiU CHdHOMILJmWu3aDtPE83givg4IPAJBRmwoBQas1x8vu554mylFepyFQ3Pp/Hl8S+9l 8gYwLFf/rkGp+N1+W9JpLWbsVo/cyjKUJEwnitpeKcTP5L9fXh3UWEaXcU2No+YQaT m+3NLkmLYJhlKrIUo9PrEIt4MtBgnkjNU13ya/n2KTZUlO2u02P8DULuOC1EPOYZDD GFqTDnxLGuDlQ== To: pete@petertodd.org, bitcoin-dev@lists.linuxfoundation.org From: Moth Message-ID: In-Reply-To: References: Feedback-ID: 74213557:user:proton MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_IlSYPHReht9qPIHEQDDOIcb7ss2jgwIGfhW4Kqdu1s" X-Mailman-Approved-At: Tue, 09 May 2023 12:23:30 +0000 Subject: Re: [bitcoin-dev] Witness script validation to reject arbitrary data 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: Tue, 09 May 2023 12:20:35 -0000 This is a multi-part message in MIME format. --b1_IlSYPHReht9qPIHEQDDOIcb7ss2jgwIGfhW4Kqdu1s Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 PiBUaGV5IGNvdWxkIGhhdmUganVzdCBhcyBlYXNpbHkgdXNlZCBPUF9SRVRVUk4Kb3V0cHV0cyBv ciBhbnkgbnVtYmVyIG9mIG90aGVyIGRhdGEgZW5jb2RpbmcgdGVjaG5pcXVlcy4KCkJ1dCBkb2Vz bid0IE9QX1JFVFVSTiByZW5k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