New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Qt] Re-work settings restart and saving flow #1113
[Qt] Re-work settings restart and saving flow #1113
Conversation
After changing a settings option that requires a wallet restart, retain any command line argument that was passed to the current program session and pass them to the restarted program session.
This could lead to unintended behaviour when for example the wallet was previously started with
|
In the event that the wallet was started with one of the repair options, remove those options from the restarted session.
@random-zebra added a second commit to sanitize any repair args, and move their declaration to the more universal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 93f1c03
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 93f1c03
93f1c03 [Qt] Don't force wallet restart on settings save (Fuzzbawls) 22836a7 [Qt] Sanitize restart params when saving settings (Fuzzbawls) b0ed86e [Qt] Retain command line arguments when restarting (Fuzzbawls) Pull request description: After changing a settings option that requires a wallet restart, retain any command line argument that was passed to the current program session and pass them to the restarted program session. Also, address #1114 by allowing the option to postpone wallet restart on settings change. ACKs for top commit: random-zebra: ACK 93f1c03 furszy: ACK 93f1c03 Tree-SHA512: 35c0801486227ad4573aabb0485e018a563dc5542bbee663fae5fc41b91748664123b62372d7a0f161bded85bcaa5195664cf78a7c9d3696bac7d7b1f1f18442
After changing a settings option that requires a wallet restart, retain
any command line argument that was passed to the current program session
and pass them to the restarted program session.
Also, address #1114 by allowing the option to postpone wallet restart on settings change.