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.
ArmoryMainWindow.__init__()
calls eitherstartBitcoindIfNecessary()
orloadBlockchainIfNecessary()
here.startBitcoindIfNecessary()
callssetSatoshiPaths()
here, which configures theSatoshiDatadir
.loadBlockchainIfNecessary()
does not callsetSatoshiPaths()
, which leavesSatoshiDatadir
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 ofstartBitcoindIfNecessary()
and intoArmoryMainWindow.__init__()
(before eitherstartBitcoindIfNecessary()
orloadBlockchainIfNecessary()
is called), or to add a call tosetSatoshiPaths()
insideloadBlockchainIfNecessary()
, or something else entirely.