Does my wallet.dat file contain all wallets? 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?
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.