{ "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.&nbsp; getallreceived 0 should do what you want.&nbsp; (now it's renamed to listreceivedbyaddress 0)&nbsp; The default is 1 confirmation, but I think in reality most digital goods and services can be 0 confirmations.&nbsp; 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/>&nbsp; \"address\" : receiving address<br/>&nbsp; \"label\" : the label of the receiving address<br/>&nbsp; \"amount\" : total amount received by the address<br/>&nbsp; \"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" }
Inscription number 18,209,380
Genesis block 799,364
File type json
File size 2.05 KB
Creation date Nov 21,2023 10:57 pm