Looks like the "getreceivedbyaccount" rpc display is broken on 0.3.18.
# ~/bin/bitcoind getnewaddress
* Does a 0.01 BTC spend from another computer to 1Fs5rqB2sXZ3kax1r3HfuYpK2ksSxLYJT8 *
# ~/bin/bitcoind getreceivedbyaccount 1Fs5rqB2sXZ3kax1r3HfuYpK2ksSxLYJT8 0
* Trying some PHP code to talk to the JSON-RPC directly *
# cat test.php
$bitcoin=bitcoin_api_call("getamountreceived",array("1Fs5rqB2sXZ3kax1r3HfuYpK2ksSxLYJT8",0)); //0 confirmations. I've also tried 1+
# php test.php
[result] => 0.01
[id] => 1
So I see the 0.01 BTC on my php client, but not on the command line. Yes, "getinfo" and other commands work. Yes, I have proper "allowrpc" command line options. Yes, I've tried waiting for confirmations. I get the exact same result.
Seems to be a problem with the display when you use the bitcoind as a client?? Can anyone confirm that they have the same problem?
OS: FreeBSD 7.2-RELEASE-p8/amd64