diff --git a/doc/release-notes.md b/doc/release-notes.md index a09ed2a0d..af07aa910 100644 --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -1,20 +1,28 @@ # Bitcoin ABC 0.22.4 Release Notes Bitcoin ABC version 0.22.4 is now available from: This release includes the following features and fixes: Command-line options -------------------- - The `-debug=db` logging category has been renamed to `-debug=walletdb`, to distinguish it from `coindb`. `-debug=db` has been deprecated and will be removed in a next release. - Low-level RPC Changes --------------------- - The RPC gettransaction, listtransactions and listsinceblock responses now also includes the height of the block that contains the wallet transaction, if any. + +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 a future + release. To re-enable the previous behavior, launch bitcoind with + `-deprecatedrpc=labelspurpose`. diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index df78f5f80..c37b65c2c 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -1,4862 +1,4866 @@ // Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include #include // for GetConsensus. #include #include #include #include #include #include #include #include #include #include #include #include #include