Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: donbenosee on March 26, 2013, 10:50:47 PM



Title: Lost
Post by: donbenosee on March 26, 2013, 10:50:47 PM
I seem to have lost some funds, and being green at the whole bitcoin thing, I'd really appreciate some help getting them back. I'm totally confused and a bit despondent.

On March 8th, I sent 13.612 BTC (which appeared in my  bitcoin-qt client v0.7.2 as confirmed) to a newly created wallet in Armory with the address 17hzeZ8gKwLAHASyh85S5FSNYAFsexPAyk. To date, the BTC are still unconfirmed and the Armory wallet shows a balance of 0.0

Here's the transaction info from the bitcoin-qt client

Status: 0/unconfirmed
Date: 8/03/2013 14:43
To: 17hzeZ8gKwLAHASyh85S5FSNYAFsexPAyk
Debit: -13.612 BTC
Net amount: -13.612 BTC
Transaction ID: 3ea177ce0db93b9bbbdc2286f5ca08e038a364db704205250d253d704a67d6a1
"

Can someone please help me get these back?


Title: Re: Lost
Post by: jackjack on March 26, 2013, 10:56:40 PM
You can delete that transaction from your wallet with pywallet


Title: Re: Lost
Post by: Raoul Duke on March 26, 2013, 11:00:20 PM
The address 17hzeZ8gKwLAHASyh85S5FSNYAFsexPAyk never got any bitcoins sent into it.
That transaction never happened, as far as the network is concerned.
Do you still have the wallet.dat from where you sent that transaction? If you do have it, you may delete the failed transaction(3ea177ce0db93b9bbbdc2286f5ca08e038a364db704205250d253d704a67d6a1) from it using pywaltet and be able to spend the coins again, in a new transaction.
Ofcourse, without knowing where did the coins came from we can't tell you if they're still there to spend, or if it was a double spend or something else.


Title: Re: Lost
Post by: donbenosee on March 26, 2013, 11:04:32 PM
I have NO idea how this happened , but I just received these BTC, only minutes after posting this .Thank you bitcoin gods, wherever you are :)

EDIT: WTF? I just closed Armory down to restart my laptop, and now it seems they've GONE again!! When I received them I had a popup window come up saying 13.612 BTC had been received, I saw the balance was in my account. Now they're not there!

EDIT: Oops, here they are, back again...this is fun, like being on a bloody roller coaster......

The 13.612 BTC are showing up as unconfirmed, and for some reason the transaction consisted of 27 Transaction Inputs. As I said I'm a bit green at all this, can someone tell me a) can I still use pywallet to get the BTC back and b) how the hell do I do that?

thanks lots


Title: Re: Lost
Post by: gbl08ma on March 26, 2013, 11:45:50 PM
No, they aren't back again (they never were). There is no transaction at the address of your Armory wallet:
https://blockchain.info/address/17hzeZ8gKwLAHASyh85S5FSNYAFsexPAyk

Either Armory is dreaming of transactions, or the popup was not from Armory, or you sent to/gave us the wrong address... or you're overlooking something else.


Title: Re: Lost
Post by: donbenosee on March 27, 2013, 12:00:58 AM
I'm confused...not for the first time, I guess :) The popup was deinitely from armory, and the balance is still showing there.

https://i.imgur.com/Nw6mBJ3.jpg

I tried installing pywallet but that didn't go too well either (sigh) ..

https://i.imgur.com/Eav1oVU.jpg

Does pywallet work on 64 bit machines?


Title: Re: Lost
Post by: gbl08ma on March 27, 2013, 12:19:02 AM
pywallet definitely works on 64-bit machines, at least Linux ones. That looks more like a problem with the installer than with the pywallet application itself. Try downloading it again as the installer may be corrupt.


Title: Re: Lost
Post by: donbenosee on March 27, 2013, 01:09:57 AM
EDIT: Okay, pywallet working.



Title: Re: Lost
Post by: donbenosee on March 27, 2013, 03:03:40 AM
Okay, I think I deleted the transaction. I didn't have the transaction hash, so I used the 'Bitcoin address' in pywallet, was that correct?

I then started bitcin-qt with the -rescan option, however the outgoing transaction still appears, and the bitcoins don't :(



I'm still quite in the dark about all this and would sincerely appreciate any help I can get...


Title: Re: Lost
Post by: jackjack on March 27, 2013, 07:53:32 AM
Using pywallet, dump your wallet
You will see lots of things including your keys, and transactions (At the bottom, that contains tx something)
I think that if you search (Ctrl-F) '3ea177ce0db93b9bbbdc2286f5ca08e038a364db704205250d253d704a67d6a1' in the pywallet web page it will find it
Then you have the txid

BTW isn't 3ea177ce0db93b9bbbdc2286f5ca08e038a364db704205250d253d704a67d6a1 the txid?


Title: Re: Lost
Post by: Raoul Duke on March 27, 2013, 12:56:45 PM
I just hope you backed up your wallet before starting to delete things with pywallet.
Remember, always work with backups.


Title: Re: Lost
Post by: jackjack on March 27, 2013, 07:36:17 PM
Afaik pywallet can't corrupt your wallet but yeah you never know


Title: Re: Lost
Post by: donbenosee on March 27, 2013, 09:43:19 PM
Using pywallet, dump your wallet
You will see lots of things including your keys, and transactions (At the bottom, that contains tx something)
I think that if you search (Ctrl-F) '3ea177ce0db93b9bbbdc2286f5ca08e038a364db704205250d253d704a67d6a1' in the pywallet web page it will find it
Then you have the txid

BTW isn't 3ea177ce0db93b9bbbdc2286f5ca08e038a364db704205250d253d704a67d6a1 the txid?

