Bitcoin Forum
April 28, 2017, 06:22:55 PM *
News: Latest stable version of Bitcoin Core: 0.14.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: replacing wallet.dat shows no transactions  (Read 1997 times)
vuce
Sr. Member
****
Offline Offline

Activity: 476


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...)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Maged
Legendary
*
Offline Offline

Activity: 1260


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
Sr. Member
****
Offline Offline

Activity: 476


View Profile
June 06, 2011, 10:33:42 PM
 #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



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

I will be the first person to goto jail for BitCoin prostitution... give me some BitChange if u lol'd Tongue 1DkABmGmWeaF5DJTw2BCqzo6Cx3u2fyNz
vuce
Sr. Member
****
Offline Offline

Activity: 476


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
Sr. Member
****
Offline Offline

Activity: 476


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:  

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!