Testnet/mainnet cross-reading of settings #759

issue achow101 opened this issue on September 21, 2023
  1. achow101 commented at 4:49 PM on September 21, 2023: 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 https://github.com/bitcoin/bitcoin/issues/8106

Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-25 07:20 UTC