VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

How Blockchain Technology Works | Why Proof of Work Needs Mining

Three students in school uniforms work through open books at a classroom table, with textbooks and stationery nearby and study notes on the whiteboard behind them.

Did you know? Bitcoin miners are not merely checking transactions or solving puzzles for prizes. They perform expensive proof-of-work calculations so that proposing a new block is costly while checking whether the block satisfies the rules is comparatively easy. That asymmetry is an important part of how independent participants agree on a transaction history.

Imagine Alicia, Kai Kai and Tricia maintaining a fictional school science-club ledger. Anyone may suggest a new page, but the club wants to prevent one person from cheaply producing thousands of competing pages to confuse everyone. The club introduces a demanding puzzle attached to each page. Solving it takes repeated attempts, while verifying a proposed solution takes far less effort. The analogy is imperfect, but it captures why proof of work creates a measurable cost for producing candidate blocks.

Quick answer: Bitcoin mining assembles a candidate block, then repeatedly hashes variations of its header, seeking an output below the target defined by the network’s difficulty rules. If a miner finds a valid proof and the whole block obeys Bitcoin’s consensus rules, independent full nodes can validate and potentially accept it. Mining supplies an economic Sybil-resistance and chain-selection mechanism; it does not give miners permission to print arbitrary coins or override the full nodes’ validity rules.

This reader’s guide explains mining, hashes, difficulty, rewards, pools, energy, confirmations and the difference between Bitcoin proof of work and modern Ethereum proof of stake. No mining hardware or cryptocurrency is needed to follow the examples.

Choose Your Reading Route

A proof of work is expensive to produce and easy to inspect

Suppose the science club asks students to find a three-digit classroom code whose invented checksum begins with two zeroes. A student may have to try many candidate codes, but a teacher can check a proposed code quickly by running the checksum rule once.

Real Bitcoin mining uses cryptographic hashing over a precisely structured block header rather than an ordinary classroom checksum. The network defines a target threshold, and a valid header hash must satisfy it. The miner cannot simply type a desired hash and demand that full nodes accept it; the cryptographic relation to the actual header must verify.

This relationship creates an asymmetry. Generating a successful candidate may consume large amounts of specialised computation. Verifying the candidate’s proof is straightforward compared with repeating the entire search.

The point of mining is not to discover a secret message or perform a useful scientific calculation. It is to demonstrate that specified computational work was expended in constructing a valid block candidate. That work affects the cost of competing with or rewriting accepted history.

Bitcoin’s Developer Guide to Mining explains how a block header and difficulty target are supplied to mining hardware and how successful results are broadcast. The Bitcoin FAQ provides the beginner-friendly consensus context.

For students, the important question is what does the difficult step make expensive, and what can the other participants independently verify?

What miners actually put into a candidate block

Mining begins with more than hashing random strings. The block producer assembles eligible transaction data under the protocol rules, includes a coinbase transaction for the permitted reward and constructs a block header committing to relevant information about the block and its predecessor.

The header includes fields such as the previous block hash, a commitment derived from the transactions, a timestamp under the protocol’s rules, a difficulty representation and a nonce. The header links the candidate to a particular prior block and commits it to particular transaction content.

A miner can choose among eligible transactions subject to technical and economic considerations. But selecting a transaction does not make an invalid one valid. A fully validating Bitcoin node checks the relevant transaction and block rules when it receives a candidate.

Imagine our club page has a heading naming the previous page and a summary of the new entries. The puzzle binds the candidate to that particular page content. Changing the entries changes the relevant commitment and invalidates the old proof.

This structure helps readers understand why mining is tied to chain history rather than simply being a contest with a disconnected mathematical question.

The Bitcoin Developer Guide covers block templates, coinbase data, Merkle roots and candidate headers in technical detail. Readers can understand the purpose without implementing any of these structures.

What is the nonce?

A nonce is a value that miners can vary as part of trying different block-header candidates. In simplified explanations, a miner changes the nonce and hashes the header again, searching for a result below the required target.

The ordinary block-header nonce field is limited in size. Modern mining hardware can attempt candidates extremely quickly, so miners may also vary other appropriate data, including additional nonce material in the coinbase transaction that changes the Merkle root. This generates additional distinct headers to test.

Do not confuse Bitcoin’s block-header nonce with Ethereum’s account transaction nonce. They share a word but serve very different roles. One helps create varied proof-of-work candidates, while the other participates in ordering ordinary account transactions under Ethereum’s rules.

A classroom exercise can show why a fixed-size input field eventually needs another source of variation. Try many numbers until the available range is exhausted, then change the summary of the imaginary page to create new candidate inputs.

The important part is not memorising a number of bits. It is recognising that miners must produce a header matching the block’s content and the target, rather than inventing a success label.

