Bitcoin Forum
May 25, 2024, 12:11:55 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Recover alt coin wallet.dat  (Read 1801 times)
czvezda (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
April 27, 2014, 02:26:54 AM
 #1

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.
Tranz
Legendary
*
Offline Offline

Activity: 1540
Merit: 1052


May the force bit with you.


View Profile
April 27, 2014, 05:37:06 AM
 #2

This may or may not help. GL

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

HBN: https://bitcointalk.org/index.php?topic=303749.0 hobonickels.info
Personal Donations: F1TranzWqFGZyFeTMu6iLbtTQgdXuJPsiL
Donations to the HBN Fund: EhbNfund4PrRFLHMxsnbGLhP25hizJGHEE or 1LVFtCX4a83dMLjd8S7imKKKC58QaG83kw
czvezda (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
April 27, 2014, 08:19:18 AM
 #3

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.
Tranz
Legendary
*
Offline Offline

Activity: 1540
Merit: 1052


May the force bit with you.


View Profile
April 27, 2014, 12:42:42 PM
 #4

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?

HBN: https://bitcointalk.org/index.php?topic=303749.0 hobonickels.info
Personal Donations: F1TranzWqFGZyFeTMu6iLbtTQgdXuJPsiL
Donations to the HBN Fund: EhbNfund4PrRFLHMxsnbGLhP25hizJGHEE or 1LVFtCX4a83dMLjd8S7imKKKC58QaG83kw
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!