Bitcoin Forum
July 12, 2024, 05:36:36 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Problems with pywallet  (Read 817 times)
racezefi (OP)
Member
**
Offline Offline

Activity: 80
Merit: 14


View Profile
November 16, 2016, 07:53:51 PM
 #1

Hello!

I'm trying to dump my wallet using pywallet.
Getting some strange errors, wallet was created with bitcoin 0.13.
Here's a partial log with sensitive information removed.
Can anyone recommend a version that is working with the latest Bitcoin binaries?

There's an error about bitcoin running at the time but it wasn't.

Code:
Wallet data not recognized: {'__type__': 'keymeta', '__value__': 'REMOVED', '__key__': '\x07keymeta!REMOVED'}


error: unpack_from requires a buffer of at least 4 bytes
ERROR parsing wallet.dat, type tx
key data: REMOVED
key data in hex: REMOVED
value data in hex: REMOVED
'ecdsa' package is not installed, pywallet won't be able to sign/verify messages
ERROR:root:Couldn't open wallet.dat/main. Try quitting Bitcoin and running this again.


...

  File "./pywallet.py", line 2111, in parse_wallet
    d.update(parse_BlockLocator(vds))
TypeError: 'NoneType' object is not iterable
ERROR parsing wallet.dat, type bestblock
key data: bestblock
key data in hex: REMOVED
value data in hex: REMOVED
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3444
Merit: 6785


Just writing some code


View Profile WWW
November 16, 2016, 09:10:41 PM
 #2

Pywallet has not been updated in a long time and since it was last updated, much has changed in the wallet format. In 0.13.0, HD wallets were introduced in Core and that is probably what is screwing up pywallet.

racezefi (OP)
Member
**
Offline Offline

Activity: 80
Merit: 14


View Profile
November 16, 2016, 10:29:43 PM
 #3

Pywallet has not been updated in a long time and since it was last updated, much has changed in the wallet format. In 0.13.0, HD wallets were introduced in Core and that is probably what is screwing up pywallet.

Hi achow!

Is there any alternative that you or someone else knows about?
Thanks.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3444
Merit: 6785


Just writing some code


View Profile WWW
November 16, 2016, 10:32:52 PM
 #4

Pywallet has not been updated in a long time and since it was last updated, much has changed in the wallet format. In 0.13.0, HD wallets were introduced in Core and that is probably what is screwing up pywallet.

Hi achow!

Is there any alternative that you or someone else knows about?
Thanks.
Bitcoin Core itself provides some RPC methods to dump all of the private keys out of a wallet into a csv file. You can use those if you need the private keys all at once. The only difference is that you cannot actively change the wallet.dat file from Bitcoin Core. You can't add or delete addresses or transactions as pywallet allows you 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!