Pages:
Author

Topic: Changing file name wallet.dat - page 2. (Read 2603 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
July 21, 2015, 02:32:48 PM
#9
You can change the name of the wallet by using the -wallet flag every time you start the program. Something like this:
Code:
bitcoin-qt -wallet=newwallet.dat
Thanks, where can I type
Code:
bitcoin-qt -wallet=newwallet.dat
? Guess it's not in de debug console? Or is it via bitcoin-cli?
You do that when you start up the program. MZ posted above where to do that. In Windows, right click the shortcut for Bitcoin Core. and click properties. In the box where it says target, add
Code:
-wallet=
at the end of the what is already there. Make sure there is a space before the dash. is whatever you want to call the wallet. Click OK and then double click the shortcut to start Bitcoin Core.
hero member
Activity: 623
Merit: 501
July 21, 2015, 02:13:50 PM
#8
You can change the name of the wallet by using the -wallet flag every time you start the program. Something like this:
Code:
bitcoin-qt -wallet=newwallet.dat
Thanks, where can I type
Code:
bitcoin-qt -wallet=newwallet.dat
? Guess it's not in de debug console? Or is it via bitcoin-cli?
hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
July 21, 2015, 10:56:05 AM
#7
You can change the name of the wallet by using the -wallet flag every time you start the program. Something like this:
Code:
bitcoin-qt -wallet=newwallet.dat
It changes the name of the wallet but also needs to have that every time you run Bitcoin Core so that it doesn't create another wallet.dat file.

It is better to create a shortcut, add that command and when you want to start Bitcoin core, use that shortcut.[1] Remember, auto start will create problems. To prevent this, turn off auto start in Bitcoin-qt and the created shortcut to C:\Users\Chachu\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup.

[1]

staff
Activity: 3458
Merit: 6793
Just writing some code
July 21, 2015, 08:53:06 AM
#6
You can change the name of the wallet by using the -wallet flag every time you start the program. Something like this:
Code:
bitcoin-qt -wallet=newwallet.dat
It changes the name of the wallet but also needs to have that every time you run Bitcoin Core so that it doesn't create another wallet.dat file.
hero member
Activity: 728
Merit: 501
July 21, 2015, 08:10:46 AM
#5
If I understand correctly, the bitcoin address, the balance are public data, anyone gets the wallet file can see it, only he can't spend the money without the password?
So the easy solution is just to store your wallet.dat file in an encrypted file as it is not fully encrypted in itself - like your password manager's database.
legendary
Activity: 2674
Merit: 2965
Terminated.
July 21, 2015, 07:02:44 AM
#4
Strong passphrase for sure, yes. However, I wouldn't like it if my wallet gets stolen. Changing the file name would just be some extra obfuscation.
It is probably going to take more time than it is worth it. Besides, even if it is named random.random it is still going to be in the Bitcoin folder and suspicious. As time goes by wallet stealers are going to be more sophisticated and they might pull those files as well. You can rename it to anything and move around the system. Just make sure to rename it back to wallet.dat and put it back into the directory when you use it.

Update:
However, I'm pretty sure that there needs to be a fair amount of changes in the code if you wanted to make your wallet work with a different name for the file. Looks like I was wrong and it can be done with a shortcut.
hero member
Activity: 623
Merit: 501
July 21, 2015, 05:54:25 AM
#3
isn't just better to secure it with a strong passphrase? and maybe don't download random stuff on your main machine, but use a VM , or don't download anything suspicious at all

also if you change the extension it will not work anymore
Strong passphrase for sure, yes. However, I wouldn't like it if my wallet gets stolen. Changing the file name would just be some extra obfuscation.
legendary
Activity: 3248
Merit: 1070
July 21, 2015, 05:51:09 AM
#2
isn't just better to secure it with a strong passphrase? and maybe don't download random stuff on your main machine, but use a VM , or don't download anything suspicious at all

also if you change the extension it will not work anymore
hero member
Activity: 623
Merit: 501
July 21, 2015, 05:44:54 AM
#1
Hi all,

Is there a way to change the filename of wallet.dat? I'm worried about some new malware that's designed to steal wallet files. There's a script (bitcoin wallet stealer) I noticed on a forum that is looking for that specific file:

Code:
// Check if wallet has been already stolen (to avoid duplicates)
  if not(RegCurrentValue = RegValue) then
  begin
    try
      // Generate path to Bitcoin wallet file
      if Win32MajorVersion >= 6 then
        // Microsoft Windows Vista and newer
        Path := ExpandFileName(AppDataPath + '\..\Roaming\Bitcoin\wallet.dat')
      else

Pages:
Jump to: