From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id E84AC41C for ; 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 ; Sun, 2 Apr 2017 20:39:35 +0000 (UTC) Received: by mail-vk0-f51.google.com with SMTP id d188so118915398vka.0 for ; 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" Date: Sun, 2 Apr 2017 16:39:13 -0400 Message-ID: To: Johnson Lau , Bitcoin Protocol Discussion 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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
On Sun, Apr 2, 2017 at 4:13 PM, Johnson Lau via bitcoin-de= v <bitcoin-dev@lists.linuxfoundation.org> wrote:
=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 "extended header"), with the following data:
=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)

=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?
=
--f403045e364c5ab0df054c350a1b--