Understanding Proof of Work

If you haven’t already, read Understanding Hash Functions and Understanding Blocks as a primer for this article.

Proof-of-Work (PoW) is a consensus mechanism for distributed blockchains. PoW is used to create new blocks and forces miners to use massive amounts of electricity and computing power to produce a valid block.

When a miner produces a valid block, they are rewarded and given the ‘block reward’. In Bitcoin, that block reward is currently 12.5 Bitcoin.

Target Hash

To produce a valid block, the hash of the block must be of a certain value. Hashes are just large numbers represented in hexadecimal form. In order for a block to be valid, the hash (a number) must be below a target value. This target value is adjusted based on the amount of computing (or hashing) power of all the miners.

Nonce

Recall that blocks include something called a nonce. A nonce is a number that is combined with the rest of the data in the block to produce a hash.

Miners are racing to find the correct nonce (a number) to combine with the other block data. If the hash of this nonce and block data is above the target value, it is not a valid block.

The miner will then retry with a new nonce, and hash the data again. This is done over and over again until a miner finds a nonce that when combined with block data, produces a valid block.

This process of trying different nonces, hashing, and then comparing to the target value is what Proof-of-Work is. This process requires a lot of computing power and therefore a lot of electricity.

Why PoW?

Proof-of-Work is necessary for stopping attacks on the Bitcoin network. Due to how much electricity miners must use, PoW incentivizes honest behavior. Mining on a different version of the blockchain or going back and trying to change blocks is just a waste of electricity, a waste of money.

PoW makes it so a malicious miner must have 51% of the network’s computing (hashing) power in order to successfully carry out an attack, this is known as a 51% attack. Equipment costs and electricity costs to achieve 51% of the Bitcoin network’s computing power make this attack much less likely.


----

Sign up for our newsletter to receive recent news & updates, and follow us on social media:

Website | Twitter | Linkedin | Facebook | Telegram

Contact:

Legal: legal@stably.io

Press: marketing@stably.io

Exchanges or Market Makers: exchanges@stably.io

Partnerships: info@stably.io

Investors: Kory Hoang, CEO — kory@stably.io

Stably is the creator of Stably USD, a USD-backed stablecoin and Stably Prime, a borderless account with a multitude of financial services and products, customizable to the individual or institutions specific needs.

All asset custody, funds processing, convertible virtual currency administration, trustee and fiduciary services are provided by Prime Trust, a Nevada chartered financial institution and licensed trust company. Digital assets are held in secure cold storage and USD funds are held in FDIC-insured bank accounts by Prime Trust. Stably is not a licensed financial institution and Stably does not manage nor take custody of client funds. Prime Trust neither endorses nor guarantees any of the information, recommendations, optional programs, products, or services advertised, offered by, or made available through the external website ("Products and Services") and disclaims any liability for any failure of the Products and Services.

Please note: By clicking on some of the links above, you will leave the Stably website and be directed to an external website. The privacy policies of the external website may differ from our privacy policies. Please review the privacy policies and security indicators displayed on the external website before providing any personal information.

Copyright © 2019-2020 Stably Corporation. All Rights Reserved