DEFINITION of 'Proof of Work'

Proof of work describes a system that requires a not-insignificant but feasible amount of effort in order to deter frivolous or malicious uses of computing power, such as sending spam emails or launching denial of service attacks. The concept was adapted to money by Hal Finney in 2004 through the idea of "reusable proof of work." Following its introduction in 2009, bitcoin became the first widely adopted application of Finney's idea (Finney was also the recipient of the first bitcoin transaction). Proof of work forms the basis of many other cryptocurrencies as well.

BREAKING DOWN 'Proof of Work'

This explanation will focus on proof of work as it functions in the bitcoin network. Bitcoin is a digital currency that is underpinned by a kind of distributed ledger known as a "blockchain." This ledger contains a record of all bitcoin transactions, arranged in sequential "blocks," so that no user is allowed to spend any of their holdings twice. In order to prevent tampering, the ledger is public, or "distributed"; an altered version would quickly be rejected by other users.

The way that users detect tampering in practice is through hashes, long strings of numbers that serve as proof of work. Put a given set of data through a hash function (bitcoin uses SHA-256), and it will only ever generate one hash. Due to the "avalanche effect," however, even a tiny change to any portion of the original data will result in a totally unrecognizable hash. Whatever the size of the original data set, the hash generated by a given function will be the same length. The hash is a one-way function: it cannot be used to obtain the original data, only to check that the data that generated the hash matches the original data.

Generating just any hash for a set of bitcoin transactions would be trivial for a modern computer, so in order to turn the process into "work," the bitcoin network sets a certain level of "difficulty." This setting is adjusted so that a new block is "mined" – added to the blockchain by generating a valid hash – approximately every 10 minutes. Setting difficulty is accomplished by establishing a "target" for the hash: the lower the target, the smaller the set of valid hashes, and the harder it is to generate one. In practice, this means a hash that starts with a long string of zeros: the hash for block #429818, for example, is 000000000000000004dd3426129639082239efd583b5273b1bd75e8d78ff2e8d. That block contains 2,012 transactions involving just over 1,000 bitcoin, as well as the header of the previous block. If a user changed one transaction amount by 0.0001 bitcoin, the resultant hash would be unrecognizable, and the network would reject the fraud.

Since a given set of data can only generate one hash, how do miners make sure they generate a hash below the target? They alter the input by adding an integer, called a nonce ("number used once"). Once a valid hash is found, it is broadcast to the network, and the block is added to the blockchain.

Mining is a competitive process, but it is more of a lottery than a race. On average, someone will generate acceptable proof of work every ten minutes, but who it will be is anyone's guess. Miners pool together to increase their chances of mining blocks, which generates transaction fees and, for a limited time, a reward of newly-created bitcoins.

Proof of work makes it extremely difficult to alter any aspect of the blockchain, since such an alteration would require re-mining all subsequent blocks. It also makes it difficult for a user or pool of users to monopolize the network's computing power, since the machinery and power required to complete the hash functions are expensive.

RELATED TERMS
  1. Merkle Root (Cryptocurrency)

    A Merkle root contains information about every single transaction ...
  2. Merkle Tree

    Merkle trees are data structures that enhance the efficiency ...
  3. Proof of Capacity (Cryptocurrency)

    Proof of Capacity consensus mechanism uses a mining node’s hard ...
  4. Mining Pool

    A mining pool is a joint group of cryptocurrency miners who combine ...
  5. Bitcoin Classic

    A fork from Bitcoin Core that proposed increasing the size of ...
  6. Cloud Mining

    Cloud mining offers a mechanism to mine a cryptocurrency such ...
Related Articles
  1. Tech

    What is a Distributed Ledger?

    Blockchain technology has come a long way from the obscure corners of the web it was once confined to. But what is it? And what about nonces, hashes and ledgers?
  2. Tech

    How Does Bitcoin Mining Work?

    Bitcoin mining, explained like you're five.
  3. Tech

    Bitcoin Cash Set To Undergo Hard Fork

    The cryptocurrency will undergo a hard fork to enable a stable hash rate amid extreme price volatility.
  4. Tech

    Blockchain Could Make You—Not Equifax—the Owner of Your Data

    All hype aside, blockchain technology is really good at one thing: taking out the middlemen. Leaky data brokers' days may be numbered.
  5. Tech

    How Do You Mine Litecoin?

    This guide will give you a sense of the concepts in litecoin mining, an introduction to the vocabulary and suggestions for further research.
  6. Tech

    What Is Bitcoin?

    We know, bitcoin isn't exactly straightforward. If miners, hashes, keys, blocks and wallets have you scratching your head, this infographic is for you.
  7. Tech

    Do Bitcoin Mining Energy Costs Influence Its Price?

    Given that energy costs account for 90% to 95% of bitcoin production costs, what influence do they exert on its prices?
  8. Tech

    Is Bitcoin Mining Still Profitable?

    Recent changes in technology and the creation of professional mining centers individual miners are asking themselves, is bitcoin mining still profitable?
  9. Tech

    Bitcoin Gold Is Now Live

    A formal software client download was released at 7 p.m. UTC on November 12.
  10. Tech

    Speed Is Essential for Bitcoin Platforms

    Why does speed especially matter with Bitcoin technology? It's because Bitcoin platforms using blockchain need to meet the needs of users in times of high volatility.
RELATED FAQS
  1. How does a block chain prevent double-spending of Bitcoins?

    Find out how double-spending is prevented in the Bitcoin server and how transactions are posted and verified on the Bitcoin ... Read Answer >>
  2. Why do Bitcoins have value?

    Performing with transactional anonymity, Bitcoin has value as a private digital currency, investment tool and social networking ... Read Answer >>
Hot Definitions
  1. Portfolio

    A portfolio is a grouping of financial assets such as stocks, bonds and cash equivalents, also their mutual, exchange-traded ...
  2. Gross Profit

    Gross profit is the profit a company makes after deducting the costs of making and selling its products, or the costs of ...
  3. Diversification

    Diversification is the strategy of investing in a variety of securities in order to lower the risk involved with putting ...
  4. Intrinsic Value

    Intrinsic value is the perceived or calculated value of a company, including tangible and intangible factors, and may differ ...
  5. Current Assets

    Current assets is a balance sheet item that represents the value of all assets that can reasonably expected to be converted ...
  6. Volatility

    Volatility measures how much the price of a security, derivative, or index fluctuates.
Trading Center