<p>Each node is searching for a different set of Nonces, actually.
This is because each node collects randomly a bunch of transactions that will form a block. So each block that the nodes are mining is different. On top of that, there are many Nonces that could make a correct form of hash.</p>

<p>The only thing here that matters is:</p>

<ul>
<li>all the data inside the block seem to be correct (correct inputs, with correct and confirmed transactions, with their correct associated hashes, etc.).</li>
<li>Nonce + Block gives you a hash smaller than a predetermined number (known by all the nodes).</li>
</ul>

CC BY-SA 3.0
2017-11-24T20:03:37.233Z
2017-11-24T23:13:31.113Z
2017-11-24T23:13:31.113Z
Matt
<p>As I understand finding the correct <code>Nonce</code> is the basis when hashing transactions for Proof of Work.</p>

<p>How and where is this decided in the ecosystem what the next <code>Nonce</code> is?</p>

<p>In my limited understanding this part needs to be centralized somehow, that every node is searching for the same, correct one. At the same time this might be an important security aspect.</p>

CC BY-SA 3.0
2017-11-26T06:02:35.077Z
If every node were searching for the same nonce, that would mean every node is trying to mine the same block. But that can't be. I'm trying to mine a block that pays *me* a reward. Why would anyone else be trying to do that?
David Schwartz
<security><hash><proof-of-work><nonce>
Who decides what the next, correct Nonce is?
david
# Who decides what the next, correct Nonce is?

(Asked by: username_0 on 2017-11-24)

As I understand finding the correct `Nonce` is the basis when hashing transactions for Proof of Work.

How and where is this decided in the ecosystem what the next `Nonce` is?

In my limited understanding this part needs to be centralized somehow, that every node is searching for the same, correct one. At the same time this might be an important security aspect.

**Tags:** security, hash, proof-of-work, nonce

> **Comments:**
> **username_1**: If every node were searching for the same nonce, that would mean every node is trying to mine the same block. But that can't be. I'm trying to mine a block that pays *me* a reward. Why would anyone else be trying to do that?  

---

## 1 answers

### Answer by username_2 on 2017-11-24. Score: 3

Each node is searching for a different set of Nonces, actually.
This is because each node collects randomly a bunch of transactions that will form a block. So each block that the nodes are mining is different. On top of that, there are many Nonces that could make a correct form of hash.

The only thing here that matters is:

* all the data inside the block seem to be correct (correct inputs, with correct and confirmed transactions, with their correct associated hashes, etc.).
* Nonce + Block gives you a hash smaller than a predetermined number (known by all the nodes).


---

