mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:12:38 +00:00
Persist Proxy settings #433
No reviewers
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml!433
Loading…
Reference in a new issue
No description provided.
Delete branch "qml-proxy-settings-persistence"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
(This is based on top of #430).
Adding the required logic to persist the configuration of both default Proxy and Tor proxy values to
settings.json(location).Disabling a proxy thru its switch will remove the setting from the config file.
What to test on this PR:
Simply verify that the proxy value entered in the UI gets persisted into the file mentioned above, and if you manually touch the file or restart the application, the UI reflects the values read from the file.
How to test that the Proxy feature it's actually working:
1. Start
bitcoin-qtwith rpc enabled (with `-proxy` option OR leave it without it to verify that the value is getting read from the `settings.json` file)../src/qt/bitcoin-qt -regtest -proxy=127.0.0.1 -server=12. Run rpc
getnetworkinfofrombitcoin-clito verify the proxy has been set (you might need to update the-rpcportaccording to the chainnet selected option).guiPR #836.does it need rebase?
tACK 8ef413b works as expected on Ubuntu 20.04
Ubuntu 20.04 screenshots
settings.json:
Is this specific to the QML GUI, or is it related to the Qt Widget-based GUI as well?
This is purely QML GUI, Qt could benefit from it by reusing the proxy validation from the node interface instead of having it currently within the widget (
optionsdialog.cpp->ProxyAddressValidator::validate()).Closing for now.
Feel free to reopen this based on the new default branch.