0

This question already has an answer here:

If I have many files on my hard drive (possibly with different names/extension), how can I test which file is a valid bitcoin wallet.dat ?

Maybe there is some string that exists in every bitcoin wallet ?

I guess I am asking about the format of the data inside the wallet. If wallets are different depending on the bitcoin client, then I want to know about bitcoin core.

Edit: I forgot to mention but these files WERE on a Linux OS. So there should be some solutions.

marked as duplicate by Nate Eldredge, Murch May 28 '17 at 4:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1

On Linux, you can use the file command. If the file is a Bitcoin wallet, you should see

wallet.dat: Berkeley DB (Btree, version 9, native byte-order)

(It will always say Berkley DB version 9, but the filename might be different.)

file is also availible on Windows: http://gnuwin32.sourceforge.net/packages/file.htm

How does file tell that it's a Berkley DB file? See How did file identify this wallet file?

  • Installing Linux just a sec... – marshal craft May 28 '17 at 4:04
  • @marshalcraft actually I am using a Linux computer, I forgot to mention, edited question now. – adrianTNT May 29 '17 at 0:05

Not the answer you're looking for? Browse other questions tagged or ask your own question.