summary: Proof of work (PoW) is a system used in computer science to validate transactions or computations and to prevent malicious activities such as denial of service ...
content: Proof of work (PoW) is a system used in computer science to validate transactions or computations and to prevent malicious activities such as denial of service attacks. It is the original crypto consensus mechanism used to prove that certain calculations have been done and to prevent double-spending. It was first used by Bitcoin. Overview It is called “proof of work” because the network requires a huge amount of processing power. Proof-of-work blockchains are secured and verified by virtual miners around the world racing to be the first to solve a math puzzle. The winner gets to update the blockchain with the latest verified transactions and is rewarded by the network with a predetermined amount of crypto. The purpose of proof of work is to ensure that only legitimate users are able to generate valid solutions and to prevent malicious activities such as double-spending. In Bitcoin, proof of work is used to ensure that the blockchain remains secure and valid. The idea for Proof of Work(PoW) was first published in 1993 by Cynthia Dwork and Moni Naor and was later applied by Satoshi Nakamoto in the Bitcoin paper in 2008. The term “proof of work” was first used by Markus Jakobsson and Ari Juels in a publication in 1999. Technology Bitcoin is a blockchain, which is a shared ledger that contains a history of every Bitcoin transaction that ever took place. This blockchain is composed of blocks. Each block with the most recent transactions stored in it. Proof-of-work is a necessary part of adding new blocks to the Bitcoin blockchain. Blocks are developed by miners, the players in the ecosystem who execute proof of work. A new block is accepted by the network each time a miner comes up with a new winning proof ofwork, which happens roughly every 10 minutes. Finding the winning proof-of-work is difficult and requires expensive, specialized computers. Miners attempt to guess a matching computation and, if successful, will earn bitcoin. The computations they make are known as "hash" which takes an input and produces a random string of letters and numbers. Miners aim to generate a hash that matches Bitcoin's current "target". It requires a hash with a large number of leading zeroes, which is a highly improbable occurrence. Despite this, miners around the world compute trillions of hashes per second, typically taking around 10 minutes to reach the target. Whoever reaches the goal first will be rewarded with a batch of Bitcoin cryptocurrency. The Bitcoin protocol then creates a new value, which miners must hash, and miners compete to find the winning proof-of-work. Feature of PoW It is difficult to find a solution to a mathematical problem. It is easy to verify the correctness of that solution. Challenges With PoW The 51% risk If a controlling entity owns 51% or more than 51% of nodes in the network, the entity can corrupt the blockchain by gaining the majority of the network. Time-consuming Miners have to check over many nonce values to find the right solution to the puzzle that must be solved to mine the block, which is a time-consuming process. Resource consumption Miners consume high amounts of computing power in order to find the solution to the hard mathematical puzzle. Non-instantaneous transaction Transaction confirmation takes about 10–60 minutes. It takes some time to mine the transaction and add it to the blockchain thus committing the transaction. 