-
Notifications
You must be signed in to change notification settings - Fork 37.8k
refactor: Avoid wallet code writing node settings file #22217
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
Conversation
Change wallet loading code to access settings through the Chain interface instead of writing settings.json directly.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
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.
Code review ACK 49ee2a0
ACK 49ee2a0 ( Change seems straightforward and benign. Just want to confirm that there's no need to update the two other calls to |
Thanks!
That's right. It's safe for the wallet to use the |
crACK 49ee2a0 |
This PR caused an unintended change in behavior. Before this PR, passing |
Change wallet loading code to access settings through the Chain interface instead of writing settings.json directly. This is for running wallet and node in separate processes, since multiprocess code wouldn't easily work with different processes updating the same file.
This PR is part of the process separation project. The commit was first part of larger PR #10102.