summaryrefslogtreecommitdiff
path: root/fc/38b7adc68c17a5233e96639315467163551757
blob: ce110a92a7b5fa5979d4db04d69ef5ac977ac448 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193]
	helo=mx.sourceforge.net)
	by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
	(envelope-from <envelope@gim.name>) id 1QiB1H-0008Qy-3k
	for bitcoin-development@lists.sourceforge.net;
	Sat, 16 Jul 2011 19:59:23 +0000
X-ACL-Warn: 
Received: from smtp5-g21.free.fr ([212.27.42.5])
	by sog-mx-3.v43.ch3.sourceforge.com with esmtp (Exim 4.76)
	id 1QiB1D-0007XV-Ex for bitcoin-development@lists.sourceforge.net;
	Sat, 16 Jul 2011 19:59:23 +0000
Received: from tenebreuse.gim.name (unknown [82.229.193.250])
	by smtp5-g21.free.fr (Postfix) with ESMTP id 11F16D4806C
	for <bitcoin-development@lists.sourceforge.net>;
	Sat, 16 Jul 2011 21:59:08 +0200 (CEST)
Received: by tenebreuse.gim.name (Postfix, from userid 1000)
	id 909B2FDEC; Sat, 16 Jul 2011 21:59:07 +0200 (CEST)
Date: Sat, 16 Jul 2011 21:59:07 +0200
From: =?utf-8?B?U3TDqXBoYW5l?= Gimenez <dev@gim.name>
To: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
Message-ID: <20110716195907.GA311029@tenebreuse>
References: <201107161314.13267.luke@dashjr.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <201107161314.13267.luke@dashjr.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Content-Transfer-Encoding: quoted-printable
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: 1QiB1D-0007XV-Ex
Subject: Re: [Bitcoin-development] [RFC] listtransactions reformatting
X-BeenThere: bitcoin-development@lists.sourceforge.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
X-List-Received-Date: Sat, 16 Jul 2011 19:59:23 -0000

Hi,

You may have a look at the following proposal. It associates
generations txouts with the appropriate addresses and accounts.
(See my previous mail)

https://github.com/sgimenez/bitcoin/commit/a8e6510042f2f7f951414c7da12466=
8b30da4acd

> * Additions to your wallet always are category:"receive", no matter
>   what kind of transaction

Either this, or maybe webservices should be told to forget about
categories and to rely only on the sign of the amounts. Maybe a "type"
field with values "credit"/"debit" could help them? This way, more
categories could be added later (escrow transactions, or other scripts
that might be standardized).

An official API guide (not just a technical reference) would be very
valuable here.

Last, I agree that {list,get}receivedby* should include generated
amounts, because there is currently no way to do this for
generations. (This issue is not addressed by my patch yet)

Best,
St=C3=A9phane