blockchain algo links

This commit is contained in:
Alex Grintsvayg 2018-10-17 18:01:26 -04:00
parent 30fd8d5f7f
commit ab265c3696
2 changed files with 21 additions and 8 deletions

View file

@ -66,7 +66,8 @@
<ul>
<li><a href="#block-timing">Block Timing</a></li>
<li><a href="#difficulty-adjustment">Difficulty Adjustment</a></li>
<li><a href="#hash-algorithm">Hash Algorithm</a></li>
<li><a href="#block-hash-algorithm">Block Hash Algorithm</a></li>
<li><a href="#block-rewards">Block Rewards</a></li>
</ul></li>
<li><a href="#urls-1">URLs</a></li>
</ul></li>
@ -426,11 +427,15 @@ OP_2DROP OP_DUP OP_HASH160 &lt;addressThree&gt; OP_EQUALVERIFY OP_CHECKSIG
<h4 id="difficulty-adjustment">Difficulty Adjustment</h4>
<p>The proof-of-work target is adjusted every block to better adapt to sudden changes in hashrate. The exact adjustment algorithm can be seen <a href="#fixme">here</a>.</p>
<p>The proof-of-work target is adjusted every block to better adapt to sudden changes in hashrate. The exact adjustment algorithm can be seen <a href="https://github.com/lbryio/lbrycrd/blob/e90d7f54cede3c1c5bfc3590351054bdc5a99480/src/lbry.cpp">here</a>.</p>
<h4 id="hash-algorithm">Hash Algorithm</h4>
<h4 id="block-hash-algorithm">Block Hash Algorithm</h4>
<p>LBRY uses a combination of SHA256, SHA512, and RIPEMD160. The exact hashing algorithm can be seen <a href="#fixme">here</a>.</p>
<p>LBRY uses a combination of SHA256, SHA512, and RIPEMD160. The exact hashing algorithm can be seen <a href="https://github.com/lbryio/lbrycrd/blob/e90d7f54cede3c1c5bfc3590351054bdc5a99480/src/hash.cpp#L18">here</a>.</p>
<h4 id="block-rewards">Block Rewards</h4>
<p>The block reward schedule was adjusted to provide an initial testing period, a quick ramp-up to max block rewards, then a logarithmic decay to 0. The source for the algorithm is <a href="https://github.com/lbryio/lbrycrd/blob/ebeb2bd092734035887ca3d8d0e69628bd2d3900/src/main.cpp#L1594">here</a>.</p>
<h3 id="urls-1">URLs</h3>

View file

@ -58,7 +58,8 @@ A> For more technical information about LBRY, visit [lbry.tech](https://lbry.tec
* [Consensus](#consensus)
* [Block Timing](#block-timing)
* [Difficulty Adjustment](#difficulty-adjustment)
* [Hash Algorithm](#hash-algorithm)
* [Block Hash Algorithm](#block-hash-algorithm)
* [Block Rewards](#block-rewards)
* [URLs](#urls-1)
* [Metadata](#metadata)
* [Metadata Specification](#metadata-specification)
@ -408,17 +409,24 @@ Explain how transactions serve as proof that a client has made a valid payment f
LBRY makes some small changes to consensus timing and methodology.
#### Block Timing
The target block time was lowered from 10 to 2.5 minutes to facilitate faster transaction confirmation.
#### Difficulty Adjustment
The proof-of-work target is adjusted every block to better adapt to sudden changes in hashrate. The exact adjustment algorithm can be seen [here](#fixme).
The proof-of-work target is adjusted every block to better adapt to sudden changes in hashrate. The exact adjustment algorithm can be seen [here](https://github.com/lbryio/lbrycrd/blob/e90d7f54cede3c1c5bfc3590351054bdc5a99480/src/lbry.cpp).
#### Block Hash Algorithm
LBRY uses a combination of SHA256, SHA512, and RIPEMD160. The exact hashing algorithm can be seen [here](https://github.com/lbryio/lbrycrd/blob/e90d7f54cede3c1c5bfc3590351054bdc5a99480/src/hash.cpp#L18).
#### Block Rewards
The block reward schedule was adjusted to provide an initial testing period, a quick ramp-up to max block rewards, then a logarithmic decay to 0. The source for the algorithm is [here](https://github.com/lbryio/lbrycrd/blob/ebeb2bd092734035887ca3d8d0e69628bd2d3900/src/main.cpp#L1594).
#### Hash Algorithm
LBRY uses a combination of SHA256, SHA512, and RIPEMD160. The exact hashing algorithm can be seen [here](#fixme).
### URLs