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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
|
Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191]
helo=mx.sourceforge.net)
by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
(envelope-from <gavinandresen@gmail.com>) id 1YzPYs-0006xk-GB
for bitcoin-development@lists.sourceforge.net;
Mon, 01 Jun 2015 13:15:26 +0000
Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com
designates 209.85.217.174 as permitted sender)
client-ip=209.85.217.174; envelope-from=gavinandresen@gmail.com;
helo=mail-lb0-f174.google.com;
Received: from mail-lb0-f174.google.com ([209.85.217.174])
by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
(Exim 4.76) id 1YzPYq-0002eC-PU
for bitcoin-development@lists.sourceforge.net;
Mon, 01 Jun 2015 13:15:26 +0000
Received: by lbcmx3 with SMTP id mx3so84084076lbc.1
for <bitcoin-development@lists.sourceforge.net>;
Mon, 01 Jun 2015 06:15:18 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.152.5.134 with SMTP id s6mr20112038las.99.1433164518382;
Mon, 01 Jun 2015 06:15:18 -0700 (PDT)
Received: by 10.25.90.75 with HTTP; Mon, 1 Jun 2015 06:15:18 -0700 (PDT)
In-Reply-To: <CAE28kUTZV3YsaSCX2d5YwLetnf=f+bOWGrwxLXdZFywTZ=+Pjg@mail.gmail.com>
References: <554BE0E1.5030001@bluematt.me>
<CAFzgq-xByQ1E_33_m3UpXQFUkGc78HKnA=7XXMshANDuTkNsvA@mail.gmail.com>
<CABsx9T0kbRe31LMwk499MQUw225f5GGd67GfhXBezHmDqxkioA@mail.gmail.com>
<CAFzgq-z5WCznGhbOexS0XESNGAVauw45ewEV-1eMij7yDT61=Q@mail.gmail.com>
<CAFzgq-zTybEQyGz0nq90u5n5JZcJzxQS_XKaTpr5POJi-tHM6A@mail.gmail.com>
<CABsx9T2L5bi-c63-KqSifOMeNayUWSPo0_Hx8VjMR_4=kC3ixg@mail.gmail.com>
<CAE28kUT61qYxqV0mOqw5Dan=eMiCvnG2SnsAeWzOWTxwLydyeQ@mail.gmail.com>
<CABsx9T2hfpts5y_M6PdDcxmq9Q2smesJ0Nmp9a9iyPD_MoPC9g@mail.gmail.com>
<CAE28kUTZV3YsaSCX2d5YwLetnf=f+bOWGrwxLXdZFywTZ=+Pjg@mail.gmail.com>
Date: Mon, 1 Jun 2015 09:15:18 -0400
Message-ID: <CABsx9T2Qbb2zhwrZtU0__-gCBQ_0qrvYxktBBSB2WaaNygzqow@mail.gmail.com>
From: Gavin Andresen <gavinandresen@gmail.com>
To: Alex Mizrahi <alex.mizrahi@gmail.com>
Content-Type: multipart/alternative; boundary=089e013d101005e33e0517749e4e
X-Spam-Score: -0.6 (/)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
See http://spamassassin.org/tag/ for more details.
-1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for
sender-domain
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
(gavinandresen[at]gmail.com)
-0.0 SPF_PASS SPF: sender matches SPF record
1.0 HTML_MESSAGE BODY: HTML included in message
-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
author's domain
0.1 DKIM_SIGNED Message has a DKIM or DK signature,
not necessarily valid
-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
0.0 AWL AWL: Adjusted score from AWL reputation of From: address
X-Headers-End: 1YzPYq-0002eC-PU
Cc: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
Subject: Re: [Bitcoin-development] Fwd: Block Size Increase Requirements
X-BeenThere: bitcoin-development@lists.sourceforge.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
<mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
X-List-Received-Date: Mon, 01 Jun 2015 13:15:26 -0000
--089e013d101005e33e0517749e4e
Content-Type: text/plain; charset=UTF-8
On Sun, May 31, 2015 at 6:55 PM, Alex Mizrahi <alex.mizrahi@gmail.com>
wrote:
> Yes, if you are on a slow network then you are at a (slight) disadvantage.
>> So?
>>
>
> Chun mentioned that his pool is on a slow network, and thus bigger blocks
> give it an disadvantage. (Orphan rate is proportional to block size.)
>
You said that no, on contrary those who make big blocks have a disadvantage.
> And now you say that yes, this disadvantage exist.
>
>
Did you just lie to Chun?
>
Chun said that if somebody produced a big block it would take them at least
6 seconds to process it.
He also said he has nodes outside the great firewall ("We also use Aliyun
and Linode cloud services for block
propagation.").
So I assumed that he was talking about the "what if somebody produces a
block that takes a long time to process" attack -- which doesn't work (the
attacker just increases their own orphan rate).
If the whole network is creating blocks that takes everybody (except the
person creating the blocks) six seconds to broadcast+validate, then the
increase in orphan rate is spread out over the whole network. The
network-wide orphan rate goes up, everybody suffers a little (fewer blocks
created over time) until the next difficulty adjustment, then the
difficulty drops, then everybody is back in the same boat.
If it takes six seconds to validate because of limited bandwidth, then he
should connect via Matt's fast relay network, which optimize new block
announcements so they take a couple orders of magnitude less bandwidth.
If it takes six seconds because he's trying to validate on a raspberry
pi.... then he should buy a better validating machine, and/or help test the
current pending pull requests to make validation faster (e.g.
https://github.com/bitcoin/bitcoin/pull/5835 or
https://github.com/bitcoin/bitcoin/pull/6077 ).
If Chun had six seconds of latency, and he can't pay for a lower-latency
connection (or it is insanely expensive), then there's nothing he can do,
he'll have to live with a higher orphan rate no matter the block size.
--
--
Gavin Andresen
--089e013d101005e33e0517749e4e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On S=
un, May 31, 2015 at 6:55 PM, Alex Mizrahi <span dir=3D"ltr"><<a href=3D"=
mailto:alex.mizrahi@gmail.com" target=3D"_blank">alex.mizrahi@gmail.com</a>=
></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px=
0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);bor=
der-left-style:solid;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail=
_extra"><div class=3D"gmail_quote"><span class=3D""><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-l=
eft-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div d=
ir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div><div>=
<div><span style=3D"color:rgb(34,34,34)">Yes, if you are on a slow network =
then you are at a (slight) disadvantage. So?</span></div></div></div></div>=
</div></div></blockquote><div><br></div></span><div>Chun mentioned that his=
pool is on a slow network, and thus bigger blocks give it an disadvantage.=
(Orphan rate is proportional to block size.)=C2=A0</div></div></div></div>=
</blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-=
style:solid;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><=
div class=3D"gmail_quote"><div>You said that no, on contrary those who make=
big blocks have a disadvantage.</div><div>And now you say that yes, this d=
isadvantage exist.</div><div>=C2=A0<br></div></div></div></div></blockquote=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;=
padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D=
"gmail_quote"><div></div><div>Did you just lie to Chun?</div></div></div></=
div></blockquote><div><br></div><div>Chun said that if somebody produced a =
big block it would take them at least 6 seconds to process it.</div><div></=
div></div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">H=
e also said he has nodes outside the great firewall ("<span style=3D"f=
ont-size:12.8000001907349px">We also use Aliyun and Linode cloud services f=
or block</span></div><span style=3D"font-size:12.8000001907349px">propagati=
on.").</span></div><div class=3D"gmail_extra"><span style=3D"font-size=
:12.8000001907349px"><br></span></div><div class=3D"gmail_extra"><span styl=
e=3D"font-size:12.8000001907349px">So I assumed that he was talking about t=
he "what if somebody produces a block that takes a long time to proces=
s" attack -- which doesn't work (the attacker just increases their=
own orphan rate).</span></div><div class=3D"gmail_extra"><span style=3D"fo=
nt-size:12.8000001907349px"><br></span></div><div class=3D"gmail_extra"><sp=
an style=3D"font-size:12.8000001907349px">If the whole network is creating =
blocks that takes everybody (except the person creating the blocks) six sec=
onds to broadcast+validate, then the increase in orphan rate is spread out =
over the whole network. The network-wide orphan rate goes up, everybody suf=
fers a little (fewer blocks created over time) until the next difficulty ad=
justment, then the difficulty drops, then everybody is back in the same boa=
t.=C2=A0</span></div><div class=3D"gmail_extra"><span style=3D"font-size:12=
.8000001907349px"><br></span></div><div class=3D"gmail_extra"><span style=
=3D"font-size:12.8000001907349px">If it takes six seconds to validate becau=
se of limited bandwidth, then he should connect via Matt's fast relay n=
etwork, which optimize new block announcements so they take a couple orders=
of magnitude less bandwidth.</span><br></div><div class=3D"gmail_extra"><s=
pan style=3D"font-size:12.8000001907349px"><br></span></div><div class=3D"g=
mail_extra"><span style=3D"font-size:12.8000001907349px">If it takes six se=
conds because he's trying to validate on a raspberry pi.... then he sho=
uld buy a better validating machine, and/or help test the current pending p=
ull requests to make validation faster (e.g.=C2=A0<a href=3D"https://github=
.com/bitcoin/bitcoin/pull/5835">https://github.com/bitcoin/bitcoin/pull/583=
5</a> or=C2=A0<a href=3D"https://github.com/bitcoin/bitcoin/pull/6077">http=
s://github.com/bitcoin/bitcoin/pull/6077</a> ).</span></div><div class=3D"g=
mail_extra"><div><br></div><div><div class=3D"gmail_extra"><span style=3D"f=
ont-size:12.8000001907349px">If Chun had six seconds of latency, and he can=
't pay for a lower-latency connection (or it is insanely expensive), th=
en there's nothing he can do, he'll have to live with a higher orph=
an rate no matter the block size.</span></div><div class=3D"gmail_extra"><s=
pan style=3D"font-size:12.8000001907349px"><br></span></div></div>-- <br><d=
iv class=3D"gmail_signature">--<br>Gavin Andresen<br></div>
</div></div>
--089e013d101005e33e0517749e4e--
|