-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge bitcoin-core/gui#602: Unify bitcoin-qt and bitcoind persistent …
…settings e47c6c7 Reset settings.json when GUI options are reset (Ryan Ofsky) 99ccc02 Add release notes about unified bitcoin-qt and bitcoind persistent settings (Ryan Ofsky) 504b06b Migrate -lang setting from QSettings to settings.json (Ryan Ofsky) 9a016a3 Migrate -prune setting from QSettings to settings.json (Ryan Ofsky) f067e19 Migrate -proxy and -onion settings from QSettings to settings.json (Ryan Ofsky) a09e3b7 Migrate -listen and -server settings from QSettings to settings.json (Ryan Ofsky) d2ada6e Migrate -upnp and -natpmp settings from QSettings to settings.json (Ryan Ofsky) 1dc4fc2 Migrate -spendzeroconfchange and -signer settings from QSettings to settings.json (Ryan Ofsky) a7ef6d5 Migrate -par setting from QSettings to settings.json (Ryan Ofsky) 284f339 Migrate -dbcache setting from QSettings to settings.json (Ryan Ofsky) Pull request description: If a setting like pruning, port mapping, or a network proxy is enabled in the GUI, it will now be stored in the bitcoin persistent setting file in the datadir and shared with bitcoind, instead of being stored as Qt settings which end up in the the windows registry or platform specific config files and are ignored by bitcoind. This PR has been split off from bitcoin/bitcoin#15936 so some review of these commits previously took place in that PR. ACKs for top commit: furszy: Code review ACK e47c6c7 hebasto: ACK e47c6c7 Tree-SHA512: 076ea7c7efe67805b4a357113bfe1643dce364d0032774106de59566a0ed5771d57a5923920085e03d686beb34b98114bd278555dfdf8bb7af0b778b0f35b7d2
- Loading branch information
Showing
13 changed files
with
407 additions
and
245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
GUI changes | ||
----------- | ||
|
||
Configuration changes made in the bitcoin GUI (such as the pruning setting, | ||
proxy settings, UPNP preferences) are now saved to `<datadir>/settings.json` | ||
file rather than to the Qt settings backend (windows registry or unix desktop | ||
config files), so these settings will now apply to bitcoind, instead of being | ||
ignored. | ||
|
||
Also, the interaction between GUI settings and `bitcoin.conf` settings is | ||
simplified. Settings from `bitcoin.conf` are now displayed normally in the GUI | ||
settings dialog, instead of in a separate warning message ("Options set in this | ||
dialog are overridden by the configuration file: -setting=value"). And these | ||
settings can now be edited because `settings.json` values take precedence over | ||
`bitcoin.conf` values. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.