Bitcoin Forum
May 24, 2024, 04:15:18 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What's the date information in the official client based upon?  (Read 619 times)
Bitsky (OP)
Hero Member
*****
Offline Offline

Activity: 576
Merit: 514


View Profile
August 03, 2012, 03:30:13 PM
 #1

I've been playing around with a new PC and already let it download a part of the blockchain (still 130 days or so left).
Since I didn't have access to my wallet when I started, I replaced it later and started Bitcoin with the rescan option.
Now the transactions have the date 27.06.2012, which is not even remotely correct (some of them are at least a year older).
Obviously, that's also not today's date, so which date is it?
There has always been a bit of a mismatch between what eg blockchain.info displays, but this difference makes the whole column pretty much useless.


Bounty: Earn up to 68.7 BTC
Like my post? Feel free to drop a tip to 1BitskyZbfR4irjyXDaGAM2wYKQknwX36Y
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
August 03, 2012, 03:39:46 PM
 #2

The last time I deleted all transactions from my wallet and did a rescan they all got the date/time of when the rescan found the transactions on the blockchain.
So, if you were downloading the blockchain, the date/time is the date/time at which the transactions were found by the client.
Bitsky (OP)
Hero Member
*****
Offline Offline

Activity: 576
Merit: 514


View Profile
August 03, 2012, 03:51:41 PM
 #3

The last time I deleted all transactions from my wallet and did a rescan they all got the date/time of when the rescan found the transactions on the blockchain.
So, if you were downloading the blockchain, the date/time is the date/time at which the transactions were found by the client.
Well, then the date should be 03.08.2011, not 26.06.2011, right?
Even the transactions the client is confirming right now during the rest of the download have that date.

Bounty: Earn up to 68.7 BTC
Like my post? Feel free to drop a tip to 1BitskyZbfR4irjyXDaGAM2wYKQknwX36Y
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
August 03, 2012, 04:07:32 PM
 #4

Never seen that behaviour before.
But I notice that every time I get a transaction when the client is not running it always gets timestamped with the date/time of when the client knew about it when I start it and the transaction arrives, which is consistent with the rescan timestamping when the wallet has all transactions cleared.

Maybe it's the date the transactions have on the wallet.dat that is giving those discrepancies, as you still have them on the wallet.dat, even if you delete the blockchain.

Maybe one of the devs will chime in and give you a logic explanation for that behaviour.
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!