For a related account-nonce explanation, see Why a Transaction Can Be Replaced Before Confirmation.

Difficulty changes the target, not the rules of arithmetic

Bitcoin adjusts its proof-of-work target at defined intervals so that block production tends toward a target average over time. When total network hashing power changes, the difficulty adjustment can respond under the protocol’s formula.

The Bitcoin FAQ describes a target average of approximately ten minutes per block. That does not mean every block arrives exactly ten minutes after the previous one. Mining is probabilistic; a valid solution can appear sooner or later.

Imagine the classroom puzzle requires a code that passes one out of a hundred possible checksum tests on average. If more students work on it at once, a valid answer may be found sooner. The teacher can make the test more selective for the next period to keep the long-run pace closer to its target.

Real Bitcoin difficulty uses a specific target encoding and periodic adjustment rules, not a teacher choosing arbitrarily. The adjustment concerns how demanding it is to produce a valid proof under the current rules.

It is useful to distinguish difficulty from network fees. A higher difficulty is not the same thing as a higher fee for a particular payment, though mining economics and competition interact with the wider system.

The beginner lesson is the target regulates the expected block-finding process, not a guaranteed appointment on the clock.

Who actually checks whether a mined block is valid?

A common misunderstanding is that miners alone decide what Bitcoin counts as valid. Miners compete to produce blocks, but ordinary fully validating nodes independently check the consensus requirements applicable to received blocks.

A miner cannot simply claim twice the allowed block subsidy or include a transaction that spends value contrary to the protocol rules and force honest full nodes to accept it. The block needs both a valid proof of work and valid content.

This creates two complementary responsibilities. Mining helps select a history under cumulative-work rules and imposes a cost on creating competing blocks. Full validation checks that the content and history satisfy the software’s accepted consensus rules.

Suppose Alicia solves the school puzzle but inserts an impossible negative credit transfer. Kai Kai and Tricia should reject that page under the club’s bookkeeping rules, even though Alicia genuinely solved the attached puzzle. Work is not a license to break the accounting system.

The Bitcoin FAQ explains that Bitcoin nodes reject blocks that violate the network’s rules, regardless of who mined them. That is the critical distinction between producing a candidate and validating it.

Read What Happens When a Blockchain Node Goes Offline for the difference between full nodes, block producers and infrastructure providers.

Why cumulative work makes old history harder to replace

Each valid Bitcoin block header commits to the preceding accepted block hash. Later blocks build on this history. To replace a previous segment with a competing valid branch, an attacker would generally need to produce an alternative sequence satisfying the cumulative proof-of-work selection rule.

This is why confirmations matter. A transaction included in one block has less accumulated work built above it than a transaction buried under many additional blocks. Under the relevant hash-power and network assumptions, deeper history tends to become harder to replace.

The phrase “harder” should not be turned into an unconditional mathematical impossibility. Proof-of-work settlement is probabilistic, and security depends on the distribution of hash power, network conditions, economic incentives and potential attackers.

In our school exercise, replacing a page would require not only rewriting that page but also redoing the accepted puzzle work for subsequent pages under the same rules. As more pages accumulate, the challenge grows.

The actual Bitcoin fork-choice mechanism follows cumulative proof of work, not simply the visual length of a page stack or which branch was first seen by one wallet.

For a practical reader’s perspective, see Why a Confirmed Transaction Can Be Reorganised.

Mining rewards are an incentive, not proof of unlimited profit

Miners may receive a block subsidy under Bitcoin’s issuance rules and transaction fees associated with the accepted block. The subsidy declines at scheduled halving intervals under the protocol.

Those potential revenues are not guaranteed net income. Real miners incur hardware, electricity, cooling, maintenance and other operating costs. Finding a valid block is probabilistic for an individual miner, and the revenue depends on accepted blocks and the relevant reward structure.

Suppose the fictional club awards one imaginary prize to whoever solves a difficult puzzle first. Purchasing faster equipment may improve someone’s chance, but the cost of the equipment could exceed the value of any prize won.

A project promising certain daily mining profits without considering costs, probability and market changes is not explaining proof of work responsibly. A correctly functioning network does not guarantee that one user’s mining operation will be financially worthwhile.

Miners also have different arrangements. Some mine independently, while others pool resources and follow a pool’s reward-distribution rules.

The Bitcoin Developer Mining guide describes solo and pooled mining and why their payout variance differs. It is a technical account, not advice to purchase mining equipment.

What mining pools do

A mining pool coordinates work among participating miners to increase the frequency with which the group finds eligible blocks. The pool can then distribute revenue under its specified payment method, often using submitted shares to estimate contributed work.

A pool share is not necessarily a Bitcoin block accepted by the network. Pools commonly use easier share targets so that miners can demonstrate their work contributions more frequently than they would find full network-valid blocks.

