0

A couple of months ago I had backed up the wallet.dat (I use bitcoin-qt) file and saved it some place else.

Lately I've opened the data folder for the current running node (also bitcoin-qt) and I compared the md5 hashes of both files and they are different.

What caused this? Surely my private keys have not changed so why is the wallet.dat file not exactly the same as the backed up version?

Thank you

1 Answer 1

1

The wallet file contains the hash (and more) information about the tip of the chain it has been synchronized to. This means that generally when loading a wallet into a running node, it will be modified every time a new block comes in.

Furthermore the wallet file also contains all transactions affecting the wallet balance. If you sent or received any transactions, that too will inevitably modify the wallet file.

1
  • So whenever my wallet.dat file gets "updated", I can archive the previous files and replace with the new one without incurring any loss of information?
    – Felipe
    Commented Jun 23, 2019 at 20:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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