Skip to content

Connection settings: add restart-required state for listen, NAT-PMP, and RPC changes #44

Description

@johnny9

Code Gap

qml/components/ConnectionSettings.qml lets users change listen, natpmp, and server, and OptionsQmlModel writes those settings after onboarding. Unlike proxy settings, the page does not show a dirty/restart-required state after changing these values.

Qt marks these changes as restart-required in bitcoin/src/qt/optionsmodel.cpp and surfaces that in the Options dialog.

Work Needed

  • Track initial/current values for listen, natpmp, and server in OptionsQmlModel.
  • Expose a dirty/restart-required property for connection settings.
  • Show restart-required messaging in SettingsConnection.qml after post-onboarding changes.
  • Clear the dirty state when users revert to initial values.
  • Add tests for persistence, dirty-state transitions, and restart messaging.

Priority

Beta / P1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestv1.0Required or tracked for v1.0 release

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions