-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathabout.html
More file actions
545 lines (482 loc) · 23.5 KB
/
Copy pathabout.html
File metadata and controls
545 lines (482 loc) · 23.5 KB
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
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
---
layout: default
title: About Heavycoin
name: about
---
<div class="container">
<div class="well well-main">
<!-- Service Tabs -->
<div class="row">
<div class="col-lg-12">
<h2 class="page-header">Innovations and features</h2>
<ul id="myTab" class="nav nav-tabs">
<li class="active"><a href="#ultra-secure" data-toggle="tab">Ultra-secure</a>
</li>
<li><a href="#asic-resistant" data-toggle="tab">ASIC-resistant</a>
</li>
<li><a href="#decentralised-voting" data-toggle="tab">Decentralized voting</a>
</li>
<li><a href="#fast-transactions" data-toggle="tab">Fast transactions</a>
</li>
<li><a href="#temporal-retargeting" data-toggle="tab">Temporal retargeting</a>
</li>
</ul>
<div id="myTabContent" class="tab-content">
<div class="tab-pane fade in active" id="ultra-secure">
<i class="fa fa-thumbs-o-up pull-left fa-4x"></i>
<p>
Heavycoin introduces a novel ultra-secure hash
algorithm that employs multiple redundant
cryptographic hash functions to secure its block
chain. If one of these hash functions fails,
then Heavycoin is still protected by the others.
This is a step forward compared to Bitcoin,
Litecoin and most other crypto-currencies, which
rely on a single cryptographic hash function.
</p>
<p><center><img src="images/multi-hash.png" title="If one of these hash functions fail, then Heavycoin is still protected by the others. This is a significant step forward over Bitcoin and most other crypto-currencies." /></center></p>
<p>
It is widely accepted that the collision
resistance of cryptographic hash functions
changes over time as cryptanalysis improves, the
so-called <a href="http://valerieaurora.org/hash.html"
target="_blank">Lifetime of cryptographic hash
functions</a>. There is
a <a href="https://bitcointalk.org/index.php?topic=191.msg1585#msg1585"
target="_blank">prophetic post by Satoshi</a> on
this topic, where he speaks about what could be
done to save Bitcoin if a "hash breakdown came
gradually". Heavycoin's philosophy is to try to
increase the likelihood that such a "breakdown"
would be as gradual as possible.
</p>
<p>
When relying on a single cryptographic hash
function, a significant breakdown due to
advances in cryptanalysis could affect the
entire 256-bit hash. Heavycoin attempts to
mitigate this risk by following the old adage of
not putting all the eggs in one basket. To this
end, Heavycoin's 256-bit hash output is
comprised from the outputs of four independent
cryptographic hash functions (SHA-256,
Keccak-512, Grøestl-512 and BLAKE-512).
</p>
<p>
Heavycoin's basic premise is that a
cryptoanalytic breakthrough is more likely for a
single cryptographic hash function
(eg. SHA-256), than for all four hash functions
(SHA-256, Keccak-512, Grøestl-512 and
BLAKE-512). Thus, combining multiple hashes is
used to limit the impact of a cryptoanalytic
breakthrough.
</p>
<p>
Heavycoin uses the following cryptographic hash functions
<ul>
<li><a href="https://en.wikipedia.org/wiki/SHA-256" target="_blank">SHA-256</a></li>
<li><a href="https://en.wikipedia.org/wiki/SHA-3" target="_blank">Keccak-512</a> (a.k.a., SHA-3)</li>
<li><a href="https://en.wikipedia.org/wiki/Groestl" target="_blank">Grøestl-512</a></li>
<li><a href="https://en.wikipedia.org/wiki/BLAKE_(hash_function)" target="_blank">BLAKE-512</a></li>
</ul>
</p>
<p>
These cryptographic hash functions were selected
because they are thought to have little in
common and thus a common weakness is thought to
be extremely unlikely.
</p>
<p></br>
<b>Q: Doesn't Quarkcoin already implement multiple cryptographic hash functions?</b>
</p>
<p>
<b>A:</b> Yes, but without increasing security
against collisions. Quarkcoin (and its many
clones) actually implement multiple hash
functions as a simple chain of function
compositions
</p>
<center>
<img src="images/quarkcoin-hash9.png" style="margin: 20px 0 20px; height: 24px;" title="Quarkcoin (and its many clones) implement multiple hash functions as a simple chain of function compositions" alt="Quark(x) = ... SKEIN512(KECCAK512( ... BMW512(BLAKE512(x))))" />
</center>
<p>
where ... contains additional hash function
compositions using JH-512, Keccak-512, BMW-512,
BLAKE-512, SKEIN-512 or Grøestl-512, which are
randomly selected based on the 4th bit of
previous hash outputs.
</p>
<p>
The problem is that, due to Quarkcoin's simple
use of function compositions, if BLAKE512(x) has
collisions, then so does BMW512(BLAKE512(x)) and
SKEIN512(KECCAK512(... and so on, until we reach
Quark(x), which also has collisions. Similarly,
if SKEIN-512 or Grøestl-512 have collisions,
then so does Quark(x). Simply put, if there's a
collision attack for BLAKE-512(x), then the same
attack applies to Quark(x).
</p>
<p></br>
<b>Q: How does Heavycoin implement multiple cryptographic hash functions?</b>
</p>
<p>
<b>A:</b> Heavycoin takes the output from the
each of 4 well-known cryptographic hash
functions (SHA-256, Keccak-512, Grøestl-512 and
BLAKE-512) and interleaves these bits into a
combined 256-bit hash that is more resistant
against collisions.
</p>
<center>
<img src="images/heavycoin-combined-hash.png" style="padding: 15px; height: 230px;" title="Heavycoin takes 64 bits from 4 well-known cryptographic hash functions and interleaves these bits into a combined 256-bit hash" />
</center>
<p>
The diagram above gives a quick snapshot example
of how Heavycoin combines the outputs from its 4
cryptographic hash functions. This gives
Heavycoin an advantage because it does not rely
on the long-term security of any single
cryptographic hash function. If BLAKE-512 were
cracked, then the impact would limited to at
most 64-bits. Heavy(x) would be weakened, but
Heavycoin would still remain functional and
there would be time to replace the insecure hash
function for a better one.
</p>
<p>
In terms of combining cryptographic hash
functions, there doesn't seem to be perfect
solution. Nevertheless, Heavycoin tries to
adopt a sensible method with the hope of
"slowing down" the weakening of its hash
algorithms over time (see Lifetime... above).
There are different ways to achieve this goal,
but there is no perfect solution and each has
different advantages and disadvantages.
Heavycoin has chosen a
concatenation/interleaving approach, whereas
Quark has selected a function chaining approach.
</p>
</div>
<div class="tab-pane fade" id="asic-resistant">
<i class="fa fa-gears pull-left fa-4x"></i>
<p>
Mining centralization is a problem for Bitcoin,
Litecoin and most other crypto-currencies.
Increasingly, more and more transactions are mined
by a handful of big players with expensive,
specialized hardware. When most transaction
processing is handled by a wealthy, small group,
then this threatens the crypto-currency's
independence and the numerous benefits that come
from decentralization.
</p>
<center>
<img src="images/mining-centralization.png" style="height: 250px;"/>
</center>
<p>
To support the largest, most vibrant mining
community, Heavycoin introduces a novel
ASIC-resistant cryptographic hash function called
HEFTY1. Initially this opened the door for
thousands of CPU-only miners to become early
stakeholders. Currently HEFTY1 offers GPU miners
lean power consumption and low heat generation,
which is great news for keeping electricity costs
low and profits high.
</p>
<h3>Features</h3>
<p>
Early experiences in GPU mining Heavycoin indicate
that there are currently some unique advantages,
including <a href="https://bitcointalk.org/index.php?topic=167229.msg5721823#msg5721823"
target="_blank">lower power consumption</a>
and <a href="https://bitcointalk.org/index.php?topic=506774.msg5746513#msg5746513"
target="_blank">cooler operation</a>. It is
thought that this is due to HEFTY1 creating stalls
in the GPU implementations. Whether this is a
permanent feature or just a temporary advantage
due to unoptimized GPU implementations is unknown
at this stage.
</p>
<ul>
<li>ASIC-resistant</li>
<li>Tiny memory footprint</li>
<li>Power efficient GPU mining</li>
<li>Low temperature GPU mining</li>
</ul>
<h3> Security</h3>
<p>
HEFTY1 is new and its security is not proven.
Therefore, we deploy it in a safe way that is
provably at least as secure as the 4 main
cryptographic hash functions that protect Heavycoin.
We use HEFTY1 as a secondary hash of the input,
while the original input is still hashed by SHA-256,
Keccak-512, Grøestl-512 and BLAKE-512.
Specifically, for each secure cryptographic hash
function <img src="images/h-variable.png"
style="height: 12px; margin-bottom: 6px;" alt="H"/>
in (SHA-256, Keccak-512, Grøestl-512 and BLAKE-512),
we use the following collision avoiding
construction.
</p>
<p><center>
<img src="images/heavycoin-hash.png" style="margin: 10px 0 10px; height: 24px;" title="We guarantee that the Heavycoin hash is always at least as good as SHA256, KECCAK, GROESTL and BLAKE" alt="Heavycoin(x) = H(x + HEFTY1(x))ROESTL(SKEIN(BLAKE(x))))" />
</center></p>
<p>
where <font size="4">⊕</font> is the
concatenation operation. This means that even if
HEFTY1 has collisions, the input to
<img src="images/h-variable.png" style="height:
12px; margin-bottom: 6px" alt="H"/> still contains
the original input and, therefore, will not collide.
</p>
<p>
In this way HEFTY1 is only used for thwarting GPU
miners, while the block chain is secured through the
use of the 4 well-known cryptographic hash
functions. In a highly unlikely worst case scenario
where HEFTY1 is broken, then GPU-miners could obtain
a speed advantage only. The block chain would still
be secured through SHA-256, Keccak-512, Grøestl-512
and BLAKE-512.
</p>
</div>
<div class="tab-pane fade" id="decentralised-voting">
<i class="fa fa-users pull-left fa-4x"></i>
<p>
Until now, all crypto-currencies had fixed mining
schedules, dictated by the creator of the currency.
Heavycoin takes a different approach by relying on
its user-base to democratically decide the mining
schedule through decentralized voting. Both the
mining schedule and money supply (which still has a
maximum upper-bound) are decided through a provably
cheat-proof decentralized voting process.
</p>
<h3>Join the experiment!</h3>
<p>
By mining Heavycoins you can take part in
decentralized block reward voting and democratically
decide on the following.
</p>
<ul>
<li>Mint rate of bulk money supply: 128 days to 25+ years</li>
<li>Maximum money supply: 63M to 128M</li>
<li>Mining reward lifetime: 5 years to 38+ years</li>
</ul>
<h3>How it works</h3>
<p>
Intially Heavycoin starts with a zero block
reward. The very first miners will have the first
opportunity to solve blocks and vote on what the
first democratically selected block reward should
be. The first 100 blocks (3.3 hours) will decide
the starting block reward. From then on, block
reward voting will continue, but the votes are
counted and averaged every 3600 blocks (5 days).
</p>
<p>
Heavycoin is configured to mine and vote by default,
with a default vote of 512 HVC. If you want to
change your block reward vote then
see <a href="voting.html">How to vote</a>
and <a href="rpc-voting">RPC voting</a>. Otherwise,
to disable voting then see
<a href="mining.html">How to mine</a>.
When mining is enabled, every time you mine a block
your wallet will automatically cast a block reward
vote. The Heavycoin network automatically averages
these votes every 5 days (3600 blocks) and sets the
new block reward accordingly. The block reward is
the average of all 3600 votes over the previous
voting period rounded to the nearest integer.
</p>
<h3>Voting phases</h3>
<p>
Voting is divided into three phases (Mint, Limit and
Sustain) in order to allow votes to affect both the
mint rate and the money supply, but also to allow
the network to be sustained over the long-term. The
first phase (Mint) allow a maximum vote of 1024 HVC.
The second phase (Limit) allows a maximum vote of
1024 HVC for the first 59,876 blocks, but 8 HVC for
the last ~3,600 blocks so it can transition into to
the last phase (Sustain). The Sustain phase allows
a maximum vote of 8 HVC.
</p>
</br>
<div class="panel panel-default">
<!-- Default panel contents -->
<table class="table table-bordered vphases col-center">
<thead>
<tr>
<th width="25%"><h3>Phase</h3></th>
<th width="25%"><h3>Voting</h3></th>
<th width="25%"><h3>Duration</h3></th>
<th width="25%"><h3>Supply</h3></th>
</tr>
</thead>
<tbody>
<tr class="center">
<td><h3>Mint</h3> 45,000,000 HVC</td>
<td>Votes affect the duration of the initial minting. The larger the block reward, the quicker the 45M coins will be awarded.</td>
<td>72 days to 25+ years</br> (depending on votes)</td>
<td>45,000,000 HVC</br> (fixed)</td>
</tr>
<tr>
<td><h3>Limit</h3> 63,476 blocks</td>
<td>Votes affect the final money supply. The smaller the block reward, the smaller the supply. Maximum possible supply is 128M coins.</td>
<td>88 days</br> (fixed)</td>
<td>0 − 64,999,424 HVC</br> (depending on votes)</td>
</tr>
<tr>
<td><h3>Sustain</h3> 10,000,576 coins</td>
<td>Votes affect the duration of the long−term sustainment of the network. The largest possible vote is reduced to 8.</td>
<td>4.7 years to 38+ years</br> (depending on votes)</td>
<td>10,000,576 HVC</br> (fixed)</td>
</tr>
<tr>
<td colspan="4"><strong>Total supply</strong></br>63,000,576 to 128,000,000 HVC</br>(depending on votes)</td>
</tr>
</tbody>
</table>
</div>
<p><img src="images/age-limit.png" style="vertical-align: middle;" alt="*"/> Minimum voting age: none</p>
</div>
<div class="tab-pane fade" id="fast-transactions">
<i class="fa fa-rocket pull-left fa-4x"></i>
<p>
Heavycoin has an average transaction time of 2
minutes, which is faster than Bitcoin and Litecoin.
Users have the flexibility of waiting longer for
additional security, as needed, on a per transaction
basis. Compared to a 1 minute block time,
Heavycoin's 2 minute block time reduces block
chain bloat and also provides stability by reducing
forking and block chain reorganizations.
</p>
<h3>Parameters</h3>
<ul>
<li>Block time: 2 minutes</li>
<li>Retarget up: every 5 blocks</li>
<li>Retarget down: every block</li>
<li>Average: last hour</li>
<li>Multipool protection: temporal retargeting algorithm</li>
</ul>
<h3>Details</h3>
<p>
Block propagation speeds are higher than you might
expect. In the
publication <a href="http://www.tik.ee.ethz.ch/file/49318d3f56c1d525aabf7fda78b23fc0/P2P2013_041.pdf">Information
Propagation in the Bitcoin Network</a>, the authors
show that the mean time for a node to see a block is
12.6 seconds and after 40 seconds 95% of the nodes
have seen that block. However, this is not carte
blanche on selecting 40 second block times. We
still must consider the negative impacts on short
block times when miners conflict and create tiny
forks. Additionally, a quicker block time produces
more blocks per day, which means a 1 minute block
chain grows up to twice as fast as a 2 minute block
chain.
</p>
</div>
<div class="tab-pane fade" id="temporal-retargeting">
<i class="fa fa-gears pull-left fa-4x"></i>
<p>
Fledgling crypto-currencies must survive in a harsh
environment and face challenges that Bitcoin does
not. The most serious challenge is to withstand
tremendous difficulty fluctuations that can occur
when automatic profit switching mining pools
(a.k.a. multipools) target a new crypto-currency.
Most crypto-currencies mitigate this issue with the
Kimoto Gravity Well, but recovery can still take
weeks. Heavycoin has its own solution called
Temporal Retargeting, which is much faster.
</p>
<br/>
<center>
<img src="images/retargeting.png"/>
</center>
<h3>Problem</h3>
<p>
When a fledgling crypto-currency starts to become
valuable it gradually moves on to the radar of
larger mining organizations called multipools.
Multipools switch between multiple crypto-currencies
automaticaly based on which one is most profitable
to mine. When a multipool hits a crypto-currency it
can add an astronomical amount of hashing power,
which is good. However, when it switches away, it
can leave so quickly that the difficulty does not
have time to adjust back down. This is very bad!
</p>
<p>
The result is a frozen network, where transactions
cannot be processed because no blocks are being
solved. Depending on how high the difficulty spike,
the network could remain in a frozen state (unable
to solve a block and process transactions) for
hours, days, weeks or even months. This problem has
affected many alternative crypto-currencies, causing
huge panics, price drops and hard forks as the
developers had to release new software to unfreeze
the network.
</p>
<p>
The core of the problem is that most retargeting
algorithms only retarget periodically based on the
block number. Bitcoin was designed with the
assumption that the hashing power will not suddenly
vanish. It assumes there will always be another
block from which to calculate the new difficulty.
However, this is not a valid assumption anymore.
</p>
<h3>Solution</h3>
<p>
Until now, the best known solution to this problem
was
the <a href="https://bitcointalk.org/index.php?topic=240861.msg3040291#msg3040291" target="_blank">Kimoto
Gravity Well retargeting algorithm</a>, which allows
the difficulty to return to normal more rapidly.
Unfortunately, the Kimoto Gravity Well still
requires at least one block to be solved, which can
take weeks. For example, consider the
<a href="https://bitcointalk.org/index.php?topic=391192.msg4987231#msg4987231" target="_blank">recent
FedoraCoin hard fork</a> where users were crying
about having to wait weeks for Kimoto to kick in.
</p>
<p>
Heavycoin takes a different approach to the mulipool
problem and introduces a concept called Temporal
Retargeting. In Heavycoin, the network will begin
to self-heal by lowering the difficulty if no block
is found after a significant amount of time.
However, to guarantee security, the self-healing
time threshold is selected so that an adversary
cannot manipulate the network in order to lower the
difficulty artificially.
</p>
<p>
Heavycoin's Temporal Retargeting algorithm
guarantees that transactions are never frozen for
more than 3 hours. The network will automatically
recover from multipool difficulty spike without
panic or emergency developer intervention.
Considering Bitcoin's confirmation time, we think 3
hours is an acceptable guarantee and should be a
significant improvement over the Kimoto Gravity
Well.
</p>
</div>
</div>
</div>
</div>
<!-- /.row -->
</div>
</div>