Bitcoin Forum
May 22, 2024, 03:56:46 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: The timestamp of the block 57060 is lower than the median of the prev 11 blocks  (Read 707 times)
nathan_24 (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 3


View Profile
February 15, 2016, 01:18:03 PM
Merited by ABCbits (1)
 #1

I was reading the developer reference and I found this:

Quote
The block time is a Unix epoch time when the miner started hashing the header (according to the miner). Must be greater than or equal to the median time of the previous 11 blocks. Full nodes will not accept blocks with headers more than two hours in the future according to their clock.

It's nice to have that rule in the protocol because otherwise miners could set any timestamp in the past. But I don't understand how is it possible that the block 57060 doesn't follow that rule. As you can see, it has a timestamp of more than one hour before the previous block. That shouldn't be a problem if the timestamp was still greater or equal the median of the previous eleven, but it turns out it is not.

The median of the blocks [57049-57059] is 1274556410.5454545, and thats +797 seconds ahead of the timestamp of the block 57060.

How is this possible?

Code:
Height  Timestamp
57049 1274553925
57050 1274554547
57051 1274554591
57052 1274554864
57053 1274555612
57054 1274555564
57055 1274556515
57056 1274557815
57057 1274558735
57058 1274558865
57059 1274559483
57060 1274555613
Foxpup
Legendary
*
Online Online

Activity: 4368
Merit: 3045


Vile Vixen and Miss Bitcointalk 2021-2023


View Profile
February 15, 2016, 01:29:44 PM
Merited by ABCbits (2)
 #2

1274556410.54 is the mean, not the median. The median is 1274555612, which is less than 1274555613.

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!
nathan_24 (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 3


View Profile
February 15, 2016, 01:47:21 PM
 #3

Thanks bud <3
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!