Solving the Byzantine Generals Problem with Proof of Work by radixdlt

View this thread on steempeak.com
· @radixdlt ·
$0.23
Solving the Byzantine Generals Problem with Proof of Work
<html>
<p><img src="https://www.radixdlt.com/wp-content/uploads/2018/04/proof-of-work.jpg" width="735" height="490"/></p>
<p>&nbsp;Proof of Work (PoW) is the original blockchain consensus algorithm, and is used in projects such as Bitcoin and Ethereum. It is the mechanism that enables users on a blockchain network to reach an agreed ‘truth’. A proof of work is essentially an answer to a complex mathematical problem. It takes a lot of work to create (hence the name) but is easy for others to validate.&nbsp;</p>
<p>&nbsp;Bitcoin was the first blockchain to implement PoW (known as <em>Hashcash</em>) as a consensus algorithm. Bitcoin miners run a computer program which gives each miner an equal chance proportional to their computing power to discover the solution to the next block. They compete to find the answer (known as <em>hash)</em> to the set PoW parameters for that block. This hash is a 64-character long answer, and is based upon the inputs to the block, such as the transactions it contains.&nbsp;</p>
<p>&nbsp;Miners search for this hash by combining this input with a random number known as a <em>nonce</em>,until someone finds the correct answer. This solution is then broadcast to, and verified by, other miners. Once confirmed, it is added to the blockchain by the other miners, which then use this new block as the input for the hash needed for the next correct block. This chain forms a canonical ledger of all of transactions from Bitcoin’s inception.&nbsp;</p>
<p>&nbsp;As a result, PoW solves the <a href="https://www.radixdlt.com/post/why-consensus-algorithms-are-like-military-generals">Byzantine Generals Problem</a> as it achieves a majority agreement without any central authority, in spite of the presence of unknown/potentially untrustworthy parties and despite the network not being instantaneous. It empowers the distributed and un-coordinated Generals to come to an agreement:</p>
<ol>
  <li>The Generals agree the first plan received by all Generals will be accepted as the plan</li>
  <li>A General solves the PoW problem, creating a block that is broadcast to the network so that all Generals receive it</li>
  <li>Following receipt of this block, each General verifies and works on solving the next PoW problem, incorporating the prior solution into it, so that their plan adds on to the previous resolution</li>
  <li>Each time a General solves a PoW problem, a block is generated and the chain begins to grow. In time, any General working on a different solution will switch over to the longest chain. This is the one most Generals are contributing to and therefore has the greatest chance of success</li>
  <li>As the Generals know roughly how long a PoW solution takes to solve, after a set amount of time they will know if enough of the other Generals are also working on the same chain</li>
</ol>
<p>&nbsp;Through this process, the Generals can arrive at a consensus of when to attack, can estimate their chances of successfully doing so, and can prevent multiple different signals to attack being sent simultaneously.&nbsp;</p>
<p>&nbsp;PoW also prevents malicious actors, such as a traitorous General, from sabotaging the network by tampering with historic messages. Bitcoin, for example, stores the hash signature of the previous block in every new block. Any change to an earlier block would therefore require all successive blocks to also be changed. This would take an excessively large amount of computing power, and therefore the ledger is secure from alterations.&nbsp;</p>
<p>&nbsp;While PoW is an integral part of current blockchain technology, critics point to a number of problems with its implementation. The two most pressing issues concern the potential for centralisation and the waste it generates.&nbsp;</p>
<p>&nbsp;The rise in interest and price of Bitcoin has led to more users mining it, which in turn has led to an increase in processing power required. Mining Bitcoin is now a multi-billion dollar industry and, while all users still have an equal chance of mining a Bitcoin proportional to their computing power, the emergence of industrial scale mining operations means the ordinary individual has a very small chance of successfully mining one Bitcoin. As mining cartels continue to increase in size, the network becomes more centralized – the cartels control more of the hash power and so can mine more of the Bitcoin. This in turn means they can afford to expand operations and assume a greater proportion of computing power.&nbsp;</p>
<p>&nbsp;Furthermore, as a result of the growth of Bitcoin and other networks and the associated increase of processing power, PoW now demands huge energy consumption. Bitcoin alone currently absorbs close to the entire electricity demand of <a href="https://digiconomist.net/bitcoin-energy-consumption">Switzerland</a>. With blockchains such as Ethereum and Litecoin also utilizing PoW, energy needs have rapidly increased. This is of detriment to the environment, and is potentially unsustainable if mining difficulty continues to rise with no accompanying technological improvement.&nbsp;</p>
<p>&nbsp;Critics also point to the waste of the processing power which is essentially only used to secure the network – the calculations have no application to other fields. This energy and financial burden is the cost of securing the network.&nbsp;</p>
<p>&nbsp;This resource inefficiency is one of the issues proponents of other consensus algorithms such as Proof of Stake cite as a reason to switch over from PoW.&nbsp;</p>
<h1>Join The Radix Community</h1>
<p><a href="https://t.me/radix_dlt">Telegram</a> for general chat<br>
<a href="https://discord.gg/7Q7HSZZ">​Discord</a> for developers chat<br>
<a href="https://reddit.com/r/radix">​Reddit</a> for general discussion<br>
<a href="https://forum.radixdlt.com/">Forum</a> for technical discussion<br>
​<a href="https://twitter.com/radixdlt">Twitter</a> for announcements<br>
<a href="https://radixdlt.typeform.com/to/nyKvMV">​Email</a> newsletter for weekly updates<br>
Mail to <a href="https://hello@radixdlt.com/">hello@radixdlt.com</a> for general enquiries&nbsp;&nbsp;</p>
</html>
👍  ,
properties (23)
post_id75,779,617
authorradixdlt
permlinksolving-the-byzantine-generals-problem-with-proof-of-work
categoryblockchain
json_metadata{"tags":["blockchain","dlt","crypto","cryptocurrency","pow"],"image":["https:\/\/www.radixdlt.com\/wp-content\/uploads\/2018\/04\/proof-of-work.jpg"],"links":["https:\/\/www.radixdlt.com\/post\/why-consensus-algorithms-are-like-military-generals","https:\/\/digiconomist.net\/bitcoin-energy-consumption","https:\/\/t.me\/radix_dlt","https:\/\/discord.gg\/7Q7HSZZ","https:\/\/reddit.com\/r\/radix","https:\/\/forum.radixdlt.com\/","https:\/\/twitter.com\/radixdlt","https:\/\/radixdlt.typeform.com\/to\/nyKvMV","https:\/\/hello@radixdlt.com\/"],"app":"steemit\/0.1","format":"html"}
created2019-06-03 12:28:24
last_update2019-06-03 12:28:24
depth0
children0
net_rshares405,954,936,614
last_payout2019-06-10 12:28:24
cashout_time1969-12-31 23:59:59
total_payout_value0.174 SBD
curator_payout_value0.057 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length6,151
author_reputation196,990,119,859
root_title"Solving the Byzantine Generals Problem with Proof of Work"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)