$ ./bitcoin getinfo
{
"version" : 60099,
"protocolversion" : 60000,
"walletversion" : 60000,
"balance" : 698.57338016,
"blocks" : 180489,
"connections" : 8,
"proxy" : "",
"difficulty" : 1733207.51384839,
"testnet" : false,
"keypoololdest" : 1337242670,
"keypoolsize" : 1001,
"paytxfee" : 0.00000000,
"errors" : "URGENT: upgrade required, see http://bitcoin.org/dos for details"
}
$ ./bitcoin getbalance
698.57338016
$ ./bitcoin getbalance '' 0
2883.11218472
$ ./bitcoin getbalance '' 1
2413.11218472
$ ./bitcoin listaccounts
{
"" : 2413.11218472
}
$ ./bitcoin getbalance '*' 0
2883.11218472
$ ./bitcoin getbalance '*' 1
2413.11218472
Ok, so what I conclude is the following : there is apparently a bug in getbalance (called without additional arguments), that prevents it from reporting the correct balance. I assume that calling getbalance and passing an account yields the correct balances (I track them separately in a RDBMS).
Since I don't use accounts getbalance '' X and getbalance '*' X logically yield the same result.
This is very frustrating, if it is confirmed to be a bug in bitcoind (I suspect it's linked with
this bug) then I think its priority should be bumped a fair bit since it prevents sending valid funds.
Any insight, idea or suggestion from the friendly Bitcoin community will be very appreciated!