Proof of work
Terms used in this lesson
- Proof-of-work target
- The maximum header-hash value accepted for a block; lowering it makes valid hashes harder to find.
- Hash rate
- The number of mining hash attempts performed per second.
- SHA-256
- A cryptographic hash function used throughout Bitcoin to produce fixed-size 256-bit digests.
Mining searches header variations for a hash below the target, making history costly to extend and rewrite.
Loading lesson visuals...
Learn the idea
Proof of work requires the numeric double-SHA-256 block-header hash to be less than or equal to a target. A lower target is harder because fewer of the 2^256 possible hash values qualify. Hash rate measures attempted hashes per second; it changes expected discovery time, not any individual hash's uniform probability.
Decode the target
The header stores a compact representation called nBits. Nodes decode it and reject invalid or out-of-range targets.
Inspect every idea above to open it.
They repeatedly hash different headers. Previous failures do not move one candidate closer to success; each trial is another probabilistic search.
The questions unlock after every required learning activity
Inspect every guided idea, open the worked example, rebuild its mechanism, and complete the deterministic lesson tool. Your progress is saved automatically.