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 ) id 1Z4RZT-0003F5-Tj for bitcoin-development@lists.sourceforge.net; Mon, 15 Jun 2015 10:24:51 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.160.174 as permitted sender) client-ip=209.85.160.174; envelope-from=pieter.wuille@gmail.com; helo=mail-yk0-f174.google.com; Received: from mail-yk0-f174.google.com ([209.85.160.174]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1Z4RZS-00015q-TT for bitcoin-development@lists.sourceforge.net; Mon, 15 Jun 2015 10:24:51 +0000 Received: by ykaz81 with SMTP id z81so52562266yka.3 for ; Mon, 15 Jun 2015 03:24:45 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.129.131.214 with SMTP id t205mr33061181ywf.26.1434363885471; Mon, 15 Jun 2015 03:24:45 -0700 (PDT) Received: by 10.37.93.67 with HTTP; Mon, 15 Jun 2015 03:24:45 -0700 (PDT) In-Reply-To: References: Date: Mon, 15 Jun 2015 12:24:45 +0200 Message-ID: From: Pieter Wuille To: Mike Hearn Content-Type: multipart/alternative; boundary=001a114f57c0df4eec05188bdde5 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 (pieter.wuille[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 0.0 AWL AWL: Adjusted score from AWL reputation of From: address X-Headers-End: 1Z4RZS-00015q-TT Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] comments on BIP 100 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: Mon, 15 Jun 2015 10:24:51 -0000 --001a114f57c0df4eec05188bdde5 Content-Type: text/plain; charset=UTF-8 On Mon, Jun 15, 2015 at 11:27 AM, Mike Hearn wrote: > I persevered for several months to add a very small "API" I needed for my > app to Bitcoin Core, and it was in the end a waste of time. There are no > actionable items left for the getutxo patch, regardless, I had to fork > Bitcoin to get it out there. It would have been *much* easier to just > say, fuck it, I'll use blockchain.info and in fact some in this community > told me to do exactly that. But, the approach I chose has been working fine > for months now. > Since you keep bringing this up, I'll try to clarify this once again. Since your patch was to enable querying spentness of particular outputs, which is fundamentally unprovable data in Bitcoin as is (even your proposed protocol that verifies scripts with amounts under sighash only proves correctness of the txout data, not its spentness), I indeed don't see why you would want anything else than querying such a service. I wish it were different, but the choice is between querying a central service, or trusting something a random peer on the internet tells you. At least with the central service you can use an authenticated protocol with known keys to detect MITM, and have someone to point to when they lie. Not decentralized you say? Absolutely. But why do we want decentralization in the first place? To remove central points of failure, and to reduce trust. Bitcoin gets away with decentralization because it can validate (to more or lesser extent) the data it received from its identityless peers. If you can't do that, and are just aiming for removing central points of failure, run a bunch of servers yourself, and let others run their own. That sounds remarkably close to what you actually did, actually... Do you want actually trustless querying of spentness in the future? Help working on one of the several TXO commitment ideas to get them implemented. -- Pieter --001a114f57c0df4eec05188bdde5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Mon, Jun 15, 2015 at 11:27 AM, Mike Hearn <mike@plan99.n= et> wrote:
I persevered for several months to add a ver= y small "API" I needed for my app to Bitcoin Core, and it was in = the end a waste of time. There are no actionable items left for the getutxo= patch, regardless, I had to fork Bitcoin to get it out there. It would hav= e been much=C2=A0easier to just say, fuck it, I'll use blockchain.info and in fa= ct some in this community told me to do exactly that. But, the approach I c= hose has been working fine for months now.

Since you keep bringing this up, I'll try to clarify th= is once again.

Since your patch was to enable querying spentne= ss of particular outputs, which is fundamentally unprovable data in Bitcoin= as is (even your proposed protocol that verifies scripts with amounts unde= r sighash only proves correctness of the txout data, not its spentness), I = indeed don't see why you would want anything else than querying such a = service. I wish it were different, but the choice is between querying a cen= tral service, or trusting something a random peer on the internet tells you= . At least with the central service you can use an authenticated protocol w= ith known keys to detect MITM, and have someone to point to when they lie.<= br>
Not decentralized you say? Absolute= ly. But why do we want decentralization in the first place? To remove centr= al points of failure, and to reduce trust. Bitcoin gets away with decentral= ization because it can validate (to more or lesser extent) the data it rece= ived from its identityless peers. If you can't do that, and are just ai= ming for removing central points of failure, run a bunch of servers yoursel= f, and let others run their own. That sounds remarkably close to what you a= ctually did, actually...

Do you wan= t actually trustless querying of spentness in the future? Help working on o= ne of the several TXO commitment ideas to get them implemented.

-- <= br>
Pieter

--001a114f57c0df4eec05188bdde5--