<p>The process of mining consists on constantly hashing the block header in order to obtain a hash lower than a specific target. The block header contains (from the <a href="https://en.bitcoin.it/wiki/Block_hashing_algorithm" rel="nofollow">bitcoin wiki</a>):</p>

<ul>
<li>Version</li>
<li>hashPrevBlock</li>
<li>hashMerkleRoot</li>
<li>Time</li>
<li>Bits</li>
<li><strong>Nonce</strong> </li>
</ul>

<p>So when the obtained hash does not meet the required conditions, the nonce value is increased by one, so that the hash of the block header changes. The miner keeps changing the nonce, trying to find a value that makes the hash of the header lower than the current target.</p>

CC BY-SA 3.0
2013-12-27T21:51:30.690Z
2013-12-27T21:51:30.690Z
cpsola
<p>For example, in the Genesis block in Bitcoin, from which values was the solution hash "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f" derived from? I understand that the nonce is applied to something to get the solution, but I can't seem to find what those values are.</p>

<block><hash><sha256>
How is the solution hash in a block generated?
liams1
# How is the solution hash in a block generated?

(Asked by: username_0 on 2013-12-27)

For example, in the Genesis block in Bitcoin, from which values was the solution hash "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f" derived from? I understand that the nonce is applied to something to get the solution, but I can't seem to find what those values are.

**Tags:** block, hash, sha256


---

## 1 answers

### Answer by username_1 on 2013-12-27. Score: 2

The process of mining consists on constantly hashing the block header in order to obtain a hash lower than a specific target. The block header contains (from the [bitcoin wiki](https://en.bitcoin.it/wiki/Block_hashing_algorithm)):

* Version
* hashPrevBlock
* hashMerkleRoot
* Time
* Bits
* **Nonce**

So when the obtained hash does not meet the required conditions, the nonce value is increased by one, so that the hash of the block header changes. The miner keeps changing the nonce, trying to find a value that makes the hash of the header lower than the current target.


---

