Bitcoin Forum
May 26, 2024, 06:30:31 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can Bitcoin be affected by an extra second?  (Read 1521 times)
nachoig (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
February 16, 2015, 03:28:22 AM
 #1

Explaining: because of the Earth's rotation speed, 2015 will have an extra second. According to this article, this extra second can lead to some instabilities over the internet. So, for example, can this affect the interval between Bitcoin blocks?

http://www.theverge.com/2015/1/7/7508651/leap-second-2015-earths-rotation-slowing
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
February 16, 2015, 03:30:39 AM
 #2

No.  Bitcoin already has a very loose time synchronization.  Timestamps can be off as much as two hours and still be considered valid.  An extra second isn't even detectable.
Foxpup
Legendary
*
Offline Offline

Activity: 4368
Merit: 3060


Vile Vixen and Miss Bitcointalk 2021-2023


View Profile
February 16, 2015, 04:25:13 AM
 #3

To elaborate, systems that assume Unix timestamps are always sequential will be mistaken about the ordering of events that take place during a leap second and the following second, since the two seconds are indistinguishable from the timestamps. For example, an event which occurs at 11:59:60.8 PM will have a later timestamp than an event that takes places half a second later at 12:00:00.3 AM, since 11:59:60 PM and 12:00:00 AM are the same in Unix time. (And some systems, when dealing with human-readable time formats, will give an error on seeing the 60.8 seconds, since such a timestamp is "obviously" invalid.)

Bitcoin has none of these problems. It does not use timestamps to determine the ordering of events, with out-of-order timestamps being perfectly valid, and a single second will not make any appreciable difference to the block interval.

Will pretend to do unspeakable things (while actually eating a taco) for bitcoins: 1K6d1EviQKX3SVKjPYmJGyWBb1avbmCFM4
I am not on the scammers' paradise known as Telegram! Do not believe anyone claiming to be me off-forum without a signed message from the above address! Accept no excuses and make no exceptions!
Beymond
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250



View Profile
February 16, 2015, 05:07:30 AM
 #4

First i was like why is there even a question like this
After reading this
Exactly  Cheesy
To elaborate, systems that assume Unix timestamps are always sequential will be mistaken about the ordering of events that take place during a leap second and the following second, since the two seconds are indistinguishable from the timestamps. For example, an event which occurs at 11:59:60.8 PM will have a later timestamp than an event that takes places half a second later at 12:00:00.3 AM, since 11:59:60 PM and 12:00:00 AM are the same in Unix time. (And some systems, when dealing with human-readable time formats, will give an error on seeing the 60.8 seconds, since such a timestamp is "obviously" invalid.)

Bitcoin has none of these problems. It does not use timestamps to determine the ordering of events, with out-of-order timestamps being perfectly valid, and a single second will not make any appreciable difference to the block interval.
samson
Legendary
*
Offline Offline

Activity: 2097
Merit: 1070


View Profile
February 16, 2015, 12:27:00 PM
 #5

There's a whole mailing list dedicated to leap seconds and how they should be handled / standardised.
nachoig (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
February 16, 2015, 08:57:33 PM
 #6

Thanks for the explanation people.  Smiley
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!