summaryrefslogtreecommitdiff
path: root/25/43b49b5eb2b9c3debe7f60d2323eb7a9803d43
blob: 2389d194f86a3d00200ffc46d66e0ebcff655091 (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
Return-Path: <jl2012@xbt.hk>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 0A961DD2
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Fri,  1 Jun 2018 18:46:06 +0000 (UTC)
X-Greylist: from auto-whitelisted by SQLgrey-1.7.6
Received: from sender-of-o51.zoho.com (sender-of-o51.zoho.com [135.84.80.216])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 7B037A3
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Fri,  1 Jun 2018 18:46:05 +0000 (UTC)
Received: from [10.8.0.110] (n218103136198.netvigator.com [218.103.136.198])
	by mx.zohomail.com with SMTPS id 1527878761088585.972099790015;
	Fri, 1 Jun 2018 11:46:01 -0700 (PDT)
From: Johnson Lau <jl2012@xbt.hk>
Message-Id: <2E010067-EACD-4453-8D9D-B9CD5C238C98@xbt.hk>
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_823911B0-80AE-42F1-AA86-275875D83C8A"
Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\))
Date: Sat, 2 Jun 2018 02:45:57 +0800
In-Reply-To: <CAMZUoKmqdT3fte0o-CSppMV125u9zmxheaP549=nqkeVGSryMA@mail.gmail.com>
To: Russell O'Connor <roconnor@blockstream.io>
References: <9CCCE945-9432-41B9-8559-AFE7CF233603@xbt.hk>
	<CAMZUoKms85DhtS1mN70nq4LSY7QtXym6E4_yvQk5Q0tizkVwEQ@mail.gmail.com>
	<C3ED56D2-CB1F-4DE5-AB43-F826705806FB@xbt.hk>
	<CAMZUoKmqdT3fte0o-CSppMV125u9zmxheaP549=nqkeVGSryMA@mail.gmail.com>
X-Mailer: Apple Mail (2.3445.5.20)
X-ZohoMailClient: External
X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,HTML_MESSAGE,
	RCVD_IN_DNSWL_NONE,UC_GIBBERISH_OBFU autolearn=no version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
Cc: bitcoin-dev <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] SIGHASH2 for version 1 witness programme
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: Fri, 01 Jun 2018 18:46:06 -0000


--Apple-Mail=_823911B0-80AE-42F1-AA86-275875D83C8A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii



> On 2 Jun 2018, at 2:15 AM, Russell O'Connor <roconnor@blockstream.io> =
wrote:
>=20
>=20
> I prefer a different opcode for CHECKSIGFROMSTACK because I dislike =
opcodes that pop a non-static number of elements off the stack.  Popping =
a dynamic number of stack elements makes it more difficult to validate =
that a Script pubkey doesn't allow any funny business.


Agreed. This is one of the reasons I think we should remove =
CHECKMULTISIG in the new script system=

--Apple-Mail=_823911B0-80AE-42F1-AA86-275875D83C8A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br =
class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 2 Jun 2018, at 2:15 AM, Russell O'Connor &lt;<a =
href=3D"mailto:roconnor@blockstream.io" =
class=3D"">roconnor@blockstream.io</a>&gt; wrote:</div><div =
class=3D""><div dir=3D"ltr" style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><div =
class=3D"gmail_extra"><div class=3D"gmail_quote"><br class=3D""><div =
class=3D""><br class=3D""></div><div class=3D"">I prefer a different =
opcode for CHECKSIGFROMSTACK because I dislike opcodes that pop a =
non-static number of elements off the stack.&nbsp; Popping a dynamic =
number of stack elements makes it more difficult to validate that a =
Script pubkey doesn't allow any funny =
business.</div></div></div></div></div></blockquote></div><br =
class=3D""><div class=3D""><br class=3D""></div><div class=3D"">Agreed. =
This is one of the reasons I think we should remove CHECKMULTISIG in the =
new script system</div></body></html>=

--Apple-Mail=_823911B0-80AE-42F1-AA86-275875D83C8A--