summaryrefslogtreecommitdiff
path: root/6b/1403c201bf435b1b32daf37df3af271a1ce3bb
blob: 0f3bb7777f5425350d43598efe249a52796e9837 (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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
Return-Path: <dscotese@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 09F3DF0B
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sat, 10 Oct 2015 21:41:27 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com
	[209.85.212.181])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id EE407AF
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sat, 10 Oct 2015 21:41:25 +0000 (UTC)
Received: by wicge5 with SMTP id ge5so108864350wic.0
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sat, 10 Oct 2015 14:41:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:date:message-id:subject:from:to:content-type;
	bh=tT8kEz/m5GS3gZ+rb5A/Vg5y4zwPq2y2k+4OQkLh0nU=;
	b=OOn/IHeY7ScrwgYqtC9NyABhx5U84VyggMzBl3IiyPs0Refy8mRltrIWB9K/4FwzDW
	uVvuDOYncZhOPypbeVK557hURn866CCHyEW7N4npraQM3gbWmBRM3MF1Y2wo2phtATqm
	pckxSG47NH1V8FJOZZGN1WMi2rUXKd+ToHztZHSfWjWM22X0h7JcfViF/7W17mw/GmFz
	ME98wYnjByd/sOgD0UZy65WKDLRy2+OV2s9T0EicBNrnnhy+H5V6j5e+ERf2wMYkNqZO
	LnBtQQZq8GGzxsGJdbzHMsGx7H6Bbbql5BbSJGygCB8gyqPhcGkmGtCuWp7XAnbrVrbu
	nF+Q==
MIME-Version: 1.0
X-Received: by 10.180.96.166 with SMTP id dt6mr6650346wib.38.1444513284415;
	Sat, 10 Oct 2015 14:41:24 -0700 (PDT)
Sender: dscotese@gmail.com
Received: by 10.27.211.132 with HTTP; Sat, 10 Oct 2015 14:41:24 -0700 (PDT)
Date: Sat, 10 Oct 2015 14:41:24 -0700
X-Google-Sender-Auth: S0pGqvzKVHwxZdItO5KCqVbkGfM
Message-ID: <CAGLBAhcW2Av7X92LjXk+SjK+Dj4Hw4VapGSoiKQggE6wi4r0kg@mail.gmail.com>
From: Dave Scotese <dscotese@litmocracy.com>
To: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: multipart/alternative; boundary=f46d0442727230ead60521c6f53f
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham
	version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
Subject: [bitcoin-dev] Masked bits and isStandard
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Development 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, 10 Oct 2015 21:41:27 -0000

--f46d0442727230ead60521c6f53f
Content-Type: text/plain; charset=UTF-8

Thanks again.  The description of bits 16..29 as "can take any value"
suggests to me an improvement for isStandard: if any bits "can take any
value" without affecting the script then they must be off for the script to
pass isStandard.

If I understand it correctly, this requirement will serve as a backup to
future uses of those bits if such uses are deployed as soft forks.

I'm sorry if my suggestion reflects a poor understanding of isStandard, but
I offer it as evidence on whether the mechanism is as well understood as it
should be, since we use soft forks.  If I have misunderstood, feel free to
educate me with a reply.

Thanks!
Notplato



On Oct 10, 2015, at 8:22 AM, G1lius Caesar via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> wrote:


bits 16..29 are masked off and can take any value.



-- 
I like to provide some work at no charge to prove my value. Do you need a
techie?
I own Litmocracy <http://www.litmocracy.com> and Meme Racing
<http://www.memeracing.net> (in alpha).
I'm the webmaster for The Voluntaryist <http://www.voluntaryist.com> which
now accepts Bitcoin.
I also code for The Dollar Vigilante <http://dollarvigilante.com/>.
"He ought to find it more profitable to play by the rules" - Satoshi
Nakamoto

--f46d0442727230ead60521c6f53f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<br><span style=3D"font-family:UICTFontTextStyleBody;font-size:17px">Thanks=
 again.=C2=A0 The description of bits 16..29 as &quot;can take any value&qu=
