<p>The difficulty target in the block header has to match the currently required difficulty. This value is derived and checked by each node individually from the timestamps and difficulty statements of previous blocks. Then, the block hash of a new block has to adhere to this given difficulty target. If either of the two requirements is not met, other nodes will reject a block as invalid.</p>
<p>So, if a miner ignored either of the rules, they'd of course be able to do that, but then their blocks are simply not accepted by the Bitcoin network.</p>

CC BY-SA 4.0
2020-07-19T00:45:34.503Z
Thank you! I was thinking it should be checked by other nodes also
Danny I-Tan Lin
CC BY-SA 4.0
2020-07-19T00:49:33.067Z
Every node enforces all rules independently, otherwise they'd have to trust other nodes to provide correct information to them.
Murch
CC BY-SA 4.0
2020-07-19T00:37:35.340Z
2020-08-14T00:20:18.807Z
2020-08-14T00:20:18.807Z
Murch
<p>I am relatively new to understanding the fundamentals of the Bitcoin network, and I couldn't find the answer to my question.</p>
<p>I understand how mining difficulty/target is decided and calculated in the block header. (hashrate of previous 2015 blocks...)
Since the larger the target is, the easier it is to mine the new block,
what stops a miner from cheating by giving himself a large target, so that he can mine this new block very fast? Does every node check the target value when they are validating a new block?
Thank you</p>

<mining-theory><difficulty><block-validity>
What stops miners from manipulating "target" difficulty in the block header?
Danny I-Tan Lin
# What stops miners from manipulating "target" difficulty in the block header?

(Asked by: username_0 on 2020-07-19)

I am relatively new to understanding the fundamentals of the Bitcoin network, and I couldn't find the answer to my question.

I understand how mining difficulty/target is decided and calculated in the block header. (hashrate of previous 2015 blocks...)
Since the larger the target is, the easier it is to mine the new block,
what stops a miner from cheating by giving himself a large target, so that he can mine this new block very fast? Does every node check the target value when they are validating a new block?
Thank you

**Tags:** mining-theory, difficulty, block-validity


---

## 1 answers

### Answer by username_1 on 2020-07-19. Score: 5

The difficulty target in the block header has to match the currently required difficulty. This value is derived and checked by each node individually from the timestamps and difficulty statements of previous blocks. Then, the block hash of a new block has to adhere to this given difficulty target. If either of the two requirements is not met, other nodes will reject a block as invalid.

So, if a miner ignored either of the rules, they'd of course be able to do that, but then their blocks are simply not accepted by the Bitcoin network.

> **Comments:**
> **username_0**: Thank you! I was thinking it should be checked by other nodes also  
> **username_1**: Every node enforces all rules independently, otherwise they'd have to trust other nodes to provide correct information to them.  

---

