summaryrefslogtreecommitdiff
path: root/97/09100b29874ab8a528568b990dc79ff79f9f76
blob: aceb20653ebd872c24b9939c1ca5f4ecdc558272 (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-1.v43.ch3.sourceforge.com ([172.29.43.191]
	helo=mx.sourceforge.net)
	by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
	(envelope-from <craig@theagricolas.org>) id 1RsvHm-0006ER-Vk
	for bitcoin-development@lists.sourceforge.net;
	Thu, 02 Feb 2012 11:57:06 +0000
Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of
	theagricolas.org designates 208.85.3.226 as permitted sender)
	client-ip=208.85.3.226; envelope-from=craig@theagricolas.org;
	helo=www554.hostpc.com; 
Received: from www554.hostpc.com ([208.85.3.226])
	by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256)
	(Exim 4.76) id 1RsvHj-0006mY-8H
	for bitcoin-development@lists.sourceforge.net;
	Thu, 02 Feb 2012 11:57:06 +0000
Received: from c-75-69-69-197.hsd1.vt.comcast.net ([75.69.69.197] helo=han)
	by www554.hostpc.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72)
	(envelope-from <craig@theagricolas.org>)
	id 1Rsuvt-0007Ui-9J; Thu, 02 Feb 2012 06:34:34 -0500
Received: from agricolc by han with local (Exim 4.72)
	(envelope-from <craig@theagricolas.org>)
	id 1Rsuvs-0003L2-SF; Thu, 02 Feb 2012 06:34:29 -0500
Date: Thu, 2 Feb 2012 06:34:24 -0500
From: Craig B Agricola <craig@theagricolas.org>
To: Michael Gr?nager <gronager@ceptacle.com>
Message-ID: <20120202113423.GB1622@theagricolas.org>
References: <D55C3D18-8286-44E9-B877-6FCE7C05E980@ceptacle.com>
	<CAJna-HiS34V5rNrRfFOMRJ6JhRmS1aeEE3oA=o07Hgf4S6qNfw@mail.gmail.com>
	<54950761-EBFB-402E-8D7B-0B54A08260D2@ceptacle.com>
	<CAD2Ti29cto8wS1jO5yOkORbE48c+t6Of2vysXcA0xM9LKCOCgg@mail.gmail.com>
	<4CE9708D-0627-480C-B928-3F812544CD90@ceptacle.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4CE9708D-0627-480C-B928-3F812544CD90@ceptacle.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
X-Spam-Score: -1.5 (-)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
	See http://spamassassin.org/tag/ for more details.
	-1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for
	sender-domain
	-0.0 SPF_PASS               SPF: sender matches SPF record
X-Headers-End: 1RsvHj-0006mY-8H
Cc: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
Subject: Re: [Bitcoin-development] Announcement: libcoin
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: Thu, 02 Feb 2012 11:57:07 -0000

On Thu, Feb 02, 2012 at 09:32:24AM +0100, Michael Gr?nager wrote:
> 
>    // Register Wallet methods. - note that we don't have any auth, so anyone (on localhost) can read your balance!
>    server.registerMethod(method_ptr(new GetBalance(wallet)));
>    server.registerMethod(method_ptr(new SendToAddress(wallet)), Auth("username","password"));
>    server.registerMethod(method_ptr(new ExtraGetBalance(wallet)));
>    server.registerMethod(method_ptr(new ExtraSendToAddress(wallet)), Auth("username","password"));
>    server.run();

This should probably be

*    server.registerMethod(method_ptr(new ExtraGetBalance(extrawallet)));
*    server.registerMethod(method_ptr(new ExtraSendToAddress(extrawallet)), Auth("username","password"));

right?  Easy to miss if both wallets were empty in your quick test...  Awesome job with libcoin, BTW!

 -Craig