From mboxrd@z Thu Jan 1 00:00:00 1970 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'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"><<a href=3D"ma= ilto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">bitcoin-dev@l= ists.linuxfoundation.org</a>></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> > It is a consensus rule<br> > <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> ><br> > On Tue, Apr 4, 2017 at 6:47 AM, Tom Zander via bitcoin-dev<br> ><br> > <<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-d= ev@lists.<wbr>linuxfoundation.org</a>> wrote:<br> > > On Sunday, 2 April 2017 22:39:13 CEST Russell O'Connor via bi= tcoin-dev<br> > ><br> > > wrote:<br> > >>=C2=A0 Someone told me a while back that it would be more natu= ral if we move<br> > >>=C2=A0 the<br> > >><br> > >> nHeight from the coinbase script to the coinbase locktime.=C2= =A0 Have you<br> > >> considered doing this?<br> > ><br> > > That change would not be a consensus change and thus free to make= any<br> > > 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--