I can't find 3ea177ce0db93b9bbbdc2286f5ca08e038a364db704205250d253d704a67d6a1 in it anywhere...


Title: Re: Lost
Post by: jackjack on March 27, 2013, 09:56:30 PM
Ok, what you can do:
 - close bitcoin
 - rename your old wallet.dat
 - run the last version of pywallet (must say 'Pywallet Web Interface v2.0b8-bt' at the top of the web page)
 - go to pywallet's "Dump your keys"
 - put "secret,label" in "Data to print" (see pywallet.tk to know how to fill the other fields)
 - hit "Dump keys"
 - open (with notepad) the file you put in "Output file" to check that all your private keys are there (if there's a problem you'll see lots of "#ERROR#" or something like that, in that case check the wallet path)
 - then run bitcoin again, it will create a new wallet as you renamed the old one
 - close it when it is launched
 - go to pywallet's "Import keys"
 - put the new wallet path (file=wallet.dat, directory should be default)
 - put the file containing the private keys in "CSV file path"
 - hit "Import keys"
 - wait a bit
 - open bitcoin and enjoy your cleaned wallet


Title: Re: Lost
Post by: kjj on March 27, 2013, 10:07:31 PM
Just out of curiosity, does that transaction show up in the bitcoin-qt ledger?


Title: Re: Lost
Post by: donbenosee on March 27, 2013, 10:37:52 PM
Ok, what you can do:
 - close bitcoin
 - rename your old wallet.dat
 - run the last version of pywallet

Where do I find that? I went to pywallet.tk but the version there seems to be pyi_0.0.3


Title: Re: Lost
Post by: jackjack on March 27, 2013, 10:42:55 PM
Oh I see
Do you know where the file pywallet.py is?


Title: Re: Lost
Post by: donbenosee on March 27, 2013, 10:49:00 PM
Yes, I have it in my (EDIT:) Python folder...

Is this the version:

# pywallet.py 1.1


Title: Re: Lost
Post by: jackjack on March 27, 2013, 10:55:40 PM
Great, edit in with a text editor and replace all the text inside it by the new version: http://pastebin.com/raw.php?i=R1C8Qavv


Title: Re: Lost
Post by: donbenosee on March 27, 2013, 11:10:30 PM
Ok, did that and ran it...however in the cmd line window i says something like

3261 SyntaxWarning : name 'passphrase' is assigned to before global declaration.

then it closes the window,and I can't access the web interface


Title: Re: Lost
Post by: jackjack on March 27, 2013, 11:14:40 PM
Fuck, git crashed and I shut down my PC
Open pywallet, go to line 3260, there should be a line 'global passphrase'
Just delete it and save


Title: Re: Lost
Post by: donbenosee on March 27, 2013, 11:36:27 PM
Question: is the cmd line window supposed to remain open after I run pywallet.py?


Title: Re: Lost
Post by: jackjack on March 27, 2013, 11:45:46 PM
I really don't know,why? It doesn't work?

You can see.the error doing this:
Press Windows+R, 'cmd', enter
cd "path:\to\pywallet"
python pywallet.py


Title: Re: Lost
Post by: donbenosee on March 27, 2013, 11:51:40 PM
WARNING:root:pycrypto or libssl not found, decryption may be slow
A mandatory option is missing

This must be something to do with the newer version, I could access the web interface before


Title: Re: Lost
Post by: jackjack on March 27, 2013, 11:57:09 PM
Oh yeah I'm stupid, run "python pywallet.py --web"


Title: Re: Lost
Post by: donbenosee on March 28, 2013, 12:04:00 AM
Oh yeah I'm stupid,

gee, what does that make ME then?

Quote
run "python pywallet --web"

Well, I added .py to pywallet and it seems to be working
:p

Going through your earlier instructions again...

edit: should I be specifying the renamed wallet or the old wallet?


Title: Re: Lost
Post by: donbenosee on March 28, 2013, 12:10:38 AM
Please disregard previous question.

Now, should I litterally put "secret,label" in the Data to Print field, or am I missing something? At the moment I get "File not written"response


Title: Re: Lost
Post by: jackjack on March 28, 2013, 12:13:58 AM
You are the user, you're not supposed to know how to troubleshoot  ;)
Yeah I forgot the .py part!

What do you mean renamed or old? Until line 6, you need to provide the wallet-renamed.DAT
After they you only work on the new one, which is called wallet.dat


Yes, litterally "secret,label", without the "
Is your wallet encrypted?
If so, put your passphrase in the first form (it's "change passphrase" I believe) and retry


Title: Re: Lost
Post by: jackjack on March 28, 2013, 12:16:33 AM
Oh, I'm thinking about one thing, at the end of the process you may need to "bitcoin -rescan"


Title: Re: Lost
Post by: donbenosee on March 28, 2013, 12:39:01 AM
You wrote
Quote
- open (with notepad) the file you put in "Output file" to check that all your private keys are there (if there's a problem you'll see lots of "#ERROR#" or something like that, in that case check the wallet path)

Okay, in the output file i got 289 lines of alphanumeric, all but two end with ";#Reserve" and one ends with the alias of an address I was using.

I have no idea whats what here, are they ALL keys that need to be imported?


Title: Re: Lost
Post by: donbenosee on March 28, 2013, 01:42:41 AM
Well, I imported them all, and managed to recover 9.56243048 BTC. Thanks very much jackjack, you are a wise and wonderful man.

Dunno what happened to the rest..:(


Title: Re: Lost
Post by: jackjack on March 28, 2013, 06:36:18 AM
Yes, there are all there
Are you sure you should have more? Did you rescan?

If so, open your old wallet with bitcoin and write down all the transactions that give you the 13btc, then see if they were used with blockchain.info