HomePhabricator

Rename account to label where appropriate

Authored by Russell Yanofsky <russ@yanofsky.org> on Thu, Nov 29, 19:39.

Description

Rename account to label where appropriate

Summary:
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.

Backport Core PR11536
Depends on D1980 and D2001

Test Plan:

make check && ./test/functional/test_runner.py

Reviewers: #bitcoin_abc, jasonbcox, Fabien, deadalnix

Reviewed By: #bitcoin_abc, jasonbcox, Fabien, deadalnix

Subscribers: deadalnix, Fabien, jasonbcox, teamcity

Differential Revision: https://reviews.bitcoinabc.org/D1986

Details

Committed
schancelThu, Nov 29, 21:01
Pushed
schancelThu, Nov 29, 21:17
Reviewer
Restricted Project
Differential Revision
D1986: Rename account to label where appropriate
Parents
rSTAGING49f8c721b92b: [avalanche] Expire queries once they reached their timeout.
Branches
Unknown
Tags
Unknown

Event Timeline

schancel committed rSTAGING90348f6ecce9: Rename account to label where appropriate (authored by Russell Yanofsky <russ@yanofsky.org>).Thu, Nov 29, 21:01