Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: czvezda on April 27, 2014, 02:26:54 AM



Title: Recover alt coin wallet.dat
Post by: czvezda on April 27, 2014, 02:26:54 AM
Hello,
We had a huge failure of the pool server and as a result wallet.dat file cannot be opened, deamon gives the following error message
EXCEPTION: St13runtime_error
CDB() : can't open database file wallet.dat, error 12
AsiaCoin in AppInit()

terminate called after throwing an instance of 'std::runtime_error'
  what():  CDB() : can't open database file wallet.dat, error 12


Do you have a suggestion what could be done with it ?

pywallet gives the following:

Traceback (most recent call last):
  File "pywallet.py", line 2062, in parse_wallet
    d['txIn'].append(parse_TxIn(vds))
  File "pywallet.py", line 2031, in parse_TxIn
    d['sequence'] = vds.read_uint32()
  File "pywallet.py", line 1945, in read_uint32
    def read_uint32(self): return self._read_num('<I')
  File "pywallet.py", line 1984, in _read_num
    (i,) = struct.unpack_from(format, self.input, self.read_cursor)
error: unpack_from requires a buffer of at least 4 bytes
ERROR parsing wallet.dat, type tx
key data: tx$LE\▒v▒▒▒▒z*f▒▒▒{▒▒▒▒U▒N


Please, write if you can help. Reward for recovered coins.


Title: Re: Recover alt coin wallet.dat
Post by: Tranz on April 27, 2014, 05:37:06 AM
This may or may not help. GL

https://cryptocointalk.com/topic/9590-hbn-trouble-shooting-guide-wallet-corruption/


Title: Re: Recover alt coin wallet.dat
Post by: czvezda on April 27, 2014, 08:19:18 AM
Thanks, but the problem is not with the version but with the wallet.dat not being readable due to the deamon process not ending properly.


Title: Re: Recover alt coin wallet.dat
Post by: Tranz on April 27, 2014, 12:42:42 PM
Thanks, but the problem is not with the version but with the wallet.dat not being readable due to the deamon process not ending properly.

So -salvagewallet is of no help?