diff --git a/doc/release-notes.md b/doc/release-notes.md --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -3,21 +3,27 @@ This release includes the following features and fixes: -'label' API for wallet ----------------------- - + +'label' and 'account' APIs for wallet +------------------------------------- + A new 'label' API has been introduced for the wallet. This is intended as a - replacement for the deprecated 'account' API. - + replacement for the deprecated 'account' API. The 'account' can continue to + be used in v0.20 by starting bitcoind with the '-deprecatedrpc=accounts' + argument, and will be fully removed in v0.21. + The label RPC methods mirror the account functionality, with the following functional differences: - - - Labels can be set on any address, not just receiving addresses. This functionality was previously only available through the GUI. - - Labels can be deleted by reassigning all addresses using the `setlabel` RPC method. - - There isn't support for sending transactions _from_ a label, or for determining which label a transaction was sent from. + + - Labels can be set on any address, not just receiving addresses. This + functionality was previously only available through the GUI. + - Labels can be deleted by reassigning all addresses using the `setlabel` RPC + method. + - There isn't support for sending transactions _from_ a label, or for + determining which label a transaction was sent from. - Labels do not have a balance. - + Here are the changes to RPC methods: - + | Deprecated Method | New Method | Notes | | :---------------------- | :-------------------- | :-----------| | `getaccount` | `getaddressinfo` | `getaddressinfo` returns a json object with address information instead of just the name of the account as a string. | @@ -29,9 +35,12 @@ | `move` | n/a | _no replacement_ | | `sendfrom` | n/a | _no replacement_ | | `setaccount` | `setlabel` | Both methods now: