1

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. Commented Feb 21, 2021 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? Commented Feb 21, 2021 at 19:30
  • If you click create a new wallet, it creates a new wallet, which will be in a different file. Commented Feb 21, 2021 at 19:46
  • Well Allright I hope I can recover them then, thanks for your answers :) Commented Feb 21, 2021 at 19:58

1 Answer 1

2

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 and acknowledge you have read our privacy policy.

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