summaryrefslogtreecommitdiff
path: root/f6/5ce3044379882f2af7de6953c7fcf810586c0b
blob: 2dff8bd45dfcce8c3da0539d6eac270802b53abe (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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
Return-Path: <gsanders87@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 8B56CB7B
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue,  4 Apr 2017 15:45:02 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-qt0-f176.google.com (mail-qt0-f176.google.com
	[209.85.216.176])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 004F9E3
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue,  4 Apr 2017 15:45:01 +0000 (UTC)
Received: by mail-qt0-f176.google.com with SMTP id n21so142329006qta.1
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 04 Apr 2017 08:45:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to; 
	bh=Va1Tj2dYaTMv0ZS7Lk3qwfyefSdox3Cooz8hb7pX6BE=;
	b=vPs0hAFR2NqwRdpr2tT+f5LsVeWAFbwhGCGMojn7rpsfS41+n7t7yx/4YSPFjxuMdz
	cUUgQk9KBKMAC4+Lfuw1NxXvq7pvgDgv3hnNUL3bYMImUzeytSAVOEXSera5TU8hrumr
	37P/etsYVeqqAxmt+GwFDtoMOWSF5GhHn3jgPQbjxb3DYRx1iC1Fp397z9gdGuXDHLsX
	hpSJXnmHwKbFfTGpH2Ji8uq8gMrXDn9JWgzCAjX/heGOXWUimhW333V7avozzUtS5ng6
	rxf7jA3RB8QL70YCrQuVKoOL0lDXcBfWUt3D8eIvzxkfc3467VL4U3U/QOt2O+BbTzqF
	p6WQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:to;
	bh=Va1Tj2dYaTMv0ZS7Lk3qwfyefSdox3Cooz8hb7pX6BE=;
	b=dnuz6CtEClluMi2FPJk/5PUR2tr1Al+Kxxx1wpXdQZx0Qs/B1y2FV7Uv3I/UwHoJif
	uuJwE2qXEPE2AmLhz3Ciz+OCMCHcdBR5OTeHPP7N9A0tajs163PC5WGh6FPmvOgXDL4C
	28Jpb/RNB1p4mFcqIK+q4TY0iPpXu4xRsDAmFlmdl3khwSRSVkQfuaiplXsmi5jyaKlh
	1nToRtNMAy+vK7ZtuvUBjjIybOjNxqeDZ6oHTM94htyK9ndh1qP5tMigjW7kV2ys1Cv+
	yN6WeyX9t+lwxau0FBTOgRUJkv/Kf3LUuXOfMDGJR1Fd/+6hb3cP7J18jVzNats30HUt
	oaww==
X-Gm-Message-State: AFeK/H1V5RpFcr/n41zvD8bEUyVqtV5aHRb7opjXh00jHyiLoG7EH6BfXEqQwqDsbtUsEpYheqTKuePIBvKGQw==
X-Received: by 10.200.42.213 with SMTP id c21mr26713153qta.257.1491320701114; 
	Tue, 04 Apr 2017 08:45:01 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.137.180 with HTTP; Tue, 4 Apr 2017 08:44:40 -0700 (PDT)
In-Reply-To: <2021960.L2etkeoJTU@strawberry>
References: <2D094CEC-3756-45B0-970F-1EB33DF352C5@xbt.hk>
	<7465915.Qhm6HcGyAn@strawberry>
	<CADvTj4pOGTdopFG2NPGgEkS2y44FwKMEm2_ANQapGirqbZHP+g@mail.gmail.com>
	<2021960.L2etkeoJTU@strawberry>
From: Greg Sanders <gsanders87@gmail.com>
Date: Tue, 4 Apr 2017 11:44:40 -0400
Message-ID: <CAB3F3DtuYjxp6Cg-nprq7qZanF_F2y0xUM7RUzoJ7Fdn9HtJXw@mail.gmail.com>
To: Tom Zander <tomz@freedommail.ch>, 
	Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: multipart/alternative; boundary=001a11370ed4a2e0fb054c59281a
X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,
	HTML_MESSAGE, RCVD_IN_DNSWL_NONE,
	RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
Subject: Re: [bitcoin-dev] BIP draft: Extended block header hardfork
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, 04 Apr 2017 15:45:02 -0000

--001a11370ed4a2e0fb054c59281a
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

That's BIP30, he linked BIP34:
https://github.com/bitcoin/bitcoin/blob/master/src/validation.cpp#L3004

On Tue, Apr 4, 2017 at 11:32 AM, Tom Zander via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> wrote:

> Can you tell me where it is enforced?
>
> The only place I found was here;
> https://github.com/bitcoin/bitcoin/blob/master/src/validation.cpp#L1793
>
> which doesn=E2=80=99t enforce it, all that code does is check that the tx=
id is
> unknown or fully spent.
> And since the below idea from Russel would change the txid, it would seem
> no
> full client would reject this.
>
> Maybe its in a BIP, but I can=E2=80=99t find it in the code.
>
> On Tuesday, 4 April 2017 16:59:12 CEST James Hilliard wrote:
> > It is a consensus rule
> > https://github.com/bitcoin/bips/blob/master/bip-0034.mediawiki
> >
> > On Tue, Apr 4, 2017 at 6:47 AM, Tom Zander via bitcoin-dev
> >
> > <bitcoin-dev@lists.linuxfoundation.org> wrote:
> > > On Sunday, 2 April 2017 22:39:13 CEST Russell O'Connor via bitcoin-de=
v
> > >
> > > wrote:
> > >>  Someone told me a while back that it would be more natural if we mo=
ve
> > >>  the
> > >>
> > >> nHeight from the coinbase script to the coinbase locktime.  Have you
> > >> considered doing this?
> > >
> > > That change would not be a consensus change and thus free to make any
> > > day.
>
>
> --
> Tom Zander
> Blog: https://zander.github.io
> Vlog: https://vimeo.com/channels/tomscryptochannel
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>

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

<div dir=3D"ltr">That&#39;s BIP30, he linked BIP34:=C2=A0<a href=3D"https:/=
/github.com/bitcoin/bitcoin/blob/master/src/validation.cpp#L3004">https://g=
ithub.com/bitcoin/bitcoin/blob/master/src/validation.cpp#L3004</a></div><di=
v class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tue, Apr 4, 2017 =
at 11:32 AM, Tom Zander via bitcoin-dev <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">bitcoin-dev@l=
ists.linuxfoundation.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">Can you tell me where it is enforced?<br>
<br>
The only place I found was here;<br>
<a href=3D"https://github.com/bitcoin/bitcoin/blob/master/src/validation.cp=
p#L1793" rel=3D"noreferrer" target=3D"_blank">https://github.com/bitcoin/<w=
br>bitcoin/blob/master/src/<wbr>validation.cpp#L1793</a><br>
<br>
which doesn=E2=80=99t enforce it, all that code does is check that the txid=
 is<br>
unknown or fully spent.<br>
And since the below idea from Russel would change the txid, it would seem n=
o<br>
full client would reject this.<br>
<br>
Maybe its in a BIP, but I can=E2=80=99t find it in the code.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
On Tuesday, 4 April 2017 16:59:12 CEST James Hilliard wrote:<br>
&gt; It is a consensus rule<br>
&gt; <a href=3D"https://github.com/bitcoin/bips/blob/master/bip-0034.mediaw=
iki" rel=3D"noreferrer" target=3D"_blank">https://github.com/bitcoin/<wbr>b=
ips/blob/master/bip-0034.<wbr>mediawiki</a><br>
&gt;<br>
&gt; On Tue, Apr 4, 2017 at 6:47 AM, Tom Zander via bitcoin-dev<br>
&gt;<br>
&gt; &lt;<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-d=
ev@lists.<wbr>linuxfoundation.org</a>&gt; wrote:<br>
&gt; &gt; On Sunday, 2 April 2017 22:39:13 CEST Russell O&#39;Connor via bi=
tcoin-dev<br>
&gt; &gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt;&gt;=C2=A0 Someone told me a while back that it would be more natu=
ral if we move<br>
&gt; &gt;&gt;=C2=A0 the<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; nHeight from the coinbase script to the coinbase locktime.=C2=
=A0 Have you<br>
&gt; &gt;&gt; considered doing this?<br>
&gt; &gt;<br>
&gt; &gt; That change would not be a consensus change and thus free to make=
 any<br>
&gt; &gt; day.<br>
<br>
<br>
--<br>
Tom Zander<br>
Blog: <a href=3D"https://zander.github.io" rel=3D"noreferrer" target=3D"_bl=
ank">https://zander.github.io</a><br>
Vlog: <a href=3D"https://vimeo.com/channels/tomscryptochannel" rel=3D"noref=
errer" target=3D"_blank">https://vimeo.com/channels/<wbr>tomscryptochannel<=
/a><br>
______________________________<wbr>_________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.=
<wbr>linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.<wbr>org=
/mailman/listinfo/bitcoin-<wbr>dev</a><br>
</div></div></blockquote></div><br></div>

--001a11370ed4a2e0fb054c59281a--