summaryrefslogtreecommitdiff
path: root/09/6d1b3123381f63537fc0ed97567fa0741c6755
blob: 167d419c1227f4dd9b15da6b95b74aa39f22232c (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
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 E84AC41C
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun,  2 Apr 2017 20:39:35 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-vk0-f51.google.com (mail-vk0-f51.google.com
	[209.85.213.51])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 5C4E312A
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun,  2 Apr 2017 20:39:35 +0000 (UTC)
Received: by mail-vk0-f51.google.com with SMTP id d188so118915398vka.0
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun, 02 Apr 2017 13:39:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=blockstream-io.20150623.gappssmtp.com; s=20150623;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to; 
	bh=YKlWSNT776YL97uOsja2QG/6b7gsi2jRFeKSbY+C/Xs=;
	b=S0kQBP4/7jWzvbgK03oP7B1DfQzvQbP2+OOoeXfCmWqHTFA78Sq6rlhRgu/JMs/CkU
	jZcYx3mQZ3rC4ICeQs9tf89okUEgRmw/ByTpy5yHmnEslt/U+Fg4y/i9o+xc38TSdtRG
	xWrJZj2zadiCzm0LvwVM9EoazRHE0k4XkwFBws1CiGvEQix/LJpdLxtmDjfyRtatjRUz
	s5Zcsw3IYyTiAVUp2i1c9VhpI5SOGd9qTQrEbHY67BaxkxeAl1r7kGlrcRyK7NX6c6oe
	ezlldAL4xoZeNaGo22awiunmlG7jAB0gfTsvBtPjX1Isas9BPPCZPtkKRkofMGLWwqyt
	Wq1g==
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=YKlWSNT776YL97uOsja2QG/6b7gsi2jRFeKSbY+C/Xs=;
	b=dZQuA5ZePxWQs8igY880wm6PimV5tLEXhN3kh8pdNzCMpzAywce4lbVRG071esT4DN
	VX1mbv79IDawXEU88Yd9YycT+9V8HwUNelXlIQuZpmGTxY1cy6vZmmohE7LiTNfsBphO
	eQ4Hl5yQUNK8+ivJN7gnQsY1tmhaLYeq8JMPE1qc+z5tQoySKTjnCvXl6m7/5e56QjFU
	geWz0HJvVoIdvspmBzj3lI1pLzB/dw+Tyz9dOwGzFyjeiFMsX/6hScShjIsjZy+N3UKy
	hMzuJYrxH+DbnPb0i7/taoQDGD6pO0XXqGaR3ZSZjHo30JhwnTfQtH1tM1FKgq9rUhzh
	IP0Q==
X-Gm-Message-State: AFeK/H2e8xkhjFB+J6JoB9HczGrV/w2LrFcgEbOeweua0P5XH8IlkaBUvQF47UNqjr7bBu1S9fkw/E/SYr+WNBSB
X-Received: by 10.159.48.20 with SMTP id h20mr5932606uab.49.1491165574239;
	Sun, 02 Apr 2017 13:39:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.176.91.202 with HTTP; Sun, 2 Apr 2017 13:39:13 -0700 (PDT)
In-Reply-To: <2D094CEC-3756-45B0-970F-1EB33DF352C5@xbt.hk>
References: <2D094CEC-3756-45B0-970F-1EB33DF352C5@xbt.hk>
From: "Russell O'Connor" <roconnor@blockstream.io>
Date: Sun, 2 Apr 2017 16:39:13 -0400
Message-ID: <CAMZUoKkFh-uBwzTZoJ0kzyJukEG2HeDf_VmTwgZMm1esD+TaFQ@mail.gmail.com>
To: Johnson Lau <jl2012@xbt.hk>, 
	Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: multipart/alternative; boundary=f403045e364c5ab0df054c350a1b
X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID, 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: Sun, 02 Apr 2017 20:39:36 -0000

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

On Sun, Apr 2, 2017 at 4:13 PM, Johnson Lau via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> wrote:

>         =E2=80=A2 the witness of the first input of the coinbase transact=
ion MUST
> have exactly one stack item (the "extended header"), with the following
> data:
>                 =E2=80=A2 bytes 0 to 3: nHeight MUST be equal to the heig=
ht of
> this block (signed little endian)
>

 Someone told me a while back that it would be more natural if we move the
nHeight from the coinbase script to the coinbase locktime.  Have you
considered doing this?

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

<div dir=3D"ltr">On Sun, Apr 2, 2017 at 4:13 PM, Johnson Lau via bitcoin-de=
v <span dir=3D"ltr">&lt;<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation=
.org" target=3D"_blank">bitcoin-dev@lists.linuxfoundation.org</a>&gt;</span=
> wrote:<br><div class=3D"gmail_extra"><div class=3D"gmail_quote"><blockquo=
te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so=
lid;padding-left:1ex">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =E2=80=A2 the witness of =
the first input of the coinbase transaction MUST have exactly one stack ite=
m (the &quot;extended header&quot;), with the following data:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =E2=80=A2 bytes 0 t=
o 3: nHeight MUST be equal to the height of this block (signed little endia=
n)<br></blockquote><div><br></div><div>=C2=A0Someone told me a while back t=
hat it would be more natural if we move the nHeight from the coinbase scrip=
t to the coinbase locktime.=C2=A0 Have you considered doing this?<br></div>=
</div></div></div>

--f403045e364c5ab0df054c350a1b--