aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Atack <[email protected]>2019-12-13 15:15:24 +0100
committerJon Atack <[email protected]>2020-01-11 13:35:10 +0100
commitd3bc18408146e91b3836f72360ff6fa2420b6887 (patch)
tree0ba281775b315f0105650aa10360c3fd6a106822
parenttest: getaddressinfo label deprecation test (diff)
downloaddiscoin-d3bc18408146e91b3836f72360ff6fa2420b6887.tar.xz
discoin-d3bc18408146e91b3836f72360ff6fa2420b6887.zip
doc: update release notes with getaddressinfo label deprecation
-rw-r--r--doc/release-notes-17578.md15
1 files changed, 10 insertions, 5 deletions
diff --git a/doc/release-notes-17578.md b/doc/release-notes-17578.md
index 90156d608..664d17fd7 100644
--- a/doc/release-notes-17578.md
+++ b/doc/release-notes-17578.md
@@ -1,8 +1,13 @@
Deprecated or removed RPCs
--------------------------
-- The `getaddressinfo` RPC `labels` field now returns an array of label name
- strings. Previously, it returned an array of JSON objects containing `name` and
- `purpose` key/value pairs, which is now deprecated and will be removed in
- 0.21. To re-enable the previous behavior, launch with
- `-deprecatedrpc=labelspurpose`.
+- RPC `getaddressinfo` changes:
+
+ - the `label` field has been deprecated in favor of the `labels` field and
+ will be removed in 0.21. It can be re-enabled in the interim by launching
+ with `-deprecatedrpc=label`.
+
+ - the `labels` behavior of returning an array of JSON objects containing name
+ and purpose key/value pairs has been deprecated in favor of an array of
+ label names and will be removed in 0.21. The previous behavior can be
+ re-enabled in the interim by launching with `-deprecatedrpc=labelspurpose`.