Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1WXwLc-0002RJ-9Z for bitcoin-development@lists.sourceforge.net; Wed, 09 Apr 2014 17:31:40 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.223.179 as permitted sender) client-ip=209.85.223.179; envelope-from=laanwj@gmail.com; helo=mail-ie0-f179.google.com; Received: from mail-ie0-f179.google.com ([209.85.223.179]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1WXwLb-0000rJ-HK for bitcoin-development@lists.sourceforge.net; Wed, 09 Apr 2014 17:31:40 +0000 Received: by mail-ie0-f179.google.com with SMTP id lx4so2670854iec.24 for ; Wed, 09 Apr 2014 10:31:34 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.42.88.79 with SMTP id b15mr2410617icm.65.1397064694217; Wed, 09 Apr 2014 10:31:34 -0700 (PDT) Received: by 10.64.70.131 with HTTP; Wed, 9 Apr 2014 10:31:34 -0700 (PDT) In-Reply-To: References: Date: Wed, 9 Apr 2014 19:31:34 +0200 Message-ID: From: Wladimir To: Natanael Content-Type: multipart/alternative; boundary=90e6ba3fccc3d3c3c504f69f7805 X-Spam-Score: -0.6 (/) 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 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (laanwj[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1WXwLb-0000rJ-HK Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Bitcoind-in-background mode for SPV wallets 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: Wed, 09 Apr 2014 17:31:40 -0000 --90e6ba3fccc3d3c3c504f69f7805 Content-Type: text/plain; charset=UTF-8 On Wed, Apr 9, 2014 at 5:41 PM, Natanael wrote: > This could probably be done fairly easily by bundling Stratum (it's > not just for pools!) and allowing SPV wallets to ask Bitcoind to start > it (if you don't use it, there's no need to waste the resources), and > then connect to it. The point of using Stratum is that it already is > being used by Electrum, and that it might be an easier way to support > SPV clients than creating a new API in bitcoind for it since Stratum > itself already relies on bitcoind to provide it's services. > Why would a new API be needed? (beside maybe some functionality that would make it easier to integrate) P2P should be enough for SPV clients such as BitcoinJ to get access to (filtered) blocks and transations, and RPC can be used to manage/query the bitcoind instance. I'm not sure what stratum would add. Wladimir --90e6ba3fccc3d3c3c504f69f7805 Content-Type: text/html; charset=UTF-8

On Wed, Apr 9, 2014 at 5:41 PM, Natanael <natanael.l@gmail.com> wrote:
This could probably be done fairly easily by bundling Stratum (it's
not just for pools!) and allowing SPV wallets to ask Bitcoind to start
it (if you don't use it, there's no need to waste the resources), and
then connect to it. The point of using Stratum is that it already is
being used by Electrum, and that it might be an easier way to support
SPV clients than creating a new API in bitcoind for it since Stratum
itself already relies on bitcoind to provide it's services.

Why would a new API be needed? (beside maybe some functionality that would make it easier to integrate)

P2P should be enough for SPV clients such as BitcoinJ to get access to (filtered) blocks and transations, and RPC can be used to manage/query the bitcoind instance. I'm not sure what stratum would add.

Wladimir
--90e6ba3fccc3d3c3c504f69f7805--