summaryrefslogtreecommitdiff
path: root/4b/079d3a86cf652520d86c95ae1a53a13db91c64
blob: fd7a1f149630f7c6f94b46ca0ec469bed9c49a58 (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
Return-Path: <adam@cypherspace.org>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 5142F1DCB
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Wed, 30 Sep 2015 17:14:10 +0000 (UTC)
X-Greylist: from auto-whitelisted by SQLgrey-1.7.6
Received: from mout.perfora.net (mout.perfora.net [74.208.4.194])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 079318C
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Wed, 30 Sep 2015 17:14:09 +0000 (UTC)
Received: from mail-ig0-f171.google.com ([209.85.213.171]) by
	mrelay.perfora.net (mreueus002) with ESMTPSA (Nemesis) id
	0LqSvP-1aLKbo0Obx-00e31b for <bitcoin-dev@lists.linuxfoundation.org>;
	Wed, 30 Sep 2015 19:14:09 +0200
Received: by igbkq10 with SMTP id kq10so106828994igb.0
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Wed, 30 Sep 2015 10:14:08 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.50.83.34 with SMTP id n2mr31909133igy.21.1443633248449; Wed,
	30 Sep 2015 10:14:08 -0700 (PDT)
Received: by 10.50.32.164 with HTTP; Wed, 30 Sep 2015 10:14:08 -0700 (PDT)
In-Reply-To: <CA+w+GKRd69kOiDKE_56vnbZ=Hx4hhXqtzpsVT6Z+fx005zW_MQ@mail.gmail.com>
References: <20150927185031.GA20599@savin.petertodd.org>
	<20150929200302.GA5051@amethyst.visucore.com>
	<87wpv8ft61.fsf@rustcorp.com.au>
	<CALqxMTGOmU76NHP8o7TyLq2t3EJTTyMoz4zCZQFczJX5+O=bOQ@mail.gmail.com>
	<CA+w+GKRd69kOiDKE_56vnbZ=Hx4hhXqtzpsVT6Z+fx005zW_MQ@mail.gmail.com>
Date: Wed, 30 Sep 2015 13:14:08 -0400
Message-ID: <CALqxMTH_SbWatwwKUbq0KXc9ywgQerOVSfNgB9GrQFjGnpYRoA@mail.gmail.com>
From: Adam Back <adam@cypherspace.org>
To: Mike Hearn <hearn@vinumeris.com>
Content-Type: multipart/alternative; boundary=089e01294646f5be9c0520fa0e53
X-Provags-ID: V03:K0:UPI19rSF/r3bR4nkVN4X+ztqc3JNScMac8J6dpPRxyjafI8MpZM
	zCJtfzkwbsRaqE3Pbm9kAuLBfOY211j7nqQdtX012+RWoZH20wouXgV5YGGFag6XGZ4UPkR
	1DzWL6t1rXUN0Vh/MZfPzCXg/fGC03xf/R+otUs23rUCtepvkiqRIbMAZS4Iy/vY5XEGVV/
	F+FltXAcUDIMHAN2fb6Jw==
X-UI-Out-Filterresults: notjunk:1;V01:K0:TFf47mcFaxE=:2O6FiwCf4Se0yh9SJBONV6
	//MKcJ11H3eOJaRKpwHzkTcgPct/CnvzSApTLDNN0tkrBdM0z9r+XuGdjtUJ7xxa6uWiKUiSK
	DVWwC020HawGKqjFpoScv3/a6XU9CTUIQ/ipmADvhW9rd9LoiitT1HLMncwUHhF5DEZJPlhhE
	wry7JptIES72utZAD5R2zoiFZ3mqKSBfWoTSaUyh/n47yEQiOHv9Ak16FVAy2t/KsgROVUA9G
	IcKJhYEYzG04aVmxJv7Rkk7a1xs/N8QUacRyejLpTjx7y+1mppYLcX949AZGwzg9/lCvADLfd
	7kGPoAoIelkCPZaJE+iuFExRc2VEkqnQOJrQncXsu3bsYXLKTjdpI+FMdPA8RRYRlSh5Qe9w2
	xN2A1sQPDsJwSVMMgXHZshwBnGdRfk9gbTWqT+veZVVTQJPpVjEmOIECWFRzeZRivj6npdMbo
	cremGtE37E85yReDc7LUSt8dlgpjjLvCuTSy8MsmvSsJiMRKNjU+p/slSlFRPPUFbBQjCNG+D
	+qtN2dZoTaSX7caDxigGeBihU5hOjJBLEBTVVsM1C38H7nLtXmnPNL80ELdNMPHXV1JdmsFpc
	NgK6VQs/oDFTk3TjgeYI/dWms7MV0GO8G7wrEtTW1z36a3qhtqghcpcURO4mM4Fdejg04Y4Dq
	/Xpr2SI9lRZ+kDsFuoIJ3pLdststNwV6Pf6n2F3CZ4/9uZTGl2Zu36mZsOK58XOQB/UCs/F+K
	dhA/O5eu3xBL+MJ4
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE,
	RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
Cc: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] Let's deploy BIP65 CHECKLOCKTIMEVERIFY!
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: Wed, 30 Sep 2015 17:14:10 -0000

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

I was talking about the versionBits from Rusty's email (pasted below) and
simplifying that by XT adopting the patch as Gavin had seemed agreeable to.

Adam

Rusty wrote:
> Agreed.  Unfortunately, a simple "block version >= 4" check is
> insufficient, due to XT which sets version bits 001....111.
>
> Given that, I suggest using the simple test:
>
>         if (pstart->nVersion & 0x8)
>             ++nFound;
>
> Which means:
> 1) XT won't trigger it.
> 2) It won't trigger XT.
> 3) You can simply set block nVersion to 8 for now.
> 4) We can still use versionbits in parallel later.

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

<div dir=3D"ltr"><p dir=3D"ltr">I was talking about the versionBits from Ru=
sty&#39;s email (pasted below) and simplifying that by XT adopting the patc=
h as Gavin had seemed agreeable to.</p>
<p dir=3D"ltr">Adam<br></p>
<p dir=3D"ltr">Rusty wrote:<br>
&gt; Agreed.=C2=A0 Unfortunately, a simple &quot;block version &gt;=3D 4&qu=
ot; check is<br>
&gt; insufficient, due to XT which sets version bits 001....111.<br>
&gt;<br>
&gt; Given that, I suggest using the simple test:<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (pstart-&gt;nVersion &amp; 0x8)<br=
>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0++nFound;<br>
&gt;<br>
&gt; Which means:<br>
&gt; 1) XT won&#39;t trigger it.<br>
&gt; 2) It won&#39;t trigger XT.<br>
&gt; 3) You can simply set block nVersion to 8 for now.<br>
&gt; 4) We can still use versionbits in parallel later.<br></p>
</div>

--089e01294646f5be9c0520fa0e53--