Bitcoin Forum
May 05, 2024, 11:39:05 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Restoring Wallet  (Read 2598 times)
bethel (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
December 20, 2010, 09:37:09 PM
 #1

OK. I have backed up and restored wallets before but now it is not working.
1) Sent some coins to a clean install of a bitcoin client running version 0.3.19.
2) Got one confirmation and closed client down.
3) Copied the wallet.dat file to secure location and deleted it.
4) To test a recovery I started the client up with no wallet so it could create new wallet
5) Waited for at least one connection
6) Closed client and copied backed up wallet over the new empty wallet to test restoring from backup
7) Status says 0/unconfirmed long after getting 8 connections.

Do I need to re-download the block chain?
I remember doing this kind of backup a few months ago with no problem under version 0.3.8.

Any info would be appreciated.


1714952345
Hero Member
*
Offline Offline

Posts: 1714952345

View Profile Personal Message (Offline)

Ignore
1714952345
Reply with quote  #2

1714952345
Report to moderator
1714952345
Hero Member
*
Offline Offline

Posts: 1714952345

View Profile Personal Message (Offline)

Ignore
1714952345
Reply with quote  #2

1714952345
Report to moderator
1714952345
Hero Member
*
Offline Offline

Posts: 1714952345

View Profile Personal Message (Offline)

Ignore
1714952345
Reply with quote  #2

1714952345
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714952345
Hero Member
*
Offline Offline

Posts: 1714952345

View Profile Personal Message (Offline)

Ignore
1714952345
Reply with quote  #2

1714952345
Report to moderator
davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
December 20, 2010, 10:00:47 PM
 #2

I'm pretty sure that once the block chain is up to date you'll see your transactions.

Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
December 20, 2010, 10:39:57 PM
Last edit: December 20, 2010, 11:46:16 PM by sgornick
 #3

Can you see the transaction using BlockExplorer.com ?

[Edit: of course you can, otherwise #2 would never have occurred, sorry.]

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


bober182
Full Member
***
Offline Offline

Activity: 308
Merit: 100


View Profile
December 20, 2010, 10:41:46 PM
 #4

I think you want more confirmations for that you need blocks to be generated after the last transaction let it sit overnight then post back your results.

Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
December 21, 2010, 12:11:18 AM
 #5

In testing something else out, I am getting the same symptoms.  I filed Issue #22:
  https://github.com/gavinandresen/bitcoin-git/issues/issue/22


Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


bober182
Full Member
***
Offline Offline

Activity: 308
Merit: 100


View Profile
December 21, 2010, 01:14:16 AM
 #6

The payment maybe did not make it into a block before being backed up. When you restored your old copy Bitcoin assumes its already pushed out to the network and stops sending it out therfore your payment is never made?
This is a conclusion that I'm thinking of and it seems it causes bitcoins to be stuck in limbo.

davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
December 21, 2010, 09:37:49 AM
 #7

Nothing is stuck in limbo, it's either spent, or not spent.

bober182
Full Member
***
Offline Offline

Activity: 308
Merit: 100


View Profile
December 21, 2010, 09:41:29 AM
 #8

they are not spent but bitcoin claims they are thus it wont let you spend them again so they are in limbo

jib
Member
**
Offline Offline

Activity: 92
Merit: 10


View Profile
December 21, 2010, 09:58:18 AM
 #9

I haven't tested this myself, but Bitcoin should resend the transaction if it's not on the network and didn't make it into a block.
mati
Newbie
*
Offline Offline

Activity: 48
Merit: 0


View Profile
December 21, 2010, 10:02:23 AM
 #10

Delet everything from wallet.dat directory, copy you wallet back and start client.

OK. I have backed up and restored wallets before but now it is not working.
1) Sent some coins to a clean install of a bitcoin client running version 0.3.19.
2) Got one confirmation and closed client down.
3) Copied the wallet.dat file to secure location and deleted it.
4) To test a recovery I started the client up with no wallet so it could create new wallet
5) Waited for at least one connection
6) Closed client and copied backed up wallet over the new empty wallet to test restoring from backup
7) Status says 0/unconfirmed long after getting 8 connections.

Do I need to re-download the block chain?
I remember doing this kind of backup a few months ago with no problem under version 0.3.8.

Any info would be appreciated.



davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
December 21, 2010, 10:08:41 AM
 #11

they are not spent but bitcoin claims they are thus it wont let you spend them again so they are in limbo
If bitcoin claims they are spent, then one must simply hold the key to the address they were spent to.
If the key is lost, yes they are in limbo, but spent limbo Smiley

bethel (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
December 21, 2010, 06:42:23 PM
 #12

In testing something else out, I am getting the same symptoms.  I filed Issue #22:
  https://github.com/gavinandresen/bitcoin-git/issues/issue/22


Update:
I was able to download the block chain and the transaction showed up with over 400 confirmations.

Thinking about this problem, it would be nice if there was an option to recheck the blocks that have been downloaded after a wallet restore instead of using up so much network bandwidth.

Better yet, a fully automated wallet backup and encryption / password protection would be nice for the average user.

I got a little nervous when I thought my whole savings account may be lost.
Binford 6100
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500


PGP OTC WOT: EB7FCE3D


View Profile
February 05, 2011, 06:53:54 PM
 #13

Thinking about this problem, it would be nice if there was an option to recheck the blocks that have been downloaded after a wallet restore instead of using up so much network bandwidth.

the feature to recheck the block chain and update wallet is added in version 0.3.20
exactly for the reason not to have to download the whole block chain again

You can't build a reputation on what you are going to do.
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!