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
|
Return-Path: <roconnor@blockstream.io>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
[172.17.192.35])
by mail.linuxfoundation.org (Postfix) with ESMTPS id 3A580C7C
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 18 Dec 2018 03:18:54 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-io1-f42.google.com (mail-io1-f42.google.com
[209.85.166.42])
by smtp1.linuxfoundation.org (Postfix) with ESMTPS id ADCD57C3
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 18 Dec 2018 03:18:53 +0000 (UTC)
Received: by mail-io1-f42.google.com with SMTP id m19so11699301ioh.3
for <bitcoin-dev@lists.linuxfoundation.org>;
Mon, 17 Dec 2018 19:18:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=blockstream.io; s=google;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=WYoFCXAptw2vgAuJH9TglgCsm9GWT+OJKYt3MC1wce0=;
b=IH7+GvQDYC1HHNJSJZ8LzQuv8ZrKtoyjjMIbFSwyWTuHlJMfAZ0wiYMfzEW6u1wiSV
6MyIDdX9w3bYh4NKWKwErHkl24AXRHMHjL4LFR3s8hx1FnKBZKp7kEO4WJasxKkATHqG
OTRHQg8HwQ+L1zg+HdZ9EQWW299jq8Fy2CFfk=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=WYoFCXAptw2vgAuJH9TglgCsm9GWT+OJKYt3MC1wce0=;
b=jadIxzl832Ii605gSSM+Jw8QG5xm9PPlkee37Z7kOklVZxrwiruv+FQqjIA8HFBuc6
xk1lIZ2pEm+r88vERXJcDdhbqrreR8V1W1yLCIi/yZzKBIdH3jopZuB8jiQzHlP4hl/B
qAOuMZhEWPjePd9CXf6DTvjB8dH1dfxqcgRBiCOo8ua+gFJfHjWtj6dIBby4OevGiU87
bRP/ymY545iMfuKgClC/mKjBTp3V5Jj7wNt++jHXoX0cg/mtzZR6S1dns3EX0RfJskb8
ZXGa4ik7MU1DHv4zrbGob3gBYPHhiNLBpbuYp4FZABb5kpJ7WlP98g1GSbbJ0sbkOC3/
cRoA==
X-Gm-Message-State: AA+aEWY3ATKTv5m0tBw2z5+H3zNHAcNaKALZz7wkHO3Qr6zVFx6T7eCV
a7PrbOTtc9uFz4WmiEG2xhReSYsljXhhwXgBam+6IYXU
X-Google-Smtp-Source: AFSGD/UR6IfKvIj0/WsPk9b43G4cLLFttr3GFAEln7liJqiiK/V1cDTHP9uoKOE1IDQEirSkmuP0tuPMwGHW5jxQMJw=
X-Received: by 2002:a6b:6804:: with SMTP id d4mr14468996ioc.33.1545103132766;
Mon, 17 Dec 2018 19:18:52 -0800 (PST)
MIME-Version: 1.0
References: <20181214104839.ur4lde3dzncadmr4@erisian.com.au>
<CAMZUoKnSi+8W7znTNv4BcjrrTDJubDeWeJ8ynUtzs04ES2z6AQ@mail.gmail.com>
<E07C0182-1656-44B0-AD2E-8EAF9552ECC1@xbt.hk>
In-Reply-To: <E07C0182-1656-44B0-AD2E-8EAF9552ECC1@xbt.hk>
From: "Russell O'Connor" <roconnor@blockstream.io>
Date: Mon, 17 Dec 2018 22:18:40 -0500
Message-ID: <CAMZUoKnc+0pBCP84RoezKrNMrsm2oK4XX=U9-B0Oyo4ELdiEJA@mail.gmail.com>
To: Johnson Lau <jl2012@xbt.hk>
Content-Type: multipart/alternative; boundary="0000000000005ed228057d435b29"
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, HTML_MESSAGE,
RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
smtp1.linux-foundation.org
X-Mailman-Approved-At: Tue, 18 Dec 2018 16:11:00 +0000
Cc: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] Schnorr and taproot (etc) upgrade
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
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: Tue, 18 Dec 2018 03:18:54 -0000
--0000000000005ed228057d435b29
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
On Mon, Dec 17, 2018 at 3:16 PM Johnson Lau <jl2012@xbt.hk> wrote:
>
> I proposed the same in BIP114. I wish Satoshi had designed that way.
>
Thanks. I probably read that and internalized it and forgot you wrote it.
> But I=E2=80=99m not sure if that would do more harm than good. For exampl=
e, people
> might lose money by copying an existing script template. But they might
> also lose money in the same way as CHECKMULTISIG is disabled. So I=E2=80=
=99m not
> sure.
>
> Another related thing I=E2=80=99d like to bikeshed is to pop the stack af=
ter
> OP_CLTV and OP_CSV. The same pros and cons apply.
>
This one is almost a no-brainer I think. Nearly every instance of OP_CSV
is followed by an OP_DROP and we'd save 1 WU per OP_CSV if we pop the stack
afterwards.
--0000000000005ed228057d435b29
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><br><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Mon=
, Dec 17, 2018 at 3:16 PM Johnson Lau <<a href=3D"mailto:jl2012@xbt.hk">=
jl2012@xbt.hk</a>> wrote:<br></div><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi=
ng-left:1ex"><div style=3D"overflow-wrap: break-word;"><br><div>I proposed =
the same in BIP114. I wish Satoshi had designed that way. </div></div></blo=
ckquote><div><br></div><div>Thanks.=C2=A0 I probably read that and internal=
ized it and forgot you wrote it.<br></div><div>=C2=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid r=
gb(204,204,204);padding-left:1ex"><div style=3D"overflow-wrap: break-word;"=
><div>But I=E2=80=99m not sure if that would do more harm than good. For ex=
ample, people might lose money by copying an existing script template. But =
they might also lose money in the same way as CHECKMULTISIG is disabled. So=
I=E2=80=99m not sure.</div><div><br></div><div>Another related thing I=E2=
=80=99d like to bikeshed is to pop the stack after OP_CLTV and OP_CSV. The =
same pros and cons apply.</div></div></blockquote><div><br></div><div>This =
one is almost a no-brainer I think.=C2=A0 Nearly every instance of OP_CSV i=
s followed by an OP_DROP and we'd save 1 WU per OP_CSV if we pop the st=
ack afterwards. <br></div></div></div>
--0000000000005ed228057d435b29--
|