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.

  • 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? Commented Nov 26, 2017 at 6:02

1 Answer 1


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).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.