Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Qhkwa-0007E9-Pm for bitcoin-development@lists.sourceforge.net; Fri, 15 Jul 2011 16:08:48 +0000 X-ACL-Warn: Received: from smtp5-g21.free.fr ([212.27.42.5]) by sog-mx-2.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1QhkwY-00084O-14 for bitcoin-development@lists.sourceforge.net; Fri, 15 Jul 2011 16:08:48 +0000 Received: from tenebreuse.gim.name (unknown [82.229.193.250]) by smtp5-g21.free.fr (Postfix) with ESMTP id 1D870D48111 for ; Fri, 15 Jul 2011 18:08:35 +0200 (CEST) Received: by tenebreuse.gim.name (Postfix, from userid 1000) id A72DCF241; Fri, 15 Jul 2011 18:08:34 +0200 (CEST) Date: Fri, 15 Jul 2011 18:08:34 +0200 From: =?utf-8?B?U3TDqXBoYW5l?= Gimenez To: Bitcoin Dev Message-ID: <20110715160834.GA5822@tenebreuse> References: <20110715004824.GA697585@tenebreuse> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110715004824.GA697585@tenebreuse> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.27.42.5 listed in list.dnswl.org] X-Headers-End: 1QhkwY-00084O-14 Subject: Re: [Bitcoin-development] Listing of generation transactions X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2011 16:08:48 -0000 > After reading pull/417, I'm noticing that generation transactions > always appear twice in listtransaction output: > > * one item with account "" and category "generate"/"imature"/"orphan", > plus some transaction data. > > * one with the account associated to the destination address and > category "received", plus the same transaction data. Sorry! the item duplication was due to the pull. (very stupid me) The issue with account "" remains. For coinbase transactions, we may list one "generated" item per txout that corresponds to an owned address. Accounts would be associated accordingly, in the same way as for usual "received" amounts. Account balances would also take into account these generated amounts in the obvious way. Would that be ok? I think few people rely on these specific details, and they would be happy with such a change. Moreover, this would actually simplify the code a little bit. > Last, it happens that {list,get}receivedby{address,account} commands > never list or take into account generation transactions. I'm not sure > how the help message associated to those commands should be > understood. As a user, I would assume that generated transaction are > included in these listings/amounts. > > Is all this related with some issues encountered by E-wallet > providers?