Return-Path: Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 0F0D0C002D for ; Sat, 7 May 2022 13:31:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id E564C80BD6 for ; Sat, 7 May 2022 13:31:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: -1.897 X-Spam-Level: X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=jtimon-cc.20210112.gappssmtp.com 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 67XSUfH6uUIF for ; Sat, 7 May 2022 13:31:39 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by smtp1.osuosl.org (Postfix) with ESMTPS id A65A680BCA for ; Sat, 7 May 2022 13:31:39 +0000 (UTC) Received: by mail-yb1-xb2e.google.com with SMTP id s30so17355695ybi.8 for ; Sat, 07 May 2022 06:31:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jtimon-cc.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Y5zUMy7T32qTcXCgit9W4jY9oA1qgK/ciiWonumt4qw=; b=BG+CSE0q9/ZR5I0g/8jkuQq4+sLcyzBg4jL/dcN3Y/zI/F1y+V9HdO5T+Z5H/44cJa JFJnM7Mp8M6kpu/YZTU61jZ++X/97mNmtmrnV/XWv7QTrIWmj9frzNwVPppNYX1+/ZiF i/orhYK64HEg0FNIAjDYofywCiUmYETvS4Bh9VMV4Yl7F3d4LRbUnlb6N0++qI6avtll RNjRJrNy5EkmM0IjtjWmDgzo+tXifo66eotNL8CF9Flvj6rb1n+Q4t9bBu8eEtGGH5ha /B+x605a8qy4Llxv3qPTWfmVU7FVt7+2johc8AcuSmYTnqWNGIB1dZhuhW38Jcus3Hco n1uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Y5zUMy7T32qTcXCgit9W4jY9oA1qgK/ciiWonumt4qw=; b=4QpKmmRfb/mHkbk2GgG+/0uXWhXl5Qj4Md8zj7Nab/jjXwQRPDDkpkBBXyZvFXqqq7 vEXxZyLA+N4i7SA0ZEUhZCOps7BbRwCy2VSD17WMieXdC2JqfaD5N+wX/CGYsCo7bqAq epHaTn01zllYzlLBQk3pPqaaFg/djxGYCkLLBcx9KyenWv5SUtiwjyhldauwnWbmafqu bUWZJ/JQ6v+GrkSzyrFlq99jv2nNt5DCt/8xaBsNfbXT6biYx3QuqVxslog8TJdy7knz Wqx9+h6rtsV0BE0oO8QGUn9TxyHEv7HOzEScq1Q/0yfa6MFLtbict7loM0HwWv9BotSS 4bAw== X-Gm-Message-State: AOAM53355OiP2kwN+75c3JYiECvSVER3gLKvugbFiqn1bgWrsqtKucdg mcmanlUByyEuYP1bWh4M86BAkx6AIg3Lp1fR/HDJhuqwIGlWkA== X-Google-Smtp-Source: ABdhPJyBHdkTZPXWqeby5WTdA7TLvZxMbBqUnyZPwTyTJjmweGQIzX5mEMSy09i1MolRZmb+HANpVYdrQfL5oW2bIbM= X-Received: by 2002:a25:d1c8:0:b0:648:a463:f2ca with SMTP id i191-20020a25d1c8000000b00648a463f2camr6244322ybg.620.1651930298579; Sat, 07 May 2022 06:31:38 -0700 (PDT) MIME-Version: 1.0 References: <1JO1xrnJ9GwGM4TgLH_rL_LpnZgSb1SyeEOJ9Gzc1VMbKUrmxSh-zUXKwFNvp_5wyiDtRviOf-gRJbrfbhOJl-qym1eEHXpoDAgjE9juucw=@protonmail.com> <629505ec-81ba-013d-43a0-009d61fada23@gazeta.pl> In-Reply-To: <629505ec-81ba-013d-43a0-009d61fada23@gazeta.pl> From: =?UTF-8?B?Sm9yZ2UgVGltw7Nu?= Date: Sat, 7 May 2022 15:31:27 +0200 Message-ID: To: vjudeu Content-Type: multipart/alternative; boundary="000000000000a4104f05de6bfeab" X-Mailman-Approved-At: Sat, 07 May 2022 21:22:43 +0000 Cc: Bitcoin Protocol Discussion Subject: Re: [bitcoin-dev] Speedy covenants (OP_CAT2) 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: Sat, 07 May 2022 13:31:41 -0000 --000000000000a4104f05de6bfeab Content-Type: text/plain; charset="UTF-8" On Sat, May 7, 2022 at 5:52 AM wrote: > > Re-enabling OP_CAT with the exact same OP would be a hardfork, but > creating a new OP_CAT2 that does the same would be a softfork. > > We have TapScript for that. OP_CAT is defined as OP_SUCCESS, it can be > re-enabled in a soft-fork way. For now, OP_CAT in TapScript simply means > "anyone can move those coins", so adding some restrictions is all we need > to re-enable this opcode. Introducing OP_CAT2 is not needed at all, unless > it will be totally different, but then it should not be named as OP_CAT2, > but rather as OP_SOMETHING_ELSE, it depends how different it will be from > OP_CAT. > Oh, well, I didn't know any of that. I guess it could be a modification of OP_SUCCESS if it makes sense instead of a new opcode. --000000000000a4104f05de6bfeab Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sat, May 7, 2022 at 5:52 AM <vjudeu@gazeta.pl> wrote:
=
> Re-enabling OP_CAT w= ith the exact same OP would be a hardfork, but creating a new OP_CAT2 that = does the same would be a softfork.

We have TapScript for that. OP_CAT is defined as OP_SUCCESS, it can be re-e= nabled in a soft-fork way. For now, OP_CAT in TapScript simply means "= anyone can move those coins", so adding some restrictions is all we ne= ed to re-enable this opcode. Introducing OP_CAT2 is not needed at all, unle= ss it will be totally different, but then it should not be named as OP_CAT2= , but rather as OP_SOMETHING_ELSE, it depends how different it will be from= OP_CAT.

Oh, well, I didn't know an= y of that. I guess it could be a modification of OP_SUCCESS if it makes sen= se instead of a new opcode.

--000000000000a4104f05de6bfeab--