Author

Topic:   (Read 334 times)

legendary
Activity: 1819
Merit: 5547
Neighborhood Shenanigans Dispenser
December 04, 2017, 01:15:19 AM
#4
However having the temporary database files and the wallet database itself located in two different places may cause issues, especially with unclean shutdowns and moving wallet files. Thus to avoid issues with that, wallets must be in the same directory as the temporary database files, which is the datadir.
This is also why symlinks have also been disallowed. That they were allowed in the past was a bug.

Fair enough. Thank you for clearing that up.
staff
Activity: 3374
Merit: 6530
Just writing some code
December 04, 2017, 12:18:13 AM
#3
Any idea what the rationale is for not allowing a different path to your wallet.dat ?
The wallet.dat file is a database. When the database is opened, other temporary files will also be opened in a given location. That location is usually the Bitcoin Core datadir. However having the temporary database files and the wallet database itself located in two different places may cause issues, especially with unclean shutdowns and moving wallet files. Thus to avoid issues with that, wallets must be in the same directory as the temporary database files, which is the datadir.

This is also why symlinks have also been disallowed. That they were allowed in the past was a bug.
hero member
Activity: 672
Merit: 502
December 03, 2017, 07:46:18 PM
#2
   -wallet=   Specify wallet file (within data directory) (default: wallet.dat)

Any idea why this is ?

I would like to use my main laptop SSD to house the wallet.dat, and use an external USB drive to house the blockchain and other related data, and Bitcoin-Qt was having none of it.

Any idea what the rationale is for not allowing a different path to your wallet.dat ?

As far as I've read is not really a good idea to split contents of the bitcoin folder, it's better to have it all on the same place. I saw people asking if they could split the chainstate files to make it faster by putting them in an SSD and they got told that its not a good idea..

But if you want to change the data folder:

Quote
"C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe" -datadir=d:\BitcoinData

This will put the entire data folder in another hard disk called D: in a folder called "BitcoinDat" for example.

legendary
Activity: 1819
Merit: 5547
Neighborhood Shenanigans Dispenser
December 03, 2017, 08:39:23 AM
#1
Jump to: