Post
Topic
Board Bitcoin Discussion
Re: When exactly is the time in a block updated?
by
fevir
on 30/04/2017, 18:47:28 UTC
After they mine a block, they add the TimeStamp to the header and finish up.

That would change the hash of the block header, and most likely will render the new hash invalid. From what I understand, the timestamp is included in the block header before a hash is calculated.

Back to the topic question, there seems to be no specific value for 'every few seconds'. I'm wondering if the Wiki is correct, since a miner can simply add the current timestamp, start mining, and (when a hash is found within 10 minutes) publish the block. Agree on using the timestamp as an additional source in combination with the nonce.