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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
|
Return-Path: <earonesty@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
[172.17.192.35])
by mail.linuxfoundation.org (Postfix) with ESMTPS id E9E0295E
for <bitcoin-dev@lists.linuxfoundation.org>;
Sun, 16 Apr 2017 20:05:00 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-qt0-f181.google.com (mail-qt0-f181.google.com
[209.85.216.181])
by smtp1.linuxfoundation.org (Postfix) with ESMTPS id A118BD5
for <bitcoin-dev@lists.linuxfoundation.org>;
Sun, 16 Apr 2017 20:04:59 +0000 (UTC)
Received: by mail-qt0-f181.google.com with SMTP id c45so89879345qtb.1
for <bitcoin-dev@lists.linuxfoundation.org>;
Sun, 16 Apr 2017 13:04:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:reply-to:in-reply-to:references:from:date:message-id
:subject:to; bh=ULrWIGbz8PbOFhwbRmV+4dnVAi6xRolCKg5i2+o+CqY=;
b=Ea1vaVa9cCvEgYq2BSd/oGX+8I7QntjIciJ8HcfUGQNh3tFcDKE5RSqHZDQWQXJTZV
DpZ5uCmNg1G8an3qyqp79gobNjmEUJwK982imUZvSmT3F3zH0fp/MRJ0q9843djZvBxk
V3e3pSa8W7x5A9ai5D70UzKokQPkBiT0/l/k0/89NgnPwGoMg+zlofrx8k8TooYTuIH1
KMJKbFzS6LAH+9KxjGBYwzjsV8Aay+cvi3GAosAmioXx2e59gB/K+QEKPQe+W0bh4bLU
YDsjVjtxSNloJO0W85WzJ79wDbMLc8ztydbHbIuw7Ebfohtc8zrmYlAaMFadzZROLImU
0Q3g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:reply-to:in-reply-to:references
:from:date:message-id:subject:to;
bh=ULrWIGbz8PbOFhwbRmV+4dnVAi6xRolCKg5i2+o+CqY=;
b=qxGomAh6zPCVSXs2z+qocFmPTqFfoBVyVkg/ipj9fU7konmv0lDULTM1gGuI/shraT
QhfGFHAfVJxwXVD7UJfzSGGi0e/dJcdqxlbDPl6Qvstou+qt1oHrbToWBAaTLuhaTMHx
IWu+cOwKvw4cW3Y9qLEOZWdluK1v8g70+NdydLGPl24PM2oHZ0BmQSPF5n6AfkPtsZca
lQK66QissVq0+yZbU10Nli2zbrcgJDh9NYrW9HfnQo6Jg08XQ58eCMs3KkBCDixUSQQy
W47D0vn6Ur0WsxijWuzlEWVFVcpfkbZ9kzduJkxRjlQz1Ot4+QEY+mL2G+WZGxDG26uf
3KNA==
X-Gm-Message-State: AN3rC/6uM/2iQ0eI1MyuW6hC+Alh6LbIZKDu1Get70v3VwZFYQWtsdMx
LAZtpas3hi6GHSDTp7JqB4dPfhfX2IdJ
X-Received: by 10.200.55.193 with SMTP id e1mr6177047qtc.190.1492373098512;
Sun, 16 Apr 2017 13:04:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.200.0.146 with HTTP; Sun, 16 Apr 2017 13:04:56 -0700 (PDT)
Received: by 10.200.0.146 with HTTP; Sun, 16 Apr 2017 13:04:56 -0700 (PDT)
Reply-To: erik@q32.com
In-Reply-To: <0690791a46d7a7699fc3427e92a76e9b.squirrel@mail.fairluck.net>
References: <BL2PR03MB435F510935FC7E230118AD3EE380@BL2PR03MB435.namprd03.prod.outlook.com>
<CAAy62_K5ePDuvVn8=DtwJX6ek00Z_r4u9LyA0W11vgZmQ=zzDg@mail.gmail.com>
<0690791a46d7a7699fc3427e92a76e9b.squirrel@mail.fairluck.net>
From: Erik Aronesty <earonesty@gmail.com>
Date: Sun, 16 Apr 2017 16:04:56 -0400
Message-ID: <CAJowKg+dZr-PcHfCY5AO2BO8_-5QfwzvG3PuJA+mTLWw9=a-Og@mail.gmail.com>
To: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>,
mm@mm-studios.com
Content-Type: multipart/alternative; boundary=001a113e79e868c6e0054d4e30e5
X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE,
RCVD_IN_DNSWL_LOW,
RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
smtp1.linux-foundation.org
X-Mailman-Approved-At: Sun, 16 Apr 2017 20:09:06 +0000
Subject: Re: [bitcoin-dev] Malice Reactive Proof of Work Additions (MR
POWA): Protecting Bitcoin from malicious miners
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: Sun, 16 Apr 2017 20:05:01 -0000
--001a113e79e868c6e0054d4e30e5
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
This is a great solution.
8 or more secure hashes, each of which can be implemented on GPU/CPU, but
rotate through them - per block round robin.
Hardware, infrastructue investment is protected. ASIC is not.
Each pow has different tracking metrics and difficulty adjustments. This
means the difficulty adjust will be less accurate (1/8th the samples), but
that's never been an issue.
ASIC will never beat this - because it will be 8x more expensive to
maintain the cold circuits.
Miners with gpu/generalized hardware will always be in business.
Should be done gradually and pre-emptively. Change one at a time on a
slow schedule, allowing a graceful transition.
On Mar 20, 2017 8:59 AM, "Marcos mayorga via bitcoin-dev" <
bitcoin-dev@lists.linuxfoundation.org> wrote:
> Hi,
> Just a thought,
> Bitcoin developers shouldn't care about miners business model, they can
> always sell their hw and close the bz as soon as bitcoin hardforks to
> better ways of doing.
> Just focus on making a better cryptocurrency, the more decentralized the
> best.
>
> M
>
> > By doing this you're significantly changing the economic incentives
> behind
> > bitcoin mining. How can you reliably invest in hardware if you have no
> > idea
> > when or if your profitability is going to be cut by 50-75% based on a
> > whim?
> >
> > You may also inadvertently create an entirely new attack vector if 50-7=
5%
> > of the SHA256 hardware is taken offline and purchased by an entity who
> > intends to do harm to the network.
> >
> > Bitcoin only works if most miners are honest, this has been known since
> > the
> > beginning.
> >
> > On Mon, Mar 20, 2017 at 9:50 AM John Hardy via bitcoin-dev <
> > bitcoin-dev@lists.linuxfoundation.org> wrote:
> >
> >> I=C3=A2=E2=82=AC=E2=84=A2m very worried about the state of miner centr=
alisation in Bitcoin.
> >>
> >> I always felt the centralising effects of ASIC manufacturing would
> >> resolve
> >> themselves once the first mover advantage had been exhausted and the
> >> industry had the opportunity to mature.
> >>
> >> I had always assumed initial centralisation would be harmless since
> >> miners
> >> have no incentive to harm the network. This does not consider the risk
> >> of a
> >> single entity with sufficient power and either poor, malicious or
> >> coerced
> >> decision making. I now believe that such centralisation poses a huge
> >> risk
> >> to the security of Bitcoin and preemptive action needs to be taken to
> >> protect the network from malicious actions by any party able to exert
> >> influence over a substantial portion of SHA256 hardware.
> >>
> >> Inspired by UASF, I believe we should implement a Malicious miner
> >> Reactive
> >> Proof of Work Additions (MR POWA).
> >>
> >> This would be a hard fork activated in response to a malicious attempt
> >> by
> >> a hashpower majority to introduce a contentious hard fork.
> >>
> >> The activation would occur once a fork was detected violating protocol
> >> (likely oversize blocks) with a majority of hashpower. The threshold a=
nd
> >> duration for activation would need to be carefully considered.
> >>
> >> I don=C3=A2=E2=82=AC=E2=84=A2t think we should eliminate SHA256 as a h=
ashing method and
> >> change
> >> POW entirely. That would be throwing the baby out with the bathwater a=
nd
> >> hurt the non-malicious miners who have invested in hardware, making it
> >> harder to gain their support.
> >>
> >> Instead I believe we should introduce multiple new proofs of work that
> >> are
> >> already established and proven within existing altcoin implementations=
.
> >> As
> >> an example we could add Scrypt, Ethash and Equihash. Much of the code
> >> and
> >> mining infrastructure already exists. Diversification of hardware (a m=
ix
> >> of
> >> CPU and memory intensive methods) would also be positive for
> >> decentralisation. Initial difficulty could simply be an estimated
> >> portion
> >> of existing infrastructure.
> >>
> >> This example would mean 4 proofs of work with 40 minute block target
> >> difficulty for each. There could also be a rule that two different
> >> proofs
> >> of work must find a block before a method can start hashing again. Thi=
s
> >> means there would only be 50% of hardware hashing at a time, and a
> >> sudden
> >> gain or drop in hashpower from a particular method does not dramatical=
ly
> >> impact the functioning of the network between difficulty adjustments.
> >> This
> >> also adds protection from attacks by the malicious SHA256 hashpower
> >> which
> >> could even be required to wait until all other methods have found a
> >> block
> >> before being allowed to hash again.
> >>
> >> 50% hashing time would mean that the cost of electricity in relation t=
o
> >> hardware would fall by 50%, reducing some of the centralising impact o=
f
> >> subsidised or inexpensive electricity in some regions over others.
> >>
> >> Such a hard fork could also, counter-intuitively, introduce a block si=
ze
> >> increase since while we=C3=A2=E2=82=AC=E2=84=A2re hard forking it make=
s sense to minimise the
> >> number of future hard forks where possible. It could also activate
> >> SegWit
> >> if it hasn=C3=A2=E2=82=AC=E2=84=A2t already.
> >>
> >> The beauty of this method is that it creates a huge risk to any
> >> malicious
> >> actor trying to abuse their position. Ideally, MR POWA would just serv=
e
> >> as
> >> a deterrent and never activate.
> >>
> >> If consensus were to form around a hard fork in the future nodes would
> >> be
> >> able to upgrade and MR POWA, while automatically activating on
> >> non-upgraded
> >> nodes, would be of no economic significance: a vestigial chain
> >> immediately
> >> abandoned with no miner incentive.
> >>
> >> I think this would be a great way to help prevent malicious use of
> >> hashpower to harm the network. This is the beauty of Bitcoin: for any
> >> road
> >> block that emerges the economic majority can always find a way around.
> >>
> >> _______________________________________________
> >> bitcoin-dev mailing list
> >> bitcoin-dev@lists.linuxfoundation.org
> >> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
> >>
> > --
> > Andrew Johnson
> > _______________________________________________
> > bitcoin-dev mailing list
> > bitcoin-dev@lists.linuxfoundation.org
> > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
> >
>
>
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>
--001a113e79e868c6e0054d4e30e5
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"auto">This is a great solution.=C2=A0<div dir=3D"auto"><br></di=
v><div dir=3D"auto">8 or more secure hashes, each of which can be implement=
ed on GPU/CPU, but rotate through them - per block round robin.<div dir=3D"=
auto"><br></div><div dir=3D"auto">Hardware, infrastructue investment is pro=
tected.=C2=A0 ASIC is not.</div><div dir=3D"auto"><br></div><div dir=3D"aut=
o">Each pow has different tracking metrics and difficulty adjustments.=C2=
=A0 This means the difficulty adjust will be less accurate (1/8th the sampl=
es), =C2=A0but that's never been an issue.</div><div dir=3D"auto"><br><=
/div><div dir=3D"auto">ASIC will never beat this - because it will be 8x mo=
re expensive to maintain the cold circuits. =C2=A0</div><div dir=3D"auto"><=
br></div><div dir=3D"auto">Miners with gpu/generalized hardware will always=
be in business.=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"auto">S=
hould be done gradually and pre-emptively. =C2=A0 =C2=A0Change one at a tim=
e on a slow schedule, allowing a graceful transition.</div><div dir=3D"auto=
"><br></div><div dir=3D"auto"><br></div><div dir=3D"auto"><br></div><div di=
r=3D"auto"><br></div></div></div><div class=3D"gmail_extra"><br><div class=
=3D"gmail_quote">On Mar 20, 2017 8:59 AM, "Marcos mayorga via bitcoin-=
dev" <<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitc=
oin-dev@lists.linuxfoundation.org</a>> wrote:<br type=3D"attribution"><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex">Hi,<br>
Just a thought,<br>
Bitcoin developers shouldn't care about miners business model, they can=
<br>
always sell their hw and close the bz as soon as bitcoin hardforks to<br>
better ways of doing.<br>
Just focus on making a better cryptocurrency, the more decentralized the<br=
>
best.<br>
<br>
M<br>
<br>
> By doing this you're significantly changing the economic incentive=
s behind<br>
> bitcoin mining. How can you reliably invest in hardware if you have no=
<br>
> idea<br>
> when or if your profitability is going to be cut by 50-75% based on a<=
br>
> whim?<br>
><br>
> You may also inadvertently create an entirely new attack vector if 50-=
75%<br>
> of the SHA256 hardware is taken offline and purchased by an entity who=
<br>
> intends to do harm to the network.<br>
><br>
> Bitcoin only works if most miners are honest, this has been known sinc=
e<br>
> the<br>
> beginning.<br>
><br>
> On Mon, Mar 20, 2017 at 9:50 AM John Hardy via bitcoin-dev <<br>
> <a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@l=
ists.<wbr>linuxfoundation.org</a>> wrote:<br>
><br>
>> I=C3=A2=E2=82=AC=E2=84=A2m very worried about the state of miner c=
entralisation in Bitcoin.<br>
>><br>
>> I always felt the centralising effects of ASIC manufacturing would=
<br>
>> resolve<br>
>> themselves once the first mover advantage had been exhausted and t=
he<br>
>> industry had the opportunity to mature.<br>
>><br>
>> I had always assumed initial centralisation would be harmless sinc=
e<br>
>> miners<br>
>> have no incentive to harm the network. This does not consider the =
risk<br>
>> of a<br>
>> single entity with sufficient power and either poor, malicious or<=
br>
>> coerced<br>
>> decision making. I now believe that such centralisation poses a hu=
ge<br>
>> risk<br>
>> to the security of Bitcoin and preemptive action needs to be taken=
to<br>
>> protect the network from malicious actions by any party able to ex=
ert<br>
>> influence over a substantial portion of SHA256 hardware.<br>
>><br>
>> Inspired by UASF, I believe we should implement a Malicious miner<=
br>
>> Reactive<br>
>> Proof of Work Additions (MR POWA).<br>
>><br>
>> This would be a hard fork activated in response to a malicious att=
empt<br>
>> by<br>
>> a hashpower majority to introduce a contentious hard fork.<br>
>><br>
>> The activation would occur once a fork was detected violating prot=
ocol<br>
>> (likely oversize blocks) with a majority of hashpower. The thresho=
ld and<br>
>> duration for activation would need to be carefully considered.<br>
>><br>
>> I don=C3=A2=E2=82=AC=E2=84=A2t think we should eliminate SHA256 as=
a hashing method and<br>
>> change<br>
>> POW entirely. That would be throwing the baby out with the bathwat=
er and<br>
>> hurt the non-malicious miners who have invested in hardware, makin=
g it<br>
>> harder to gain their support.<br>
>><br>
>> Instead I believe we should introduce multiple new proofs of work =
that<br>
>> are<br>
>> already established and proven within existing altcoin implementat=
ions.<br>
>> As<br>
>> an example we could add Scrypt, Ethash and Equihash. Much of the c=
ode<br>
>> and<br>
>> mining infrastructure already exists. Diversification of hardware =
(a mix<br>
>> of<br>
>> CPU and memory intensive methods) would also be positive for<br>
>> decentralisation. Initial difficulty could simply be an estimated<=
br>
>> portion<br>
>> of existing infrastructure.<br>
>><br>
>> This example would mean 4 proofs of work with 40 minute block targ=
et<br>
>> difficulty for each. There could also be a rule that two different=
<br>
>> proofs<br>
>> of work must find a block before a method can start hashing again.=
This<br>
>> means there would only be 50% of hardware hashing at a time, and a=
<br>
>> sudden<br>
>> gain or drop in hashpower from a particular method does not dramat=
ically<br>
>> impact the functioning of the network between difficulty adjustmen=
ts.<br>
>> This<br>
>> also adds protection from attacks by the malicious SHA256 hashpowe=
r<br>
>> which<br>
>> could even be required to wait until all other methods have found =
a<br>
>> block<br>
>> before being allowed to hash again.<br>
>><br>
>> 50% hashing time would mean that the cost of electricity in relati=
on to<br>
>> hardware would fall by 50%, reducing some of the centralising impa=
ct of<br>
>> subsidised or inexpensive electricity in some regions over others.=
<br>
>><br>
>> Such a hard fork could also, counter-intuitively, introduce a bloc=
k size<br>
>> increase since while we=C3=A2=E2=82=AC=E2=84=A2re hard forking it =
makes sense to minimise the<br>
>> number of future hard forks where possible. It could also activate=
<br>
>> SegWit<br>
>> if it hasn=C3=A2=E2=82=AC=E2=84=A2t already.<br>
>><br>
>> The beauty of this method is that it creates a huge risk to any<br=
>
>> malicious<br>
>> actor trying to abuse their position. Ideally, MR POWA would just =
serve<br>
>> as<br>
>> a deterrent and never activate.<br>
>><br>
>> If consensus were to form around a hard fork in the future nodes w=
ould<br>
>> be<br>
>> able to upgrade and MR POWA, while automatically activating on<br>
>> non-upgraded<br>
>> nodes, would be of no economic significance: a vestigial chain<br>
>> immediately<br>
>> abandoned with no miner incentive.<br>
>><br>
>> I think this would be a great way to help prevent malicious use of=
<br>
>> hashpower to harm the network. This is the beauty of Bitcoin: for =
any<br>
>> road<br>
>> block that emerges the economic majority can always find a way aro=
und.<br>
>><br>
>> ______________________________<wbr>_________________<br>
>> bitcoin-dev mailing list<br>
>> <a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-d=
ev@lists.<wbr>linuxfoundation.org</a><br>
>> <a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitc=
oin-dev" rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation=
.<wbr>org/mailman/listinfo/bitcoin-<wbr>dev</a><br>
>><br>
> --<br>
> Andrew Johnson<br>
> ______________________________<wbr>_________________<br>
> bitcoin-dev mailing list<br>
> <a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@l=
ists.<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.<wb=
r>org/mailman/listinfo/bitcoin-<wbr>dev</a><br>
><br>
<br>
<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>
</blockquote></div></div>
--001a113e79e868c6e0054d4e30e5--
|