-
Notifications
You must be signed in to change notification settings - Fork 174
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
RPC API: configset doesn't update the persistent config #1104
Comments
See #996 (comment) and as per docs here, "only in memory".
Yeah, understood. The thing is, when I wrote that it felt like a really dumb hacky solution (using regex..) :) I just did it for the Qt GUI; it was particularly the inability to keep comments from a direct "dump object to disk" approach that was bothering me (see the function's docstring for more). Because the comments in our config are super-important. If you can make that hacky |
I guess probably just create a subclass or wrapper class for ConfigParser that allows a comment to be attached to each config var, then write the serialize/deserialize routine for it. |
Any news on this? I think people are quite confused that their config settings do not survive node restarts.. |
that would be so helpful, can this be pushed trough? |
We could just reuse existing hackish Qt GUI code for this I think. And optional boolean parameter should be added |
That would be so great. It really is counterintuitive currently. 🙏 |
The configset API doesn't update the configuration file in the datadir. The configuration persists while the backend is running but loses them once it is stopped. Please fix this or let me know how to.
My guess is to use the following function:
joinmarket-clientserver/jmclient/jmclient/configure.py
Line 810 in ecd1083
Also, it will be good to have a test for this API call
The text was updated successfully, but these errors were encountered: