Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not create .btcd if not needed #995

Open
abitrolly opened this issue Aug 16, 2017 · 1 comment
Open

Do not create .btcd if not needed #995

abitrolly opened this issue Aug 16, 2017 · 1 comment

Comments

@abitrolly
Copy link
Contributor

btcd still tries to create its defaultHomeDir even if it does not needed-

btcd/config.go

Line 68 in 01f26a1

defaultHomeDir = btcutil.AppDataDir("btcd", false)

It is not needed when all writeable params (logs and data) and redirected to other location. Creates problems when packing btcd into containers.

@abitrolly
Copy link
Contributor Author

Another solution is to allow setting BTCDHOME.

abitrolly added a commit to cyberFund/cybernode-archive that referenced this issue Aug 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant