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

Testnet/mainnet cross-reading of settings #759

Open
achow101 opened this issue Sep 21, 2023 · 0 comments
Open

Testnet/mainnet cross-reading of settings #759

achow101 opened this issue Sep 21, 2023 · 0 comments

Comments

@achow101
Copy link
Member

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

1. Tail ~/.config/Bitcoin-Qt.conf and ~/.config/Bitcoin-Qt-testnet.conf

2. Reset the testnet settings by going to Settings > Reset Options. Notice how the testnet conf file changes.

3. Now start Bitcoin core with `-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.

Originally bitcoin/bitcoin#8106

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