Subject: Re: [Bitcoin-development] Listing of generation transactions

From: Stéphane Gimenez <[email-masked]>
Date: Fri, 15 Jul 2011 18:08:34 +0200

> 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?