0

I have backed up my wallet.dat file, but now I find myself wondering if bitcoin core stores all newly generated wallets in the same wallet.dat file. Of course this is after having accidentally deleted some files I shouldn’t have. Can I safely restart my computer and download bitcoin core again, and load the old wallet.dat file or should I have seperate wallet.dat files for every newly generated wallet?

4
  • Do you actually mean separate wallets, or just multiple addresses? A wallet.dat file contains one wallet, but all its addresses. Feb 21 at 19:19
  • That is exactly what I am not so sure about - I never modified/replaced the wallet.dat file, but I clicked create new wallet in bitcoin core - is that wallet just a new address that is added to the same wallet.dat file? Feb 21 at 19:30
  • If you click create a new wallet, it creates a new wallet, which will be in a different file. Feb 21 at 19:46
  • Well Allright I hope I can recover them then, thanks for your answers :) Feb 21 at 19:58
1

A wallet contains many addresses. An address is not the same thing as a wallet.

When you create a new address with Bitcoin Core, it is stored in the wallet that you are actively using at that time. This means it is stored in the wallet.dat file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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