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
Testnet/mainnet cross-reading of settings #8106
Comments
The settings overwritten by the GUI ( |
Are you starting with |
On May 27, 2016 9:28:54 AM MarcoFalke notifications@github.com wrote:
|
Perhaps it would work as intended if we would use the NetworkStyle app name when locating QSettings. E.g.: /// 3. Application identification
// must be set before OptionsModel is initialized or translations are loaded,
// as it is used to locate QSettings
QApplication::setOrganizationName(QAPP_ORG_NAME);
QApplication::setOrganizationDomain(QAPP_ORG_DOMAIN);
- QApplication::setApplicationName(QAPP_APP_NAME_DEFAULT);
+ QApplication::setApplicationName(networkStyle->getAppName()); But I am not confident this is all there is to it. Lines 496 to 501 in 8e1913a
bitcoin-core/gui#212 |
Moved to GUI repo: bitcoin-core/gui#759 |
In the settings, the Testnet seems to be reading from and setting some options for mainnet and not testnet. I have noticed this with at least the strDataDir option.
Replication steps on Ubuntu 15.10
-choosedatadir -testnet
.After the third step, you will see that the strDataDir setting is not added to the testnet conf but is added/changed in the normal conf file.
The text was updated successfully, but these errors were encountered: