I'm messing around with the bitcoind daemon and I now stumbled upon accounts. As far as I now understand, my bitcoin installation has one wallet, which contains one or more addresses. In general, you will want to use an address to receive money on only once. So for every new incoming transaction I create a new address (getnewaddress
). As I list my available addresses I see that each address also has an account, which is in my installation always defined as ""
(empty). In the bitcoind API calls list I see a command called setaccount
.
I now wonder though, what would I need an account for? Is that something similar to tagging emails (effectively grouping them together), or does an account entail something else?
What would be common use-cases in which I would want to use accounts?