Pages:
Author

Topic: Disappearing Bitcoins[Solved by updating the client] (Read 2448 times)

hero member
Activity: 798
Merit: 1000
Good to hear Smiley

As for my issue, nothing I did got that 1BTC to confirm.  I rescanned the wallet several times, and I redownloaded the blockchain again (takes about 30 hours, horrible).   It just wouldn't confirm.

I ended up restoring my backup of the wallet and that txn has now gone (as expected, as it wasn't registered anywhere).   Whatever, I'll chalk that one up to randomness, and I'll remember not to issue a transaction midway through the blockchain download in future.
hero member
Activity: 533
Merit: 500
^Bitcoin Library of Congress.
Updated to version 0.3.21-beta and all my coins reappeared!!! Hurray!!! Smiley Cheesy Grin Thanks everyone!!!
legendary
Activity: 1652
Merit: 2311
Chief Scientist
The version is 0.3.15.4 beta

0.3.15 is pretty old, and the way you're spending from a copy of the wallet is, I suspect, confusing it.  Pieter updated the wallet code to handle transactions with partially spent outputs a while back.

Try upgrading to version 0.4.1 or 0.5 and running -rescan and see if your missing bitcoins reappear.
hero member
Activity: 533
Merit: 500
^Bitcoin Library of Congress.
have you made more than 100 sends since last backup?  
No.

I copied the encrypted wallet.  Put the original back in the safe.  Unencrypted the copy.  Put the wallet copy in an empty client.  Sent some coins.  Deleted the copy.

try running with -rescan parameter one time using your main (original) wallet, the transactions are saved in the wallet file so if the original didn't see one of them but has the priv key from reserve then it should appear and balance updated correctly
The original wallet is gone, and I tried rescanning the unencrypted wallet multiple times.

I'm missing something here.  Doesn't the wallet key pool prevent this from happening unless you have over 100 transactions since you last backup??
Yes, if the pool isn't empty. But if you've never sent any bitcoins, the pool will be empty. (The client creates 100 *extra* keys when it creates a key for a transaction.) Because these rules are complicated to understand and easy to get wrong, I make my advice clear and simple -- unless you understand the rules exactly, always backup your wallet after sending.
I've sent coins before.

I copied the encrypted wallet.  Put the original back in the safe.  Unencrypted the copy.  Put the wallet copy in an empty client.  Sent some coins.  Deleted the copy.

Are you able to find the transaction for the coins you sent in block explorer? (I don't need to see it, but if you can find it we can check to see if you have the keys for the account used to collect the change from that transaction).

Also, as others asked— how many times did you send+ hit getnewaddress since you made the encrypted copy?  A few or potentially as many as 100?


I found it. How do I check if I have the keys?
staff
Activity: 4284
Merit: 8808
I copied the encrypted wallet.  Put the original back in the safe.  Unencrypted the copy.  Put the wallet copy in an empty client.  Sent some coins.  Deleted the copy.

Are you able to find the transaction for the coins you sent in block explorer? (I don't need to see it, but if you can find it we can check to see if you have the keys for the account used to collect the change from that transaction).

Also, as others asked— how many times did you send+ hit getnewaddress since you made the encrypted copy?  A few or potentially as many as 100?
staff
Activity: 4284
Merit: 8808
I'm missing something here.  Doesn't the wallet key pool prevent this from happening unless you have over 100 transactions since you last backup??
Yes, if the pool isn't empty. But if you've never sent any bitcoins, the pool will be empty.

That was never true, at least not since there was a pool—prior to 0.3.23 the pool remained empty until you hit the getaddress button for the first time. Since then, however bitcoin fills the pool instantly on startup even if you've never gotten an address out of it.
legendary
Activity: 1596
Merit: 1012
Democracy is vulnerable to a 51% attack.
I'm missing something here.  Doesn't the wallet key pool prevent this from happening unless you have over 100 transactions since you last backup??
Yes, if the pool isn't empty. But if you've never sent any bitcoins, the pool will be empty. (The client creates 100 *extra* keys when it creates a key for a transaction.) Because these rules are complicated to understand and easy to get wrong, I make my advice clear and simple -- unless you understand the rules exactly, always backup your wallet after sending.

Quote
Could you please give me your definition of a deterministic wallet?
A deterministic wallet is a wallet that generates new keys in a way that is repeatable, rather than creating random new keys. With a deterministic wallet, there is no need to back it up after sending because the new keys it would generate can always be regenerated based solely on the previous wallet.
hero member
Activity: 798
Merit: 1000
Thanks guys, I'll try that when I get home.   
hero member
Activity: 728
Merit: 500
165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
If you have Bitcoin on your desktop, do "cd Desktop", then "cd whatever your bitcoin dir is", then "./bitcoin -rescan".
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
Sorry to hijack, but I'm actually having a bit of an issue getting a transaction to go through.  It's only 1BTC so not a huge deal right now, but I'll be annoyed in the future if 1BTC is suddenly worth $500 or something daft Cheesy

Anyway, I have a secure version of Ubuntu that I use just for my wallet (I'm a Windows guy generally, and Linux confuses me for the most part, but I can just about find my way around Ubuntu).   So the blockchain was halfway through downloading the other day, when I decided to send 1BTC to an address.    Once the blockchain finished (took forever by the way, we really need a way around that) the transaction is unconfirmed.     On Windows it's easy enough to use the rescan option, but I couldn't figure out how to do it in Ubuntu Sad

I deleted everything aside from the wallet, and it's in the slloooooow process of downloading the blockchain again.  I'm not confident it'll confirm this time though either.

Is anyone able to tell me how I add the rescan flag to Bitcoin 0.5 in Ubuntu?   I'm not even sure how to navigate to wherever the bitcoin "executable" is located in the terminal to be honest Smiley

sorry to answer the hijack Smiley if you know how to open a terminal you're already halfway there, so open one up and type "bitcoin -rescan", minimize the terminal and the client should start after taking a bit more time than usual.
When it starts you should see "lost" transactions and balance updated correctly. Close it gracefully from the menu and when you see the prompt again in the terminal window you know bitcoin has closed completely.
Now start it from your usual icon and enjoy having resolved the problems.

Thanks Para.  So there's no need to navigate to the bitcoin directory?  Is Linux smart enough to just understand the Bitcoin entry no matter where I type it in a terminal?

actually yes, but only if you installed bitcoin from an ubuntu ppa (repository) through a packet manager (apt-get for ex.). If you compiled bitcoin for yourself or downloaded an already made binary you will have to navigate to that dir before launching. To fix that just copy the binary file to "/usr/bin" and you should be able to launch it anywhere.
hero member
Activity: 798
Merit: 1000
Sorry to hijack, but I'm actually having a bit of an issue getting a transaction to go through.  It's only 1BTC so not a huge deal right now, but I'll be annoyed in the future if 1BTC is suddenly worth $500 or something daft Cheesy

Anyway, I have a secure version of Ubuntu that I use just for my wallet (I'm a Windows guy generally, and Linux confuses me for the most part, but I can just about find my way around Ubuntu).   So the blockchain was halfway through downloading the other day, when I decided to send 1BTC to an address.    Once the blockchain finished (took forever by the way, we really need a way around that) the transaction is unconfirmed.     On Windows it's easy enough to use the rescan option, but I couldn't figure out how to do it in Ubuntu Sad

I deleted everything aside from the wallet, and it's in the slloooooow process of downloading the blockchain again.  I'm not confident it'll confirm this time though either.

Is anyone able to tell me how I add the rescan flag to Bitcoin 0.5 in Ubuntu?   I'm not even sure how to navigate to wherever the bitcoin "executable" is located in the terminal to be honest Smiley

sorry to answer the hijack Smiley if you know how to open a terminal you're already halfway there, so open one up and type "bitcoin -rescan", minimize the terminal and the client should start after taking a bit more time than usual.
When it starts you should see "lost" transactions and balance updated correctly. Close it gracefully from the menu and when you see the prompt again in the terminal window you know bitcoin has closed completely.
Now start it from your usual icon and enjoy having resolved the problems.

Thanks Para.  So there's no need to navigate to the bitcoin directory?  Is Linux smart enough to just understand the Bitcoin entry no matter where I type it in a terminal?
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
Sorry to hijack, but I'm actually having a bit of an issue getting a transaction to go through.  It's only 1BTC so not a huge deal right now, but I'll be annoyed in the future if 1BTC is suddenly worth $500 or something daft Cheesy

Anyway, I have a secure version of Ubuntu that I use just for my wallet (I'm a Windows guy generally, and Linux confuses me for the most part, but I can just about find my way around Ubuntu).   So the blockchain was halfway through downloading the other day, when I decided to send 1BTC to an address.    Once the blockchain finished (took forever by the way, we really need a way around that) the transaction is unconfirmed.     On Windows it's easy enough to use the rescan option, but I couldn't figure out how to do it in Ubuntu Sad

I deleted everything aside from the wallet, and it's in the slloooooow process of downloading the blockchain again.  I'm not confident it'll confirm this time though either.

Is anyone able to tell me how I add the rescan flag to Bitcoin 0.5 in Ubuntu?   I'm not even sure how to navigate to wherever the bitcoin "executable" is located in the terminal to be honest Smiley

sorry to answer the hijack Smiley if you know how to open a terminal you're already halfway there, so open one up and type "bitcoin -rescan", minimize the terminal and the client should start after taking a bit more time than usual.
When it starts you should see "lost" transactions and balance updated correctly. Close it gracefully from the menu and when you see the prompt again in the terminal window you know bitcoin has closed completely.
Now start it from your usual icon and enjoy having resolved the problems.
hero member
Activity: 798
Merit: 1000
Sorry to hijack, but I'm actually having a bit of an issue getting a transaction to go through.  It's only 1BTC so not a huge deal right now, but I'll be annoyed in the future if 1BTC is suddenly worth $500 or something daft Cheesy

Anyway, I have a secure version of Ubuntu that I use just for my wallet (I'm a Windows guy generally, and Linux confuses me for the most part, but I can just about find my way around Ubuntu).   So the blockchain was halfway through downloading the other day, when I decided to send 1BTC to an address.    Once the blockchain finished (took forever by the way, we really need a way around that) the transaction is unconfirmed.     On Windows it's easy enough to use the rescan option, but I couldn't figure out how to do it in Ubuntu Sad

I deleted everything aside from the wallet, and it's in the slloooooow process of downloading the blockchain again.  I'm not confident it'll confirm this time though either.

Is anyone able to tell me how I add the rescan flag to Bitcoin 0.5 in Ubuntu?   I'm not even sure how to navigate to wherever the bitcoin "executable" is located in the terminal to be honest Smiley
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
I copied the encrypted wallet.  Put the original back in the safe.  Unencrypted the copy.  Put the wallet copy in an empty client.  Sent some coins.  Deleted the copy.

try running with -rescan parameter one time using your main (original) wallet, the transactions are saved in the wallet file so if the original didn't see one of them but has the priv key from reserve then it should appear and balance updated correctly
legendary
Activity: 1246
Merit: 1016
Strength in numbers
You created a new address every time you sent coins and automatically sent the change back to yourself. The first 100 times you did this by sending to an address that was in your backup, but eventually those run out.
legendary
Activity: 1246
Merit: 1016
Strength in numbers
have you made more than 100 sends since last backup? 
newbie
Activity: 30
Merit: 0
I didn't create any new addresses.

Personally I think that nothing should be missing - neither transactions nor btc. Even if you did not make that frequent backups.

Please create a new address to see if the missing transactions reappear
hero member
Activity: 533
Merit: 500
^Bitcoin Library of Congress.
I copied the encrypted wallet.  Put the encrypted wallet back in the safe.  Unencrypted the copy.  Put the wallet copy in an empty client.  Sent some coins.  Wrote down how many coins were in my wallet. Deleted the copy.  A couple weeks later I got the encrypted wallet back out.  Copied the encrypted wallet again.  Put the encrypted wallet back in the safe.  Unencrypted the second copy.  Put the second wallet copy in an empty client with the rescan function.  Updated the block chain and noticed some coins were missing.

Edit: Realized I left some information out and that it could be misread.
staff
Activity: 4284
Merit: 8808
Here is the background/technical information:

Please provide clear step by step details of what you did.  It's completely unclear to me from what you've described why you believe that your backup practices had anything to do with this. Did you delete your wallet at any step or restore from backup at any step?
hero member
Activity: 533
Merit: 500
^Bitcoin Library of Congress.
Both Shocked
Pages:
Jump to: