Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Henke79 on December 15, 2017, 06:55:31 PM



Title: Normal symbols in my wallet.dat?
Post by: Henke79 on December 15, 2017, 06:55:31 PM
I cannot open  my wallet.dat... Is these normal symbols when i open it with wordpad?
the wallet is from 2011....


Tnɫ
P@h8̈cYh:  
 poolP       N ~  L    A   xp0qLJߩ煘@\\;7t Q!aU/  
 poolO       N ~  L    AP! ݉j [@'R84M0f5f0ZǂU&#<{<7$sb  


Title: Re: Normal symbols in my wallet.dat?
Post by: SopaXT on December 15, 2017, 07:38:28 PM
To import your wallet.dat into Bitcoin Core, you'll need to copy it into the data directory, see https://en.bitcoin.it/wiki/Data_directory.

And yes, that is completely normal (the format of the wallet file is binary, with ASCII field names).


Title: Re: Normal symbols in my wallet.dat?
Post by: achow101 on December 17, 2017, 07:07:37 AM
The wallet.dat file is not a text file, it is a binary file. If you want to see what data it contains, you will need to open it in a hex editor. To actually figure out what the data is, you will need to use Berkeley DB's database tools (specifically db_dump). Otherwise the data will not be in any recognizable form.


Title: Re: Normal symbols in my wallet.dat?
Post by: tomasooz on December 18, 2017, 05:27:32 AM
Henke93,

Do you still need assistance recovering your wallet?
Let us know please, will be glad to help.

Thanks!


Title: Re: Normal symbols in my wallet.dat?
Post by: Reefdogg on December 24, 2017, 02:03:50 PM
About the wallet.dat file , there are keywords like "pool" , "name" , mkey,  key! , ckey! , keymeta! and after the keywords is encoded data ..... I have tried to cut and past keyword sections of the file into another and it does not work.  I would try to replace a "pool" section from one file to another and that basically just breaks your wallet.  I think the keyword sections are linked in a way I don't understand.  Maybe someone here can point to a page that explains that in detail.


Title: Re: Normal symbols in my wallet.dat?
Post by: SopaXT on December 24, 2017, 04:40:30 PM
About the wallet.dat file , there are keywords like "pool" , "name" , mkey,  key! , ckey! , keymeta! and after the keywords is encoded data ..... I have tried to cut and past keyword sections of the file into another and it does not work.  I would try to replace a "pool" section from one file to another and that basically just breaks your wallet.  I think the keyword sections are linked in a way I don't understand.  Maybe someone here can point to a page that explains that in detail.

The wallet file is actually a Berkeley database.
The keywords are the keys of the key-value pairs stored there, and some encoded data follows each key and value.

To decode them, a tool such as pywallet would be needed.