-
Notifications
You must be signed in to change notification settings - Fork 37.8k
rpc: remove deprecated getaddressinfo fields #19200
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: remove deprecated getaddressinfo fields #19200
Conversation
03d12f2
to
9eccbd2
Compare
Concept ACK |
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. |
9eccbd2
to
bc01f7a
Compare
utACK bc01f7a |
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.
utACK bc01f7a
@@ -3741,25 +3741,18 @@ UniValue getaddressinfo(const JSONRPCRequest& request) | |||
{RPCResult::Type::STR_HEX, "pubkey", /* optional */ true, "The hex value of the raw public key for single-key addresses (possibly embedded in P2SH or P2WSH)."}, | |||
{RPCResult::Type::OBJ, "embedded", /* optional */ true, "Information about the address embedded in P2SH or P2WSH, if relevant and known.", | |||
{ | |||
{RPCResult::Type::ELISION, "", "Includes all\n" |
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.
Unrelated, but if you are reformatting these lines could you clean up line 1544?
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.
Good idea. Will touch up in the next PR to not invalidate review.
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.
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.
Decided to do it in another PR or code a general solution to line wrapping in the RPC help rather than manual adjustments.
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.
utACK bc01f7a
bc01f7a doc: release note for rpc getaddressinfo removals (Jon Atack) 90e9893 rpc: getaddressinfo RPCResult fixup (Jon Atack) a8507c9 rpc: remove deprecated getaddressinfo `labels: purpose` (Jon Atack) 645a865 rpc: remove deprecated getaddressinfo `label` field (Jon Atack) Pull request description: These were deprecated in bitcoin#17578 and bitcoin#17585, with expected 0.21 removal notified in the 0.20 release notes. ``` - The `getaddressinfo` RPC has had its `label` field deprecated (re-enable for this release using the configuration parameter `-deprecatedrpc=label`). The `labels` field is altered from returning JSON objects to returning a JSON array of label names (re-enable previous behavior for this release using the configuration parameter `-deprecatedrpc=labelspurpose`). Backwards compatibility using the deprecated configuration parameters is expected to be dropped in the 0.21 release. (bitcoin#17585, bitcoin#17578) ``` ACKs for top commit: Sjors: utACK bc01f7a adamjonas: utACK bc01f7a meshcollider: utACK bc01f7a Tree-SHA512: ae1af381e32c4c3bde8b061a56382838513a9a82c88767843cdeae3a2ab8aa7d8c2e66e106d2b31ea07d74bb80c191a2f842c9aaecc7c5438ad9a9bc66d1b251
Summary: > rpc: remove deprecated getaddressinfo `label` field > rpc: remove deprecated getaddressinfo `labels: purpose` > rpc: getaddressinfo RPCResult fixup > doc: release note for rpc getaddressinfo removals This is a backport of [[bitcoin/bitcoin#19200 | core#19200]] Depends on D9609 Test Plan: `ninja all check-all` Reviewers: #bitcoin_abc, majcosta, Mengerian Reviewed By: #bitcoin_abc, majcosta, Mengerian Subscribers: Mengerian, majcosta Differential Revision: https://reviews.bitcoinabc.org/D9622
These were deprecated in #17578 and #17585, with expected 0.21 removal notified in the 0.20 release notes.