-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Hide accounts system behind deprecation switch #11497
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
|
Concept ACK after label system has been merged |
|
I thought the plan was to have labels in place before removing (or, really, formally deprecating) accounts? |
I have no idea. Maybe it would be a good idea to have this and #7729 at the same time to allow for not using accounts and labels at the same time |
|
Yea, I mean this and labels in the same release sounds good, though I cant say I'm excited about removing accounts pre-labels. |
|
Thanks for tackling this @achow101 . I'd echo @TheBlueMatt's feedback that labels needs to be in place before we remove the accounts system. The At a conceptual level, I'm not convinced that accounts system removal should depend on node version. It feels far more appropriate for it to be dependant on the wallet version than the node version. |
src/wallet/rpcwallet.cpp
Outdated
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.
Also, this should be re-purposed to label rather than removed, after #7729 merge, same as other RPCs with account arguments
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.
Agreed.
Deprecate all accounts functionality and make it only accessible by using -deprecatedrpc=accounts.
74085ad to
e572d3c
Compare
|
Rebased. This should be done after #7729 is merged. I will update it accordingly then. |
Are we ready for this PR now that #12892 is merged? |
|
Might be helpful for updating this PR: release notes https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes-pr12892.md list the parts of the accounts api that are deprecated. |
|
Concept ACK. Agree with @ryanofsky that all prerequisites seem to be in place now. |
|
Closing in favor of whatever @jnewbery does because I'm too lazy to rebase this. |
Deprecate all accounts functionality and make it only accessible by using
-deprecatedrpc=accounts.Accounts specific RPCs, account arguments, and account related results all require the
-deprecatedrpc=acocuntsstartup option now in order to see account things.A couple of the tests use the accounts system for labeling things, so instead of changing those, I left them as is and set the tests to start the nodes with
-deprecatedrpc=accounts. That switch can be removed as those RPCs are replaced with a labels system.