Bitcoin Forum
May 25, 2024, 02:20:32 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: replacing wallet.dat shows no transactions  (Read 2242 times)
vuce (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
June 06, 2011, 09:44:57 PM
 #1

I've had this several times happen to me where I would restore an old wallet and there would be no transactions until I re-download the whole block chain from scratch (tried replacing it with recent blockchain nightly from http://bitcoin.bluematt.me/bitcoin-nightly/blockchain-nightly/ but it didn't work either). Why is this happening?

(hoping re-downloading will solve this issue since there is quite a sum on this current wallet I'm trying to restore...)
Maged
Legendary
*
Offline Offline

Activity: 1204
Merit: 1015


View Profile
June 06, 2011, 10:30:34 PM
 #2

I've had this several times happen to me where I would restore an old wallet and there would be no transactions until I re-download the whole block chain from scratch (tried replacing it with recent blockchain nightly from http://bitcoin.bluematt.me/bitcoin-nightly/blockchain-nightly/ but it didn't work either). Why is this happening?

(hoping re-downloading will solve this issue since there is quite a sum on this current wallet I'm trying to restore...)
First off, any wallet created and used with a client after version 0.3.21 won't have this issue. Otherwise, if you are using a client 0.3.20 or higher, just start it with the -rescan command line.

vuce (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
June 06, 2011, 10:33:42 PM
Last edit: June 06, 2011, 11:30:11 PM by vuce
 #3

I've had this several times happen to me where I would restore an old wallet and there would be no transactions until I re-download the whole block chain from scratch (tried replacing it with recent blockchain nightly from http://bitcoin.bluematt.me/bitcoin-nightly/blockchain-nightly/ but it didn't work either). Why is this happening?

(hoping re-downloading will solve this issue since there is quite a sum on this current wallet I'm trying to restore...)
First off, any wallet created and used with a client after version 0.3.21 won't have this issue. Otherwise, if you are using a client 0.3.20 or higher, just start it with the -rescan command line.
this is a wallet created with 0.3.21. I tried -rescan and it didn't help either. This is the third time it happened to me so I'm pretty sure this is some kind of a bug. It doesn't happen with all wallets though, some work perfectly fine. Wallet has been backed up before all those transactions were made to it, might be relevant?

edit: downloaded the blockchain nightly from 1 day before the first transaction to that wallet was made and let the client download the rest and now it's all there. So the question is: what does happen during blockchain download that doesn't with wallet rescan?

edit2: restored from backup again from block 126000 and now only transactions after that one show up.
BitConvict
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
June 07, 2011, 03:43:43 AM
 #4

You have to delete the "blkindex.dat" file whenever you change the wallet.dat so it can re-search for the block index.  Wink
vuce (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
June 07, 2011, 05:47:26 AM
 #5

You have to delete the "blkindex.dat" file whenever you change the wallet.dat so it can re-search for the block index.  Wink
yes I have, blkindex.dat and blk0001.dat (otherwise I wouldn't get the old blockchain, would I?).
vuce (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
June 07, 2011, 07:39:51 AM
 #6

And another bug http://i55.tinypic.com/n6dft2.png (check the balance  Roll Eyes)
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!