RPC problem; getbalance is broken.
On a mintcoind fresh from git checkout, with synced blockchain:
someone@somebox:~$ mintcoind listaccounts
{
"" : 0.00000000,
"gamebank" : 999999.00000000
}
someone@somebox:~$ mintcoind getbalance gamebank
-9216810327147.70507812
someone@somebox:~$ mintcoind getbalance test
-9216811327146.70507812
This is incorrect. getbalance gamebank should return 999999.0, and getbalance test should return 0.
what os you use? I tried on windows, looks fine to me. It did show my balance.
Yes I see the problem now. The problem only exist if you specific the account name. If you do "mintcoind getbalance", then it shows total correctly, but if you use "mintcoind getbalance acctname" then the displayed number is wrong.
So for your purpose, just use getblance without further arguments, it will be fine.
You don't understand my use case.
I'm a service provider and need this RPC call functional.