BanklessTimes

What is Proof of Work?

Staff Writer
Staff Writer
February 16th, 2023

Proof of work is a consensus mechanism that helps in maintaining the integrity of a blockchain network by allowing the execution and recording of genuine transactions. The miners also known as nodes work collectively without relying on a central authority to govern the network and get rewarded in return for their contribution to keeping the network secure and reliable.

Introducing Proof of Work

Proof of work was introduced with the launch of the very first cryptocurrency, Bitcoin, and it is still in use by many prominent blockchain networks. It is a creative solution to allow every participant in a network (nodes) to collectively authenticate the entries to the distributed ledger. This way, the network can autonomously govern itself and do the trust-building for its participants.

This guide explains how proof of work works, its advantages and limitations, and its future.

What is a Consensus Mechanism?

In a nutshell, consensus mechanisms help govern an autonomous network such as a blockchain. It is a collection of ideas, incentive mechanisms, and protocols that help realize it. In a centralized network, a governing entity is responsible for recordkeeping: it is responsible for keeping the database updated, and each entry is genuine and securely protected.

A bank, for example, keeps a ledger of every transaction its clients make, a log of each client’s account(s), and more. Account owners trust the banks in authenticating and facilitating their transfers, which would include communicating with their beneficiary’s bank, ensuring that the sender has enough funds in their account for the transfer, or that they will receive the transfer amount in full — after deducting the transaction fees for its services.

A decentralized network, on the other hand, does all this work through nodal participation and as said before, makes use of certain protocols to ensure transactions’ security and authenticity. They constitute a transparent system of management where every participant shares the responsibility of keeping the integrity and security of the network.

How Does It Work?

In a blockchain, every piece of information is stored in blocks, and each block is tied to one another in chronological order and is cryptographically sealed through hashing encryption. Each block has a limited capacity, and a new block needs to be added to the chain when one of the blocks is filled, this process is called mining. There is no defined selection for validators, any node is allowed to mine new blocks as they wish.

Besides the data, each block includes its own and the previous block’s hash code: a series of alphanumerical characters that are created through the data input. For miners to authenticate each block, and by extension the transactions in them, they need to generate a valid hash code.

For modern computers, it’s fairly easy to generate any hash. To put the work in proof of work, networks like Bitcoin impose a “target” hash, and the hash the nodes generate must meet the target hash.

To do so, the validators generate the hash code functions as proof of the work by using a tremendous amount of computing power (via GPUs) while allowing other nodes to recognize the authenticity of the verification. For their honest contribution, the nodes are awarded an amount of the blockchain’s native coin.

What Is Wrong With Proof of Work?

While Proof Of Work brings about a creative solution to managing the network in a collective fashion, it has some major drawbacks which even led some prominent blockchains, most notably Ethereum, to switch to other consensus mechanisms.

Risk of Re-Centralization

Proof Of Work is a competitive consensus model, as everybody is free to do the validating job to collect the rewards. Over time, this has led participants to build mining farms, which are filled with associated hardware including dozens of GPUs, power supplies, and cooling mechanisms.

Miners also join powers to create pools, which would increase their chances of mining new blocks and collecting tokens in return. This not only creates an unequal playground but also threatens the decentralization of a blockchain — a phenomenon called the 51% attack is fairly easy to occur in such situations.

For transactions to be authenticated, each verification needs the approval of at least half of the network’s participants. The growing size of the mining pools is paving the way for certain entities to take over most of the network: in the case of Bitcoin, for example, major mining pools like F2Pool and AntPool own over 14% of the network each. In theory, five of the major pools can join forces to own more than half of the Bitcoin network and may manipulate it.

Massive Energy Demand

As said before, the proof of the authenticating work in this mechanism comes from the high GPUs the nodes are using. This work not only drives the energy bills of the validators, which they are technically compensated for through economic incentives but creates an environmental problem.

According to Cambridge University’s most recent calculations, the Bitcoin network has released 200 million tonnes of carbon dioxide into the atmosphere, which is more than what Colombia produced in 2018. This raises serious concerns regarding the sustainability of blockchain networks relying on Proof Of Work and requires urgent solutions.

The rising energy prices in 2022 coupled with the tank in overall cryptocurrency value also made mining far less profitable than before, proving that real-life situations as such may threaten the whole mechanism.

Will Proof Of Work Stick Around?

The future of the Proof Of Work mechanism is unclear. As of September 2022, Ethereum has switched to the proof of stake mechanism, which requires much less computing power and allows the selection of validators with respect to the stakes they put forward. While it has its own drawbacks, it brings solutions to major problems associated with PoW.

Having a consensus mechanism is instrumental in keeping blockchains decentralized and secure. The current situation is far from grim as developers have been hard at work coming up with different solutions to address the problems of Proof of Work and help networks grow.

What happens in proof of work?

In proof of work, network participants (nodes) solve a computationally challenging cryptographic puzzle to verify the transactions and add blocks to the chain in return for getting rewarded in the native crypto.

What is an example of proof of work?

Proof of work (PoW) is a technology that supports cryptocurrencies by preventing users from carrying out fraudulent transactions. Examples of popular proof-of-work cryptocurrencies include Bitcoin, Litecoin and Dogecoin.

What are the problems with proof of work?

Since Proof of work requires large amounts of computational power, it effectively shrinks the candidates who can perform mining as not every participant can afford the expensive hardware to fulfil the demand of energy supply required.

Is proof of work more secure?

One of the biggest advantages of proof of work is that since its launch over a decade ago, it has provided impeccable security. The fact that other mechanisms are not time-tested as PoW, it definitely has an edge over other solutions.

What are some key differences between proof of stake and proof of work?

One of the biggest differences between PoS and Pow is the amount of electricity used. A big complaint from cryptocurrency critics is the electricity use. Proof of work uses significantly more energy because of its authentication model that uses high-powered computers.

Why do we need proof of work?

Proof of work provides a way for the blockchain to remain “trustless,” meaning no third party is necessary to verify or manage the transactions. Proof of work, especially the way it’s used for the bitcoin network, is kind of the ultimate in developing an asset.

Which cryptocurrency uses proof of work?

Proof of work is the older of the two, used by Bitcoin, Ethereum 1.0, and many others. The newer consensus mechanism is called proof of stake, and it powers Ethereum 2.0, Cardano, Tezos and other (generally newer) cryptocurrencies.

Read More About Blockchain

Contributors