forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
init: Allow bitcoin default datadir to point at an external datadir
It's always been possible for bitcoin default datadirs ($HOME/.bitcoin, $HOME/Library/Application Support/Bitcoin, %APPDATA%\Bitcoin) to point at an external locations using symlinks, but not all filesystems support symlinks, so add extra support for pointing at external locations using text file. This feature is used in the following commit to allow the bitcoin GUI to select a default datadir location that will also be treated as the default datadir for CLI tools. Currently when a custom data is set in the GUI, CLI tools ignore it by default.
- Loading branch information
Showing
3 changed files
with
99 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters