Return-Path: Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 78592C0032 for ; Fri, 27 Oct 2023 18:32:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 4DEFC84E04 for ; Fri, 27 Oct 2023 18:32:25 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 4DEFC84E04 X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: -1.902 X-Spam-Level: X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7QHCiWxCImgW for ; Fri, 27 Oct 2023 18:32:23 +0000 (UTC) Received: from cerulean.erisian.com.au (azure.erisian.com.au [172.104.61.193]) by smtp1.osuosl.org (Postfix) with ESMTPS id 1677684E01 for ; Fri, 27 Oct 2023 18:32:22 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 1677684E01 Received: from aj@azure.erisian.com.au by cerulean.erisian.com.au with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qwRd4-000478-0t; Sat, 28 Oct 2023 04:32:19 +1000 Received: by email (sSMTP sendmail emulation); Sat, 28 Oct 2023 04:32:13 +1000 Date: Sat, 28 Oct 2023 04:32:13 +1000 From: Anthony Towns To: Ethan Heilman , Bitcoin Protocol Discussion Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam_score: 0.0 X-Spam_bar: / Subject: Re: [bitcoin-dev] Proposed BIP for OP_CAT 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: Fri, 27 Oct 2023 18:32:25 -0000 On Sat, Oct 21, 2023 at 01:08:03AM -0400, Ethan Heilman via bitcoin-dev wrote: > We've posted a draft BIP to propose enabling OP_CAT as Tapscript opcode. > https://github.com/EthanHeilman/op_cat_draft/blob/main/cat.mediawiki If you're interested in making this available via inquisition, here's a set of 3 patches that should allow it to be messed with on regtest: https://github.com/ajtowns/bitcoin/commits/202310-inq25-cat Tests need updating and adding, however. You might wish to compare with similar commits from the APO/CTV PRs at https://github.com/bitcoin-inquisition/bitcoin/pull/33 https://github.com/bitcoin-inquisition/bitcoin/pull/34 It may be worth adding support for CSFS as well, if experimenting with that is desirable, rather than having them as separate script-verify flags and deployments. > [1]: R. Pike and B. Kernighan, "Program design in the UNIX > environment", 1983, > https://harmful.cat-v.org/cat-v/unix_prog_design.pdf "harmful cat", you say? Cheers, aj