Author

Topic: Timestamps going backwards - why ? (Read 1099 times)

full member
Activity: 195
Merit: 100
June 27, 2011, 03:44:07 AM
#4
Thanx a lot - this was very helpful.

The bitcoin client is actually constructed in a very smart manner.  Smiley
legendary
Activity: 1708
Merit: 1010
June 26, 2011, 07:23:58 PM
#3

Where is my mistake?


There is no mistake, the timestamp is provided by the machine that submits the block.  The client permits a great deal of variation for the timestamp before it rejects it, because the only reason that it's in there at all is to determine the retarget value once every 2016 blocks, and it only needs to be so accurate.  It wouldn't be necessary to reject incorrect timestamps at all, if not for the possibility of manipulation of the retarget.
kjj
legendary
Activity: 1302
Merit: 1026
June 26, 2011, 07:20:38 PM
#2
The network doesn't require that a block be newer than the previous block, just that it be newer than the median time of the last several blocks.
full member
Activity: 195
Merit: 100
June 26, 2011, 07:13:45 PM
#1
Once in a while timestamps are moving backwards. Shocked

Block 32649 is from 09:49:06 and the next block 32650 is from the same day 2 hours earlier, 7:50:31.  Shocked

This is not the only example, there are quite many - and it is also not just 3 or 6 minutes but hours.

I am trying to understand that phenomenon - but I don't. even if there is a chain reorganization, the chains mut be built in sequence - and the code shoulod check linearity in time.

Where is my mistake?
Jump to: