Bitcoin Forum
September 27, 2018, 11:15:50 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Block in future timestamp ?  (Read 1111 times)
btc_enigma
Hero Member
*****
Offline Offline

Activity: 630
Merit: 501


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 ?

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1538090150
Hero Member
*
Offline Offline

Posts: 1538090150

View Profile Personal Message (Offline)

Ignore
1538090150
Reply with quote  #2

1538090150
Report to moderator
1538090150
Hero Member
*
Offline Offline

Posts: 1538090150

View Profile Personal Message (Offline)

Ignore
1538090150
Reply with quote  #2

1538090150
Report to moderator
monsterer
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


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
Hero Member
*****
Offline Offline

Activity: 630
Merit: 501


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: 1000


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: 1540
Merit: 1659


3F1Y9yquzvY6RWvKbw2n2zeo9V5mvBhADU


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
Hero Member
*****
Offline Offline

Activity: 630
Merit: 501


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: 1000


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: 2198
Merit: 1373



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
Hero Member
*****
Offline Offline

Activity: 630
Merit: 501


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: 360
Merit: 250


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!
194YjsiwmGm3hcbPcJWWyzRAS9CQLX1fJL
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!