diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2017-10-20 13:27:55 -0400 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2018-03-19 12:05:35 -0400 |
commit | 045eeb887092a631d49194e743859b1da84c1d5d (patch) | |
tree | f51ebb3d012ec3912ac85e63d8cf68e0146c116c /doc/release-notes.md | |
parent | c39dd2ef59c986576726cc356a27165486fd0d65 (diff) |
Rename account to label where appropriate
This change only updates strings and adds RPC aliases, but should simplify the
implementation of address labels in
https://github.com/bitcoin/bitcoin/pull/7729, by getting renaming out of the
way and letting it focus on semantics.
The difference between accounts and labels is that labels apply only to
addresses, while accounts apply to both addresses and transactions
(transactions have "from" and "to" accounts). The code associating accounts
with transactions is clumsy and unreliable so we would like get rid of it.
Diffstat (limited to 'doc/release-notes.md')
-rw-r--r-- | doc/release-notes.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/release-notes.md b/doc/release-notes.md index a79012722f..b183ee0a59 100644 --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -63,6 +63,16 @@ RPC changes - The `createrawtransaction` RPC will now accept an array or dictionary (kept for compatibility) for the `outputs` parameter. This means the order of transaction outputs can be specified by the client. - The `fundrawtransaction` RPC will reject the previously deprecated `reserveChangeKey` option. +- Wallet `getnewaddress` and `addmultisigaddress` RPC `account` named + parameters have been renamed to `label` with no change in behavior. +- Wallet `getlabeladdress`, `getreceivedbylabel`, `listreceivedbylabel`, and + `setlabel` RPCs have been added to replace `getaccountaddress`, + `getreceivedbyaccount`, `listreceivedbyaccount`, and `setaccount` RPCs, + which are now deprecated. There is no change in behavior between the + new RPCs and deprecated RPCs. +- Wallet `listreceivedbylabel`, `listreceivedbyaccount` and `listunspent` RPCs + add `label` fields to returned JSON objects that previously only had + `account` fields. External wallet files --------------------- |