This pull request adds a flag called global home root which adds all btcwallet data into one specified path. I've also added code to check for the flag and reassigns config, datadir, rpc & rpccert file paths.
Ideally when using the flag globalhomeroot you have the ability to keep all your data in btcwallet, btcd and btcctl in one folder.
Expected outcome
btcwallet --globalhomeroot=/User/Specified/Path
This flag will create a Btcwallet folder in the user specified path and use the path as the default for all data and configs
This pull request adds a flag called global home root which adds all btcwallet data into one specified path. I've also added code to check for the flag and reassigns config, datadir, rpc & rpccert file paths. Ideally when using the flag globalhomeroot you have the ability to keep all your data in btcwallet, btcd and btcctl in one folder.
Expected outcome btcwallet --globalhomeroot=/User/Specified/Path This flag will create a Btcwallet folder in the user specified path and use the path as the default for all data and configs
Fixes issue https://github.com/btcsuite/btcwallet/issues/926