When a share also satisfies the network’s harder target and the block is valid, the resulting block can be broadcast for full nodes to validate. The distinction between a pool share and a network block is important for interpreting mining dashboards.

In the school analogy, several students collaborate on many candidate puzzle attempts and the club tracks each student’s contribution. A local progress mark does not itself mean the team solved the official puzzle.

Pooling can smooth individual payout variability but can introduce concerns about pool operator rules and concentration of block-construction authority. Independent miners and operators may have different degrees of control over proposed transaction selections.

A careful reader asks which party constructs blocks, which party supplies computational work, and which party actually pays the participant under the pool agreement. Those are different roles.

Why proof of work uses energy

Mining hardware performs repeated calculations, which require electricity and physical computing equipment. Under Bitcoin’s design, this expenditure is part of the cost imposed on producing new candidate blocks and competing histories.

Whether a particular level of energy consumption is socially worthwhile is a different, debated question. Evaluating that question responsibly involves the energy mix, alternative uses of power, emissions, infrastructure effects, actual security properties and comparison with other systems.

The cryptographic mechanism does not guarantee that electricity comes from renewable sources or that every mining operation is environmentally beneficial. Nor does it establish that every joule is wasted simply because the calculation is not solving a separate scientific problem.

A school science lesson could compare resource expenditure across different security designs while acknowledging that the designs have different assumptions and outcomes. The point is to make the trade-off explicit rather than use slogans.

Bitcoin proof of work intentionally links influence in block-production competition to computational work. Modern Ethereum uses a different proof-of-stake approach, described in the Ethereum consensus documentation.

The useful reader question is what security property is the resource expenditure intended to support, and what are the actual economic and environmental costs of achieving it?

Bitcoin proof of work is not Ethereum proof of stake

Ethereum moved away from proof-of-work mining in September 2022 and now uses proof of stake under its consensus protocol. It uses validators, attestations, stake-related rewards and penalties rather than Bitcoin-style mining to select and secure blocks.

Therefore, an article claiming that Ethereum users currently need to mine ETH blocks with GPUs to support the modern mainnet would be outdated. Blockchain is a broader family of technologies, not one interchangeable consensus procedure.

Both proof of work and proof of stake aim to make Sybil attacks and consensus manipulation costly under their respective assumptions. But the resources committed differ: computational work in one model, economic stake and protocol penalties in another.

The precise way recent blocks are selected, how finality is expressed and what validators or miners are rewarded for also differs. A reader cannot accurately copy Bitcoin’s confirmation-count explanation into Ethereum’s finalised-checkpoint terminology without qualification.

The Ethereum Consensus Mechanisms overview explains both approaches and how Ethereum’s current consensus works. It is an appropriate counterpoint to Bitcoin’s mining documentation.

The lesson is to name the network before describing mining, validators, rewards or finality. “All blockchains mine” is not a correct general statement.

What happens when two miners find competing blocks?

Two miners can find different valid candidates near the same time. Because information propagates through a network with real communication delays, different nodes may initially observe different candidate heads.

Bitcoin’s chain-selection process resolves competing branches according to its valid cumulative-work rules as more blocks arrive. A recent candidate block may be displaced from the accepted branch, and some transactions may later be included elsewhere.

This is a normal reason for discussing reorganisation and confirmations. It does not mean the blockchain keeps two permanent official versions every time two miners find candidates close together.

The timing of block discovery is probabilistic, not an exact schedule. A miner may invest substantial work in a candidate that does not become part of the eventual selected history.

For a classroom exercise, let Alicia and Kai Kai each present a valid next page before hearing about the other. Tricia must apply the same selection rule consistently rather than choosing a favourite author.

The network’s ability to reconcile competing valid branches is one reason miners perform work attached to precise blocks rather than merely tallying votes of arbitrary online identities.

What mining does not guarantee

Mining can help establish ordering and make competing history costly under proof-of-work assumptions. It cannot automatically establish that every outside commercial promise in a transaction is true.

A mined transfer can be a genuine Bitcoin payment to an address whose controller is misrepresented by a dishonest merchant. A valid block does not prove a physical parcel arrived, a certificate issuer was accredited or a digital artwork was legally licensed.

Nor does a low-fee pending payment become guaranteed just because miners exist. Miners choose from eligible candidates under economic and policy conditions, and the recipient may need an appropriate confirmation policy.

A mined block can also be valid even when a market price quoted alongside it is unreliable. Blockchain integrity and economic valuation remain separate.

The correct claim is narrow and useful: proof of work supports costly block proposal and cumulative-work consensus over network-valid data. External truth and business fulfilment require their own evidence.

See Why a Transaction Hash Is Not a Payment Receipt for how to reconcile protocol outcomes with real obligations.

