<p>There's no guarantee that you can solve a block just by adjusting the <code>nonce</code>.  But there are other things you can change in a block that also change the hash.</p>

<p><a href="https://bitcoin.stackexchange.com/q/1781/659">This question</a> is pretty much an exact duplicate of your question.</p>

CC BY-SA 3.0
2012-05-04T23:29:49.747Z
2012-05-04T23:29:49.747Z
2017-04-13T12:47:33.660Z
Chris Moore
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="https://bitcoin.stackexchange.com/questions/1781/nonce-size-will-it-always-be-big-enough">Nonce size - Will it always be big enough?</a>  </p>
</blockquote>



<p>My question may be misphrased, if so, I'll correct it if you let me know in the comments.</p>

<p>My understanding of mining is that the header is appended with some <code>nonce</code> and that is SHA256'd to get some hash, let's say: <code>7050a40746c695a220acb99c725ef66b29aa863707b17ba939c8bb1f5ec52b67</code></p>

<p>This happens until there are X number of consecutive 0's in that hash. Is there a guarantee that there will always be at least X 0's in a row for every block header?</p>

<hash><algorithms><sha256><nonce>
Is there a guaranteed hash for every block?
Shamoon
# Is there a guaranteed hash for every block?

(Asked by: username_0 on 2012-05-04)

> **Possible Duplicate:**  
> [Nonce size - Will it always be big enough?](https://bitcoin.stackexchange.com/questions/1781/nonce-size-will-it-always-be-big-enough)

My question may be misphrased, if so, I'll correct it if you let me know in the comments.

My understanding of mining is that the header is appended with some `nonce` and that is SHA256'd to get some hash, let's say: `7050a40746c695a220acb99c725ef66b29aa863707b17ba939c8bb1f5ec52b67`

This happens until there are X number of consecutive 0's in that hash. Is there a guarantee that there will always be at least X 0's in a row for every block header?

**Tags:** hash, algorithms, sha256, nonce


---

## 1 answers

### Answer by username_1 on 2012-05-04. Score: 5 | Accepted answer

There's no guarantee that you can solve a block just by adjusting the `nonce`. But there are other things you can change in a block that also change the hash.

[This question](https://bitcoin.stackexchange.com/q/1781/659) is pretty much an exact duplicate of your question.


---

