# Difficulty Adjustment Mechanism

<figure><img src="/files/JUqkqvG95U20pinsRAH3" alt=""><figcaption></figcaption></figure>

To ensure fairness and consistency in the mining process, the **Difficulty Adjustment Algorithm** plays a pivotal role. This algorithm adjusts the difficulty of the hash puzzle every **block**, based on the total computational power of the network. The primary objectives of this adjustment are twofold:

1. **Resource Contribution and Security**: As more nodes join the network, the difficulty of the puzzle increases, requiring greater computational resources. This ensures that only those nodes that invest significant resources remain competitive, thereby enhancing the overall security of the network.
2. **Predictable Block Times**: The algorithm is designed to maintain an average block production time of **ten minutes**. This predictability is crucial for the stability and reliability of the ledger, allowing users to anticipate when transactions will be confirmed.


---

# 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://hub.bsvblockchain.org/higher-learning/bsv-academy/bsv-basics-protocol-and-design/coins-and-transactions-bitcoin-protocol-and-design/difficulty-adjustment-mechanism.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.