A school science-club paper experiment

Draw three proposed ledger pages. Each page names the previous page and includes a list of fictional credit transfers. Give each candidate a toy puzzle, such as finding a small integer that makes a classroom checksum meet a deliberately simple condition.

Let Alicia and Kai Kai each work on different proposed pages. When one finds a valid toy solution, ask Tricia to verify the checksum and then check the ledger’s separate bookkeeping rules. A valid puzzle attached to a page containing impossible transfers should still be rejected.

Now allow two valid candidates to appear nearly together. Students should notice why the club needs a consistent branch-selection rule rather than simply trusting whichever page their tablet received first.

Add more valid pages to one branch and discuss why the accumulated puzzle work supports a stronger history claim under the invented model. Explicitly explain that this is a simplified analogy, not a secure real mining protocol.

Finally compare the energy and time used to find solutions with the speed of checking them. The students can see the asymmetry without using any cryptocurrency hardware.

The exercise teaches candidate construction, costly work, independent validation, branch selection and the difference between network acceptance and an external business claim.

Seven questions about proof-of-work security

Which network? Bitcoin and Ethereum mainnet currently use different consensus mechanisms. Name the precise system before generalising.

What work is being proved? Identify the block header and difficulty target rather than assuming miners solve arbitrary beneficial puzzles.

Who checks the block? Full nodes independently validate consensus rules; a miner’s success does not make invalid content acceptable.

How is the branch selected? Bitcoin follows valid cumulative proof of work rather than whichever block one wallet first saw.

What does confirmation depth mean? More blocks can increase confidence under the relevant threat model without creating absolute impossibility of reorganisation.

Who receives incentives? Distinguish block subsidy, transaction fees, pool payouts and the miner’s actual costs.

What remains unproven? Mining does not authenticate merchants, guarantee asset prices or establish the truth of off-chain events.

These questions give readers a precise understanding of mining without suggesting that they need to buy hardware or earn a cryptocurrency reward to learn the protocol.

Frequently asked questions

Why does Bitcoin need mining?

Mining creates a costly competition to propose valid blocks, supports chain selection by cumulative proof of work and helps make revision of accepted transaction history difficult under the protocol’s assumptions.

What puzzle do Bitcoin miners solve?

They repeatedly hash candidate block headers and related variations, seeking a result below the network’s defined target. There is no shortcut that reliably avoids the necessary trials.

Is mining the same as checking transactions?

Not exactly. Miners assemble and propose blocks, while fully validating nodes independently check the content and consensus requirements of received blocks.

Does mining generate new bitcoins?

Accepted valid blocks can include a permitted block subsidy according to Bitcoin’s issuance schedule, in addition to eligible transaction fees.

Are block rewards guaranteed to every miner?

No. Block finding is probabilistic, and mining economics depend on costs and, for pooled mining, the pool’s payment arrangement.

What is a mining pool?

It coordinates computational work among miners and distributes revenue under defined rules, often using easier shares to measure contributions.

Does a higher hash rate mean every block appears instantly?

No. Difficulty adjustment and probabilistic discovery mean individual block times vary around the network’s intended long-run average.

Can a miner include invalid transactions?

A miner can propose a bad block, but full nodes applying the network’s consensus rules reject blocks that do not meet validity requirements.

Is proof of work completely irreversible?

It gives probabilistic settlement confidence. Reorganising deep valid history becomes costly under relevant hash-power assumptions, not metaphysically impossible.

Does Ethereum still use mining?

Ethereum mainnet now uses proof of stake. Bitcoin remains a proof-of-work blockchain.

Why does mining use electricity?

Specialised hardware performs many hash calculations to satisfy the work target. That energy expenditure is part of the security and economic trade-off.

What should students remember?

Mining makes valid block proposals costly, while nodes make validity checkable. Both roles matter for a trustworthy proof-of-work ledger.

Primary sources and related learning

The Bitcoin Developer Guide: Mining explains block templates, nonce variation, difficulty targets and solo versus pooled mining. The Bitcoin FAQ gives an accessible explanation of mining, fees, block confirmations and independent validation. Ethereum Consensus Mechanisms helps compare Bitcoin’s model with Ethereum’s present proof-of-stake system.

For eduKateSG’s deeper articles, read Proof of Work and Cumulative Work: Targets, Trials and Valid Branches, Why a Confirmed Transaction Can Be Reorganised, What Happens When a Blockchain Node Goes Offline and Why Network Fees Change When It Gets Busy.

The lasting idea is mining proposes a costly, verifiable block candidate; consensus rules and independent nodes decide whether its history is acceptable. That makes the puzzle meaningful without confusing it with a guarantee about every real-world claim.

Explore More Blockchain Questions