{
"subject": "Re: CLI bitcoin generation",
"content": {
"format": "html",
"body": "<div class=\"post\"><div class=\"quoteheader\"><a href=\"https://bitcointalk.org/index.php?topic=145.msg1194#msg1194\">Quote from: molybdenum on May 22, 2010, 06:44:20 PM</a></div><div class=\"quote\">An optional parameter to specify the minimum number of blocks after that transaction (getallreceived 1 for current behavior, or just getallreceived, getallreceived 5 for the paranoid, getallreceived 0 for instant confirms)?<br/></div>Yeah, that actually is what it is. getallreceived 0 should do what you want. (now it's renamed to listreceivedbyaddress 0) The default is 1 confirmation, but I think in reality most digital goods and services can be 0 confirmations. Like you say, if you need more than 0 confirmations, you could show two numbers, unconfirmed and available balance, so they immediately see their transaction went through.<br/><br/>listreceivedbyaddress [minconf=1] [includeempty=false]<br/>[minconf] is the minimum number of confirmations before payments are included.<br/>[includeempty] whether to include addresses that haven't received any payments.<br/>Returns an array of objects containing:<br/> \"address\" : receiving address<br/> \"label\" : the label of the receiving address<br/> \"amount\" : total amount received by the address<br/> \"confirmations\" : number of confirmations of the most recent transaction included<br/><br/>or listreceivedbylabel if you're labelling addresses with their username.<br/><br/>So far I've concentrated on functions for web merchants, not so much on stuff for remote management of headless coin generators yet.</div>"
},
"source": {
"name": "Bitcoin Forum",
"url": "https://bitcointalk.org/index.php?topic=145.msg1256#msg1256"
},
"date": "2010-05-26T20:09:34Z"
}