Timeline for Reason behind hashing the nonce in prevBlockHash?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 27, 2016 at 18:27 | comment | added | Kostas |
I think what's missing is that I'm referring to the prevBlockHash hash, whereas you refer to the proof-of-work hash calculation. All I ask is if things would break (or if you would lose a significant security property) if you were to write a calcPrevHash function that ignores the nonce field. I did yet another rewrite of the question to make this clearer.
|
|
Jul 27, 2016 at 15:54 | comment | added | Murch♦ | I've just read your question again, and I don't understand what you're trying to ask. If the nonce were not part of what was hashed it would a) not contribute to the blockhash, b) could be arbitrary, and c) would serve no purpose. If it's not in the hashed part of the block, why would you add it in the first place. I've already covered what it's function is in my answer, though. So, I'm really confused now. | |
Jul 27, 2016 at 14:48 | comment | added | Kostas |
This doesn't answer my question, but it's not your fault :) I rewrote the question to make my point clearer. I understand the use of the nonce. I question why it needs to be considered when calculating the prevBlockHash (in the next block).
|
|
Jul 27, 2016 at 6:07 | history | edited | Murch♦ | CC BY-SA 3.0 |
added 227 characters in body
|
Jul 27, 2016 at 5:59 | history | answered | Murch♦ | CC BY-SA 3.0 |