Blockchain & Cryptocurrency Glossary

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

  • search-icon Clear Definitions
  • search-icon Practical
  • search-icon Technical
  • search-icon Related Terms

Difficulty

1 min read
Pronunciation
[dif-i-kul-tee]
Analogy
Difficulty is like the size of the puzzle pieces in a jigsaw: smaller pieces (higher difficulty) take longer to assemble, controlling how fast you finish the picture.
Definition
A network‑wide parameter that adjusts how hard it is to find a valid proof‑of‑work hash, ensuring blocks are produced at a roughly constant rate.
Key Points Intro
Difficulty regulates block production via:
Key Points

Target spacing: Aims for a fixed time between blocks.

Retargeting: Adjusts periodically based on recent block times.

Global parameter: Applies equally to all miners.

Inverse relation: Higher difficulty means lower probability per hash.

Example
Bitcoin recalculates difficulty every 2016 blocks (~2 weeks). If blocks came too quickly, difficulty increases; if too slowly, it decreases.
Technical Deep Dive
Difficulty is encoded as a 256‑bit target threshold. Miners must find a hash ≤ target. The network computes new target = old target × (actual time ÷ desired time). In Ethereum’s Ethash, a similar algorithm recalculates difficulty per block using a weighted moving average.
Security Warning
Rapid swings in hash rate (e.g., due to mining pool migrations) can cause large difficulty adjustments, temporarily destabilizing block times.
Caveat
Difficulty adjustments lag real‑time hash rate changes; extreme volatility can lead to slow or fast block intervals until next retarget.

Difficulty - Related Articles

No related articles for this term.