ot; suggests to me an improvement for isStandard: if any bits &quot;can tak=
e any value&quot; without affecting the script then they must be off for th=
e script to pass isStandard.</span><br style=3D"font-family:UICTFontTextSty=
leBody;font-size:17px"><span style=3D"font-family:UICTFontTextStyleBody;fon=
t-size:17px"></span><br style=3D"font-family:UICTFontTextStyleBody;font-siz=
e:17px"><span style=3D"font-family:UICTFontTextStyleBody;font-size:17px">If=
 I understand it correctly, this requirement will serve as a backup to futu=
re uses of those bits if such uses are deployed as soft forks.=C2=A0</span>=
<br style=3D"font-family:UICTFontTextStyleBody;font-size:17px"><span style=
=3D"font-family:UICTFontTextStyleBody;font-size:17px"></span><br style=3D"f=
ont-family:UICTFontTextStyleBody;font-size:17px"><span style=3D"font-family=
:UICTFontTextStyleBody;font-size:17px">I&#39;m sorry if my suggestion refle=
cts a poor understanding of isStandard, but I offer it as evidence on wheth=
er the mechanism is as well understood as it should be, since we use soft f=
orks.=C2=A0 If I have misunderstood, feel free to educate me with a reply.<=
/span><br style=3D"font-family:UICTFontTextStyleBody;font-size:17px"><span =
style=3D"font-family:UICTFontTextStyleBody;font-size:17px"></span><br style=
=3D"font-family:UICTFontTextStyleBody;font-size:17px"><span style=3D"font-f=
amily:UICTFontTextStyleBody;font-size:17px">Thanks!</span><br style=3D"font=
-family:UICTFontTextStyleBody;font-size:17px"><span style=3D"font-family:UI=
CTFontTextStyleBody;font-size:17px">Notplato</span><br style=3D"font-family=
:UICTFontTextStyleBody;font-size:17px"><span style=3D"font-family:UICTFontT=
extStyleBody;font-size:17px"></span><br style=3D"font-family:UICTFontTextSt=
yleBody;font-size:17px"><span style=3D"font-family:UICTFontTextStyleBody;fo=
nt-size:17px"></span><br style=3D"font-family:UICTFontTextStyleBody;font-si=
ze:17px"><span style=3D"font-family:UICTFontTextStyleBody;font-size:17px"><=
/span><br style=3D"font-family:UICTFontTextStyleBody;font-size:17px"><block=
quote type=3D"cite" style=3D"font-family:UICTFontTextStyleBody;font-size:17=
px">On Oct 10, 2015, at 8:22 AM, G1lius Caesar via bitcoin-dev &lt;<a href=
=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.linuxfo=
undation.org</a>&gt; wrote:<br></blockquote><blockquote type=3D"cite" style=
=3D"font-family:UICTFontTextStyleBody;font-size:17px"><br></blockquote><blo=
ckquote type=3D"cite" style=3D"font-family:UICTFontTextStyleBody;font-size:=
17px">bits 16..29 are masked off and can take any value.</blockquote><br><b=
r>-- <br><div dir=3D"ltr">I like to provide some work at no charge to prove=
 my value. Do you need a techie?=C2=A0 <br>I own <a href=3D"http://www.litm=
ocracy.com" target=3D"_blank">Litmocracy</a> and <a href=3D"http://www.meme=
racing.net" target=3D"_blank">Meme Racing</a> (in alpha). <br>I&#39;m the w=
ebmaster for <a href=3D"http://www.voluntaryist.com" target=3D"_blank">The =
Voluntaryist</a> which now accepts Bitcoin.<br>I also code for <a href=3D"h=
ttp://dollarvigilante.com/" target=3D"_blank">The Dollar Vigilante</a>.<br>=
&quot;He ought to find it more profitable to play by the rules&quot; - Sato=
shi Nakamoto</div><br>

--f46d0442727230ead60521c6f53f--