getbalance account cmd deprecated ?

naruby

New Member
Feb 17, 2016
29
33
13
noticed that the help of getbalance say:

Code:
getbalance ( "account" minconf includeWatchonly )

If account is not specified, returns the server's total available balance.
If account is specified (DEPRECATED), returns the balance in the account.
I'm very worried about the deprecated statement as my Slack Tipbot of build on accounts in a wallet and getting their balance is of course a key part of know how much a user can tip an other.

Can a core dev place up me at ease ?
 

UdjinM6

Official Dash Dev
Core Developer
Dash Core Group
May 20, 2014
3,639
3,537
1,183
DEPRECATED means it can go away one day. Still _should_ work as of current version though.

Also, as I mentioned many times already, using accounts is not a good idea since there is nothing preventing balance of one account to go below zero by "borrowing" coins from another account. Plus "moving" funds across accounts is internal-only operation, it's not listed on blockchain in any way thus accounting could be messed up pretty easily.