Complete Default/Tor Proxy Settings #511

Closed
opened 2026-02-28 16:54:20 +00:00 by johnny9 · 1 comment
johnny9 commented 2026-02-28 16:54:20 +00:00 (Migrated from github.com)

Summary

Finish proxy settings so default and Tor proxy values persist and apply (currently partial).

Complexity

  • M

Dependencies

  • 01
  • 02

Global Constraints

  • All implementation lives under gui-qml/.
  • No GUI runtime dependency on bitcoin/src/qt components. Reused logic must be moved/ported into gui-qml/.
  • Do not change interfaces::Wallet or interfaces::Node in this version.
  • Issue completion must satisfy DefinitionOfDone.md.

Scope

  • Extend options model with proxy enabled/value properties for default and onion.
  • Persist via Node::updateRwSetting with proper key mapping and validation.
  • Update ProxySettings.qml to load/edit/save real values.
  • Surface restart-required warnings where applicable.

Acceptance Criteria (DoD-Aligned)

  1. Default and Tor proxy settings survive restart and reflect persisted values.
  2. Invalid input is blocked and shows inline error before save.
  3. Disabling a proxy path correctly clears or deactivates its setting.

Required Tests

  • C++ unit tests: Unit tests for proxy parse/validation and settings serialization.
  • QML QTest: QTests for enable toggle, validation text, and load/save behavior.
  • Python E2E (qml/test/testbridge.h): E2E flow: set proxy values -> restart app -> verify values retained and behavior updated.

Implementation Notes

  • Do not rely on qt/optionsmodel.*; keep logic in qml/models/options_model.*.
## Summary Finish proxy settings so default and Tor proxy values persist and apply (currently partial). ## Complexity - `M` ## Dependencies - `01` - `02` ## Global Constraints - All implementation lives under `gui-qml/`. - No GUI runtime dependency on `bitcoin/src/qt` components. Reused logic must be moved/ported into `gui-qml/`. - Do not change `interfaces::Wallet` or `interfaces::Node` in this version. - Issue completion must satisfy `DefinitionOfDone.md`. ## Scope - Extend options model with proxy enabled/value properties for default and onion. - Persist via `Node::updateRwSetting` with proper key mapping and validation. - Update `ProxySettings.qml` to load/edit/save real values. - Surface restart-required warnings where applicable. ## Acceptance Criteria (DoD-Aligned) 1. Default and Tor proxy settings survive restart and reflect persisted values. 2. Invalid input is blocked and shows inline error before save. 3. Disabling a proxy path correctly clears or deactivates its setting. ## Required Tests - C++ unit tests: Unit tests for proxy parse/validation and settings serialization. - QML QTest: QTests for enable toggle, validation text, and load/save behavior. - Python E2E (`qml/test/testbridge.h`): E2E flow: set proxy values -> restart app -> verify values retained and behavior updated. ## Implementation Notes - Do not rely on `qt/optionsmodel.*`; keep logic in `qml/models/options_model.*`.
jarolrod commented 2026-06-01 16:58:05 +00:00 (Migrated from github.com)

I’m working on changes that address this issue in a settings/onboarding QML branch. I plan to submit the PR soon and will link it here once it’s open.

I’m working on changes that address this issue in a settings/onboarding QML branch. I plan to submit the PR soon and will link it here once it’s open.
Sign in to join this conversation.
No description provided.