Return-Path: Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id B63F8C0032 for ; Fri, 10 Mar 2023 01:09:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 7DE584198D for ; Fri, 10 Mar 2023 01:09:05 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 7DE584198D 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 smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id suV1fFCH0hg6 for ; Fri, 10 Mar 2023 01:09:04 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 7057A4195D Received: from cerulean.erisian.com.au (azure.erisian.com.au [172.104.61.193]) by smtp4.osuosl.org (Postfix) with ESMTPS id 7057A4195D for ; Fri, 10 Mar 2023 01:09:03 +0000 (UTC) Received: from [124.181.34.14] (helo=[127.0.0.1]) by cerulean.erisian.com.au with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1paRFj-0007ri-9J; Fri, 10 Mar 2023 11:09:00 +1000 Date: Fri, 10 Mar 2023 11:08:55 +1000 From: Anthony Towns To: Greg Sanders , Bitcoin Protocol Discussion , Greg Sanders via bitcoin-dev User-Agent: K-9 Mail for Android In-Reply-To: References: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam_score: -1.0 X-Spam_bar: - Subject: Re: [bitcoin-dev] BIP for OP_VAULT 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, 10 Mar 2023 01:09:05 -0000 On 10 March 2023 4:45:15 am AEST, Greg Sanders via bitcoin-dev wrote: >1) OP_FORWARD_SELF is a JET of OP_FLU in the revaulting common case=2E Ma= ybe >obvious but I missed this initially and thought it was useful to be point= ed >out=2E That was true for TLUV - iirc "FALSE FALSE 0 TLUV" would preserve the spk = - but I don't think it's true for OP_FLU: you can't commit to preserving th= e current script without a way to observe the current script; trying to inc= lude a copy of the script in the script makes the script size infinite, and= trying to include a hash of the script inside the script is cryptographica= lly infeasible=2E You could just special case "0 0 OP_FLU" to result in the same script rath= er than an empty one though, which would avoid the need for a dedicated FWD= _SELF opcode=2E (Not convinced calling things Jets when they're unrelated to simplicity ma= kes sense) Cheers, aj --=20 Sent from my phone=2E