You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/release-notes-pr12892.md
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,10 @@
1
-
'label' API for wallet
2
-
----------------------
1
+
'label' and 'account' APIs for wallet
2
+
-------------------------------------
3
3
4
4
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.
6
8
7
9
The label RPC methods mirror the account functionality, with the following functional differences:
8
10
@@ -27,6 +29,9 @@ Here are the changes to RPC methods:
27
29
28
30
| Changed Method | Notes |
29
31
| :--------------------- | :------ |
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