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 ) 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 ) id 1Rsuvt-0007Ui-9J; Thu, 02 Feb 2012 06:34:34 -0500 Received: from agricolc by han with local (Exim 4.72) (envelope-from ) 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 To: Michael Gr?nager Message-ID: <20120202113423.GB1622@theagricolas.org> References: <54950761-EBFB-402E-8D7B-0B54A08260D2@ceptacle.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 Subject: Re: [Bitcoin-development] Announcement: libcoin 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: 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