From 89306ab0df93bfdf5630910bc20b1eccb7379172 Mon Sep 17 00:00:00 2001 From: Russell Yanofsky Date: Sat, 6 Oct 2018 00:48:23 -0400 Subject: [wallet] Restore ability to list incoming transactions by label Backport of PR 14411 to v0.17. This change partially reverts #13075 and #14023. Fixes #14382 --- doc/release-notes.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/release-notes.md b/doc/release-notes.md index 7f4ece80ad..ea9a45347d 100644 --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -71,7 +71,23 @@ Notable changes 0.17.x change log ================= -... +`listtransactions` label support +-------------------------------- + +The `listtransactions` RPC `account` parameter which was deprecated in 0.17.0 +and renamed to `dummy` has been un-deprecated and renamed again to `label`. + +When bitcoin is configured with the `-deprecatedrpc=accounts` setting, specifying +a label/account/dummy argument will return both outgoing and incoming +transactions. Without the `-deprecatedrpc=accounts` setting, it will only return +incoming transactions (because it used to be possible to create transactions +spending from specific accounts, but this is no longer possible with labels). + +When `-deprecatedrpc=accounts` is set, it's possible to pass the empty string "" +to list transactions that don't have any label. Without +`-deprecatedrpc=accounts`, passing the empty string is an error because returning +only non-labeled transactions is not generally useful behavior and can cause +confusion. Credits ======= -- cgit v1.2.3