Author

Topic: Questions concerning the official client API (Read 958 times)

sr. member
Activity: 336
Merit: 254
CEO of Privex Inc. (www.privex.io)
August 24, 2012, 04:42:20 AM
#2
With getrecievedbyaccount, you're obviously going to specify an account for it to list from. So I'd say that the wiki is incorrect.
EDIT: "If [account] not provided return will include all transactions to all accounts", supposedly the wiki claims it returns all transactions to all accounts if it's not supplied.
I've never had the need to use listsinceblock, so I'm not familiar with that.
member
Activity: 90
Merit: 10
I have two questions concerning the official Bitcoin client API:

First, getreceivedbyaccount is listed as taking two optional parameters: account and minconf.  However, the source in bitcoinrpc.cpp implies that the account parameter is actually mandatory.  Oversight in the wiki or error in the code?

Second, what exactly is the difference in semantics between the minconf optional parameter that several calls accept and the target-confirmations optional parameter accepted by listsinceblock?  I understand minconf well enough, but doesn't target-confirmations mean exactly the same thing?

Thank you guys!
Jump to: