Bitcoin Forum
May 06, 2024, 07:11:01 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Transaction change vanished  (Read 2415 times)
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
December 10, 2012, 02:06:32 AM
 #21

Ran "bitcoin-qt -salvagewallet -rescan", but I get "Cannot initialize keypool" error message. Tried several times. Found no helpful information by googling it...

I doubt that those two are meant to be used simultaneously.   Try just -salvagewallet


Unichange.me

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


"You Asked For Change, We Gave You Coins" -- casascius
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715022661
Hero Member
*
Offline Offline

Posts: 1715022661

View Profile Personal Message (Offline)

Ignore
1715022661
Reply with quote  #2

1715022661
Report to moderator
1715022661
Hero Member
*
Offline Offline

Posts: 1715022661

View Profile Personal Message (Offline)

Ignore
1715022661
Reply with quote  #2

1715022661
Report to moderator
1715022661
Hero Member
*
Offline Offline

Posts: 1715022661

View Profile Personal Message (Offline)

Ignore
1715022661
Reply with quote  #2

1715022661
Report to moderator
dude123 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
December 11, 2012, 12:28:15 AM
 #22

Dumped all the backups of all the wallets looking for "1PyDNpaHGaAxazG13Xa7sESVeQbympLrHw", no luck. Last backup of wallet #2 (last before sending and loosing the BTC) has among other stuff the following worrisome contents:

...
"keys": [],
...
"pool": [],
...

 -salvagewallet even without -rescan causes client to "rescanning" and then fails with  "Cannot initialize keypool".

Any more tips what I should be looking for in the files?
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
December 11, 2012, 12:44:33 AM
 #23

Dumped all the backups of all the wallets looking for "1PyDNpaHGaAxazG13Xa7sESVeQbympLrHw", no luck. Last backup of wallet #2 (last before sending and loosing the BTC) has among other stuff the following worrisome contents:

Just to eliminate any remaining possibilities, have you tried extracting the keys for wallet #2 using pywallet, rather than with the bitcoin.org client?

 - https://github.com/joric/pywallet

Use
 -password=
for an encrypted wallet.

Unichange.me

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


dude123 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
December 11, 2012, 01:19:40 AM
 #24

Yea it shouldn't work without password I guess....  I `tried with v1.1 of pywallet....  Didn't manage to figure out how to download it from the link you gave.

Found a version on http://www.antepedia.com/detail/p/210922838.html;jsessionid=8515700B97FC021E6B8E3A6ADA00D674 and just copied the pywallet.py file to my dir. It was stilll reporting v1.1 however, tried running both update.bat and install.bat after the copy was made.

Know how to do it?
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
December 11, 2012, 02:02:43 AM
 #25

Know how to do it?

There is no install.bat, it is a python script. 

So I'm assuming you are a Windows user then.

Windows doesn't come with Python installed, so you would need to install that in order to run the script.

 - http://www.python.org/ftp/python/2.7.2/python-2.7.2.msi


Then download pywallet  (right click and "Save Link As" or something like that):

 - https://raw.github.com/joric/pywallet/master/pywallet.py


Then to run the script from the command prompt it would be something like:
  C:\Temp>  python pywallet.py

Though if the python executable isn't in your path you would need to probably add it and re-open the command prompt so that it is in the path.  There is more info here:

 - http://docs.python.org/2/faq/windows.html#how-do-i-run-a-python-program-under-windows

Unichange.me

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


dude123 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
December 11, 2012, 11:11:38 AM
 #26

Wasn't very clear there I can see.

I successfully installed and was running v1.1.   To upgrade to v1.2 (which supports passwords) I simply replaced the pywallet.py file.

Didn't work, still reporting v1.1.... and this is where I am confused.
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
December 11, 2012, 07:26:17 PM
 #27

Didn't work, still reporting v1.1.... and this is where I am confused.

Download and save (e.g., in C:\Temp):
 - https://raw.github.com/joric/pywallet/master/pywallet.py

Then in the directory that you saved that script, run:
 C:\> cd C:\Temp
 C:\Temp> python .\pywallet.py --version
pywallet.py 1.2

You are saying you get v1.1?

Unichange.me

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


dude123 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
December 12, 2012, 12:00:30 AM
 #28

Did just that... didn't work.

Rebooted the computer and me, and know it works :-)

OK, I get a bunch of:

  "addr": "--------------------------------------",
  "reserve": 1,
  "sec": "---------------------------------------------------------"

where - is blanked out typical bitcoin address signs

I guess it is in the addr field I should be searching, right?

           
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
December 12, 2012, 12:36:07 AM
 #29

I guess it is in the addr field I should be searching, right?

Yup.  If 1PyDNpaHGaAxazG13Xa7sESVeQbympLrHw is in there, you can take the corresponding private key over to another wallet or client and import it there and you'll have access to the funds.

Unichange.me

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


Pages: « 1 [2]  All
  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!