summaryrefslogtreecommitdiff
path: root/70/395cc49a8832c3c0c7844219b325af0a75ef13
blob: 146f443a5f3db7d77ebe99c0bf0ce47afdb580fc (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
Return-Path: <gavinandresen@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id DEAD41BB
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Fri,  4 Dec 2015 17:34:29 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com
	[209.85.215.44])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 002F2154
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Fri,  4 Dec 2015 17:34:28 +0000 (UTC)
Received: by lfdl133 with SMTP id l133so116181964lfd.2
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Fri, 04 Dec 2015 09:34:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=Zg0ClUrva1H2vVfkxGGi5TQQRzNR7In9WEs9ln021zY=;
	b=xMWNneRf3wr973lULtaCi3qscUdpa0qt8sNaopDZiWN0slp3cpYvO1Ysmut9d8VKjL
	4uNA1J/yNjDg2WVyURYT/3hS6iHr+rxnY6zd1dzXvXA5tj2vT1/001fyrl6xgiSmpAyR
	a7415+VZaVw6Ln7+qv4HXt2VNeebR9U7/PIOe8c+A3myg61qrmnt11GCGIXwktyT94RX
	XA+KVn5frw4fEVxcU5BZsEhkUbdWo5+R0kcbALpLW8oAU0FDAATiBCjfuwsiVytpVY/o
	JSarriGhkLRTL6/q3emuBhc4ULC7Ov3/bsd2XBEHhZtaHbWdmm7Hla2c+BlVU7baT1r6
	cQFg==
MIME-Version: 1.0
X-Received: by 10.25.138.68 with SMTP id m65mr8631611lfd.69.1449250467092;
	Fri, 04 Dec 2015 09:34:27 -0800 (PST)
Received: by 10.25.22.95 with HTTP; Fri, 4 Dec 2015 09:34:27 -0800 (PST)
In-Reply-To: <CAAS2fgRwfQNYxCmDPAnVudyAti9v8PPXQjxe9M13pmrFxKcSCQ@mail.gmail.com>
References: <CAAS2fgRwfQNYxCmDPAnVudyAti9v8PPXQjxe9M13pmrFxKcSCQ@mail.gmail.com>
Date: Fri, 4 Dec 2015 12:34:27 -0500
Message-ID: <CABsx9T1vBRMYm6rLuqzvOxD0eABE4saF44JzZjMF3iUU==Nz0Q@mail.gmail.com>
From: Gavin Andresen <gavinandresen@gmail.com>
To: Gregory Maxwell <greg@xiph.org>
Content-Type: multipart/alternative; boundary=001a113fb6ac483172052615eb78
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW
	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] Blockchain verification flag (BIP draft)
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: Fri, 04 Dec 2015 17:34:30 -0000

--001a113fb6ac483172052615eb78
Content-Type: text/plain; charset=UTF-8

Overall, good idea.

Is there a write-up somewhere describing in detail the 'accidental selfish
mining' problem that this mitigates? I think a link in the BIP to a fuller
description of the problem and how validation-skipping makes it go away
would be helpful.

RE: which bit to use:  the draft versionbits BIP and BIP101 use bit 30; to
avoid confusion, I think it would be better to use bit 0.

I agree with Jannes Faber, behavior with respect to SPV clients should be
to only tell them about fully validated headers. And I also agree that
immediately relaying full-proof-of-work blocks before validation (with an
indication that they haven't been fully validated) is a good idea, but that
discussion didn't reach consensus when I brought it up two years ago (
https://github.com/bitcoin/bitcoin/pull/3580).


-- 
--
Gavin Andresen

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

<div dir=3D"ltr">Overall, good idea.<div><br></div><div>Is there a write-up=
 somewhere describing in detail the &#39;accidental selfish mining&#39; pro=
blem that this mitigates? I think a link in the BIP to a fuller description=
 of the problem and how validation-skipping makes it go away would be helpf=
ul.</div><div><br></div><div>RE: which bit to use: =C2=A0the draft versionb=
its BIP and BIP101 use bit 30; to avoid confusion, I think it would be bett=
er to use bit 0.</div><div><br></div><div>I agree with Jannes Faber, behavi=
or with respect to SPV clients should be to only tell them about fully vali=
dated headers. And I also agree that immediately relaying full-proof-of-wor=
k blocks before validation (with an indication that they haven&#39;t been f=
ully validated) is a good idea, but that discussion didn&#39;t reach consen=
sus when I brought it up two years ago (<a href=3D"https://github.com/bitco=
in/bitcoin/pull/3580">https://github.com/bitcoin/bitcoin/pull/3580</a>).</d=
iv><div><br></div><div><br></div><div class=3D"gmail_extra">-- <br><div cla=
ss=3D"gmail_signature">--<br>Gavin Andresen<br></div>
</div></div>

--001a113fb6ac483172052615eb78--