Skip to main content

Command Palette

Search for a command to run...

Proof-of-Work (POW): Basics, Working & Features

Updated
3 min read
Proof-of-Work (POW): Basics, Working & Features
S

I am a developer with an eye for design.

Introduction / TL;DR

Proof-of-work (POW) is a consensus protocol. It allows the nodes of the network to agree on the state of all information recorded on that blockchain. This prevents users from "double spending" their coins. It also ensures that the Ethereum chain is considerably difficult to attack or manipulate.

  • Bitcoin and Ethereum are the most famous blockchains which use it.
  • It is the first Consensus Mechanism.

History

The Proof-of-Work concept dates back to 1993. It was later on adapted to securing digital money by Hal Finney in 2004 through the idea of "reusable proof of work". POW uses the SHA-256 hashing algorithm.

Make sure you have an understanding of transactions, consensus mechanisms and blocks, before going further.

Understanding Better

On Blockchain, unlike a centralized model, if some transaction is done, all the miners check if it is true. If one person says that you owe them $10k, that will be a fraud, coz everyone else will falsify him. Everyone (miners) have the same record. That's a distributed ledger.

Proof-of-Work is:

  • reliable
  • fair
  • transparent

Fact: Bitcoin was the first adaptation of Finney's POW concept. It was used for solving the issue of "Double Spending".

How Proof-of-Work works?

Miners spend a ton of time thinking about the hash code of the block, it's where the POW comes in. You have proof that you spent a long time trying to find the password that works.

In the reward, the miner gets some of that respective blockchain's native cryptocurrency, eg. BTC. The reward received is according to the complexity of the hash they solve. Then all the transactions in that block are validated and the record of everyone in that network are updated to the new blocks.

Fun Fact: Proof-of-Work was initially created as a proposed solution to the growing problem of spam email.

Features of Proof-of-Work

  • Secure: Reliable, Safe, Permanent, Fair and transparent
  • To do a fraudulent transaction, you need to own 51% of the network's power. It's impossible. Because for owning 51% of the network the hardware cost would be off the charts.
  • Consensus: Everyone has the same records, they need to complete every other miner to get rewards. When they find the password, they share it with others so they can add it to their ledgers.

That one major issue with "Proof-of-Work"

A major criticism of proof-of-work is the amount of energy output required to keep the network safe. To maintain security and decentralization, Ethereum on proof-of-work consumes 73.2 TWh/Year. It is the energy equivalent of a medium-sized country like Austria. *

General problems with POW

  • Bad impact on the environment due to high energy use
  • Inability to scale
    • The transaction time is low. 1 block/10mins.
    • This brings us to pay large amounts of gas fees.
  • No Penalties. Miners with intent to malicious fraud are not punished.
  • For miners, it requires big investments to start. It requires specialized equipment.

Blockchain projects using POW

  • Bitcoin
  • Ethereum
  • Litecoin
  • Monero

Conclusion

As you may have learnt till yet that proof-of-work may not be the best approach. It's still popular because Bitcoin and Ethereum use it.

Better consensus mechanisms are already here, eg. Proof-of-Stack and Proof-of-History (Used by Solana). They are steadily replacing POW.

There are blogs and videos available for them too. But at the moment they are relatively complex to understand. I'll be publishing blogs on them to make them easier to understand too.

References if you want to read further

  1. What is "proof of work" or "proof of stake"?
  2. Proof of Work in Blockchain
  3. POW on Ethereum Docs

E

Hi Sarthak Verma, great post!

I just wanted to let you know that the link for Twitter, in the upper right corner is broken :)

Have a nice day.

1
S

Thanks, Eleftheria Batsou, I've just started writing blogs, this means a lot. Also, I've updated the Twitter URL but this is some problem from the side of hashnode.

You can find me on Twitter here: 0xSarthak

E

Thank you Sarthak Verma. Your Twitter link (from the upper right corner) points here https://twitter.com/webcrxwler

If you think there is an issue with the links feel free to contact the support, but as far as I've checked everything works fine :)

1
S

Thanks, Eleftheria. I will try contacting support.

H

Nice article my friend.

PoW was seen like the most logical and fair way for mining. I don’t think, this is as relevant today. Proof of Stake, or Solana’s Proof of History seems like good alternative.

I believe the future will be more hybrid. Cross-chain and also Multiple consensus mechanisms.

1
S

Thanks, Hamza.

Yes, for sure, PoW is relatively old technology and PoS or Solana's PoH totally debunks it.

Will write about them too soon.

S
SAM 🦅4y ago

Nice article brother I dont thinkg POW can be described as "efficient".

It is the most energy consuming consensus algo in blockchain space

3
S

Thanks for clearing this. Obviously, it's very energy-consuming. I missed that. Updated.

1