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

SatoshiDatadir setting is ignored when doAutoBitcoind is false #288

Open
gurnec opened this issue May 3, 2015 · 0 comments
Open

SatoshiDatadir setting is ignored when doAutoBitcoind is false #288

gurnec opened this issue May 3, 2015 · 0 comments

Comments

@gurnec
Copy link

gurnec commented May 3, 2015

ArmoryMainWindow.__init__() calls either startBitcoindIfNecessary() or loadBlockchainIfNecessary() here.

startBitcoindIfNecessary() calls setSatoshiPaths() here, which configures the SatoshiDatadir.

loadBlockchainIfNecessary() does not call setSatoshiPaths(), which leaves SatoshiDatadir set as its default, even if it's been configured by the user to a custom location via the config file.

This seems like a bug to me. I'm not sure if the correct solution is to move the setSatoshiPaths() call out of startBitcoindIfNecessary() and into ArmoryMainWindow.__init__() (before either startBitcoindIfNecessary() or loadBlockchainIfNecessary() is called), or to add a call to setSatoshiPaths() inside loadBlockchainIfNecessary(), or something else entirely.

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