Skip to content

Commit cead28b

Browse files
committed
[docs] Add release notes for deprecated 'account' API
1 parent 72c9575 commit cead28b

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

doc/release-notes-pr12892.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
'label' API for wallet
2-
----------------------
1+
'label' and 'account' APIs for wallet
2+
-------------------------------------
33

44
A new 'label' API has been introduced for the wallet. This is intended as a
5-
replacement for the deprecated 'account' API.
5+
replacement for the deprecated 'account' API. The 'account' can continue to
6+
be used in V0.17 by starting bitcoind with the '-deprecatedrpc=accounts'
7+
argument, and will be fully removed in V0.18.
68

79
The label RPC methods mirror the account functionality, with the following functional differences:
810

@@ -27,6 +29,9 @@ Here are the changes to RPC methods:
2729

2830
| Changed Method | Notes |
2931
| :--------------------- | :------ |
30-
| `addmultisigaddress` | Renamed `account` named parameter to `label`. Still accepts `account` for backward compatibility. |
31-
| `getnewaddress` | Renamed `account` named parameter to `label`. Still accepts `account` for backward compatibility. |
32-
| `listunspent` | Returns new `label` fields, along with `account` fields for backward compatibility. |
32+
| `addmultisigaddress` | Renamed `account` named parameter to `label`. Still accepts `account` for backward compatibility if running with '-deprecatedrpc=accounts'. |
33+
| `getnewaddress` | Renamed `account` named parameter to `label`. Still accepts `account` for backward compatibility. if running with '-deprecatedrpc=accounts' |
34+
| `listunspent` | Returns new `label` fields. `account` field will be returned for backward compatibility if running with '-deprecatedrpc=accounts' |
35+
| `sendmany` | The `account` named parameter has been renamed to `dummy`. If provided, the `dummy` parameter must be set to the empty string, unless running with the `-deprecatedrpc=accounts` argument (in which case functionality is unchanged). |
36+
| `listtransactions` | The `account` named parameter has been renamed to `dummy`. If provided, the `dummy` parameter must be set to the string `*`, unless running with the `-deprecatedrpc=accounts` argument (in which case functionality is unchanged). |
37+
| `getbalance` | `account`, `minconf` and `include_watchonly` parameters are deprecated, and can only be used if running with '-deprecatedrpc=accounts' |

0 commit comments

Comments
 (0)