# 比特幣挖礦中的難度調整是什麽，為什麽需要它？

工作量證明算法的挖礦難度每2,016個區塊自動調整一次，大約每兩周一次。調整的目標是保持新區塊的挖掘時間恒定在10分鐘一個區塊。

難度調整會考慮到被用於哈希算法的全部計算能力或「哈希能力」總量。隨著計算能力的增加，難度也會提升，使得對所有礦工而言，挖礦變得更加困難。如果計算能力減少，難度就會降低，挖礦變得更容易。

需要註意的是，難度調整系統使得比特幣挖礦與貴金屬的開采有很大的不同。例如，如果黃金價格上漲，會吸引更多的礦工進入市場。更多的黃金礦工的加入最終會導致生產出更多的黃金。根據供求法則，這將最終降低黃金的市場價格。然而，在比特幣的情況下，產生的比特幣數量（鑄造）是由比特幣協議預先決定的。這意味著它不會受到礦工數量和算力的影響。因此，無論多少挖掘能力被用於算法，產生的比特幣數量都不會受到影響。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.spiderpool.com/zh/wa-kuang-chang-shi/bi-te-bi-wa-kuang-zhong-de-nan-du-diao-zheng-shi-shen-mo-wei-shen-mo-xu-yao-ta.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
