<p>When mining...;</p>
<p>a) Is the block header hash of the <strong>candidate</strong> block used</p>
<p>b) OR the block header hash of the <strong>previous</strong> block + noonce used?</p>
<p>If it is a), which I presume, is it then correct that the procedure is;</p>
<ul>
<li>Write incremented noonce into the candidate block header</li>
<li>Calculate the hash, which thus changed bc of the updated noonce, of the candidate block header and check against the target.</li>
</ul>
<p>I looked but did not find any other question that covers exactly this.</p>

CC BY-SA 4.0
2022-03-20T13:02:51.697Z
Does this answer your question? [What exactly is Mining?](https://bitcoin.stackexchange.com/questions/148/what-exactly-is-mining)  -- I've read answers there from which I believe a reader could see that your presumption is correct.
RedGrittyBrick
CC BY-SA 4.0
2022-03-20T15:37:18.797Z
Much appreciated, RedGrittyBrick! I'll post a follow-up question I have over there instead.
BOH
<hash><proof-of-work><block-header>
Mining against candidate block hash or previous block hash?
BOH
# Mining against candidate block hash or previous block hash?

(Asked by: username_0 on 2022-03-20)

When mining...;

a) Is the block header hash of the **candidate** block used

b) OR the block header hash of the **previous** block + noonce used?

If it is a), which I presume, is it then correct that the procedure is;

* Write incremented noonce into the candidate block header
* Calculate the hash, which thus changed bc of the updated noonce, of the candidate block header and check against the target.

I looked but did not find any other question that covers exactly this.

**Tags:** hash, proof-of-work, block-header

> **Comments:**
> **username_1**: Does this answer your question? [What exactly is Mining?](https://bitcoin.stackexchange.com/questions/148/what-exactly-is-mining)  -- I've read answers there from which I believe a reader could see that your presumption is correct.  
> **username_0**: Much appreciated, username_1! I'll post a follow-up question I have over there instead.  

---

## 0 answers

