Author

Topic: Problems with pywallet (Read 813 times)

staff
Activity: 3374
Merit: 6530
Just writing some code
November 16, 2016, 06: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.
member
Activity: 80
Merit: 14
November 16, 2016, 06: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.
staff
Activity: 3374
Merit: 6530
Just writing some code
November 16, 2016, 05: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.
member
Activity: 80
Merit: 14
November 16, 2016, 03: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
Jump to: