summaryrefslogtreecommitdiff
path: root/5f/afbf20073efdb46b70f3ae90b1280f5bd710d4
blob: 76a27ae614bb0dc07292aa48c56c1e57b4ec917b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
Return-Path: <jtimon@jtimon.cc>
Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 0F0D0C002D
 for <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 Sat,  7 May 2022 13:31:39 +0000 (UTC)
Received: by mail-yb1-xb2e.google.com with SMTP id s30so17355695ybi.8
 for <bitcoin-dev@lists.linuxfoundation.org>;
 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?= <jtimon@jtimon.cc>
Date: Sat, 7 May 2022 15:31:27 +0200
Message-ID: <CABm2gDpCNpy2j3hoV3-WsjrDYXx1wdsdwVGeagY+pVcjZ7Rk+Q@mail.gmail.com>
To: vjudeu <vjudeu@gazeta.pl>
Content-Type: multipart/alternative; boundary="000000000000a4104f05de6bfeab"
X-Mailman-Approved-At: Sat, 07 May 2022 21:22:43 +0000
Cc: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
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 <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>, 
 <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>, 
 <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=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 <vjudeu@gazeta.pl> 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

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Sat, May 7, 2022 at 5:52 AM &lt;<a=
 href=3D"mailto:vjudeu@gazeta.pl">vjudeu@gazeta.pl</a>&gt; wrote:<br></div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">&gt; 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.<br>
<br>
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 &quot;=
anyone can move those coins&quot;, 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.<br></blockquote><div><br></div><div>Oh, well, I didn&#39;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.</div><div><br></div></div></div>

--000000000000a4104f05de6bfeab--