Bitcoin Forum
May 21, 2024, 12:57:11 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Block in future timestamp ?  (Read 1211 times)
btc_enigma (OP)
Hero Member
*****
Offline Offline

Activity: 688
Merit: 567


View Profile
August 28, 2015, 12:31:14 PM
 #1

Today I found a block having timestamp which is > current time . Found this on my bitcoin node

Just to be sure I googled this on blockchain.info and found similar result:



Blockr had similar timestamp in the future ... but tradeblock was showing a past timestamp as expected

Wondering if somone could throw some light on this, is this expected ?

monsterer
Legendary
*
Offline Offline

Activity: 1008
Merit: 1002


View Profile
August 28, 2015, 12:34:06 PM
 #2

Timestamps are unreliable in a peer to peer environment. The only true 'time stamping' is POW.
btc_enigma (OP)
Hero Member
*****
Offline Offline

Activity: 688
Merit: 567


View Profile
August 28, 2015, 01:13:59 PM
 #3

Timestamps are unreliable in a peer to peer environment. The only true 'time stamping' is POW.

So nodes will accept blocks with timestamp > current time ?

monsterer
Legendary
*
Offline Offline

Activity: 1008
Merit: 1002


View Profile
August 28, 2015, 01:48:37 PM
 #4

Timestamps are unreliable in a peer to peer environment. The only true 'time stamping' is POW.

So nodes will accept blocks with timestamp > current time ?

There is a wide bounds for acceptability, I can't remember the exact bounding they use.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3402
Merit: 6641


Just writing some code


View Profile WWW
August 28, 2015, 02:39:18 PM
 #5

Timestamps are unreliable in a peer to peer environment. The only true 'time stamping' is POW.

So nodes will accept blocks with timestamp > current time ?

There is a wide bounds for acceptability, I can't remember the exact bounding they use.
I think the bounds are 120 minutes either way of the node's time.

btc_enigma (OP)
Hero Member
*****
Offline Offline

Activity: 688
Merit: 567


View Profile
August 29, 2015, 06:06:46 AM
 #6

Timestamps are unreliable in a peer to peer environment. The only true 'time stamping' is POW.

So nodes will accept blocks with timestamp > current time ?

There is a wide bounds for acceptability, I can't remember the exact bounding they use.
I think the bounds are 120 minutes either way of the node's time.

What is rational behind this design, I understand 1 min or so , for time lags on node . If block timestamp is so unreliable, what is the point of having it in the block header. This could lead to cases where timestamp of block n < timestamp of block n-1

amaclin
Legendary
*
Offline Offline

Activity: 1260
Merit: 1019


View Profile
August 30, 2015, 07:50:57 AM
 #7

bc.i has a bug

this site always shows the same timestamp for Block Timestamp and Received Time
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
August 30, 2015, 08:01:25 AM
 #8

What is rational behind this design,

The only thing the timestamp is intended to be used for is calculating the new proof-of-work difficulty every 2016 blocks.  A variation in timestamps of 120 minutes or so isn't a problem for that use case, and it means that the decentralized peer-to-peer system doesn't need a centralized source of time that everyone can agree on.

This could lead to cases where timestamp of block n < timestamp of block n-1

Yes.  It happens all the time.
btc_enigma (OP)
Hero Member
*****
Offline Offline

Activity: 688
Merit: 567


View Profile
August 30, 2015, 10:57:23 AM
 #9

Quote
The only thing the timestamp is intended to be used for is calculating the new proof-of-work difficulty every 2016 blocks.  A variation in timestamps of 120 minutes or so isn't a problem for that use case, and it means that the decentralized peer-to-peer system doesn't need a centralized source of time that everyone can agree on.

Thanks. Make sense !

spin
Sr. Member
****
Offline Offline

Activity: 362
Merit: 261


View Profile
September 03, 2015, 10:03:29 AM
 #10

Yes.  It happens all the time.

Pardon the pun?

If you liked this post buy me a beer.  Beers are quite cheap where I live!
bc1q707guwp9pc73r08jw23lvecpywtazjjk399daa
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!