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 1Z4YgL-0002KQ-2y for bitcoin-development@lists.sourceforge.net; Mon, 15 Jun 2015 18:00:25 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.213.182 as permitted sender) client-ip=209.85.213.182; envelope-from=akaramaoun@gmail.com; helo=mail-ig0-f182.google.com; Received: from mail-ig0-f182.google.com ([209.85.213.182]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1Z4YgJ-0004bb-9C for bitcoin-development@lists.sourceforge.net; Mon, 15 Jun 2015 18:00:25 +0000 Received: by igblz2 with SMTP id lz2so56301176igb.1 for ; Mon, 15 Jun 2015 11:00:18 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.50.132.33 with SMTP id or1mr22730574igb.31.1434391217984; Mon, 15 Jun 2015 11:00:17 -0700 (PDT) Sender: akaramaoun@gmail.com Received: by 10.64.20.229 with HTTP; Mon, 15 Jun 2015 11:00:17 -0700 (PDT) In-Reply-To: References: <557D2571.601@gmail.com> Date: Mon, 15 Jun 2015 18:00:17 +0000 X-Google-Sender-Auth: _0oag2jWAH5voaBhzh94Hk7ssWA Message-ID: From: Andrew To: Mike Hearn Content-Type: multipart/alternative; boundary=047d7b1636e10470d40518923be6 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 (akaramaoun[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: 1Z4YgJ-0004bb-9C Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Scaling Bitcoin with Subchains 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 18:00:25 -0000 --047d7b1636e10470d40518923be6 Content-Type: text/plain; charset=UTF-8 Pieter: I kind of see your point (but I think you're missing some key points). You mean just download all the headers and then just verify the transactions you filter out by using their corresponding merkle trees, right? But still, I don't think that would scale as well as with the tree structure I propose. Because, firstly, you don't really need the headers of the sibling chains. You just need the headers of the parent chains since the parent verifies all the siblings. All you really need in a typical (non-mining) situation is the headers or full blocks in one path going down the tree starting from the root chain. So that means O(log n) needs to be stored (headers or blocks) (n the number of transaction on the network). With big blocks, you still need O(n) headers. I know headers are small, but still they take up space and verification time. Also, since you are storing the full blocks on the chains you want, you are validating the headers of those blocks and you are sure that you are seeing all transactions on those blocks. And if certain addresses must stay on those blocks, you will know that you are catching all of the transactions corresponding to those blocks. If you just filter out based on addresses or other criteria, you can be denied some of those transactions by full nodes, and you may not know about it. Say for example, your government representative publishes on of his public addresses that is used for paying for expenses. Then with my system, you can be sure to catch every transaction being spent from that address (or UTXO or whatever you want to call it). If you just filter on any transaction that includes that address, you may not catch all of those transactions. Same with incoming funds. There are also advantages for mining decentralization as I have explained in my previous posts. So still not sure you are right here... Thanks On Mon, Jun 15, 2015 at 5:18 PM, Mike Hearn wrote: > It's simple: either you care about validation, and you must validate >> everything, or you don't, and you don't validate anything. >> > Pedantically: you could validate a random subset of all scripts, to give > yourself probabilistic verification rather than full vs SPV. If enough > people do it with a large enough subset the probability of a problem being > detected goes up a lot. You still pay the cost of the database updates. > > But your main point is of course completely right, that side chains are > not a way to scale up. > -- PGP: B6AC 822C 451D 6304 6A28 49E9 7DB7 011C D53B 5647 --047d7b1636e10470d40518923be6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Pieter: I kind of see your point (but I think you're m= issing some key points). You mean just download all the headers and then ju= st verify the transactions you filter out by using their corresponding merk= le trees, right? But still, I don't think that would scale as well as w= ith the tree structure I propose. Because, firstly, you don't really ne= ed the headers of the sibling chains. You just need the headers of the pare= nt chains since the parent verifies all the siblings. All you really need i= n a typical (non-mining) situation is the headers or full blocks in one pat= h going down the tree starting from the root chain. So that means O(log n) = needs to be stored (headers or blocks) (n the number of transaction on the = network). With big blocks, you still need O(n) headers. I know headers are = small, but still they take up space and verification time. Also, since you = are storing the full blocks on the chains you want, you are validating the = headers of those blocks and you are sure that you are seeing all transactio= ns on those blocks. And if certain addresses must stay on those blocks, you= will know that you are catching all of the transactions corresponding to t= hose blocks. If you just filter out based on addresses or other criteria, y= ou can be denied some of those transactions by full nodes, and you may not = know about it. Say for example, your government representative publishes on= of his public addresses that is used for paying for expenses. Then with my= system, you can be sure to catch every transaction being spent from that a= ddress (or UTXO or whatever you want to call it). If you just filter on any= transaction that includes that address, you may not catch all of those tra= nsactions. Same with incoming funds.

There are also advantages for m= ining decentralization as I have explained in my previous posts. So still n= ot sure you are right here...

Thanks

On Mon, Jun 15, 2015 at 5:18 PM, Mike H= earn <mike@plan99.net> wrote:

It's simpl= e: either you care about validation, and you must validate everything, or y= ou don't, and you don't validate anything.

<= div>Pedantically: you could validate a random subset of all scripts, to giv= e yourself probabilistic verification rather than full vs SPV. If enough pe= ople do it with a large enough subset the probability of a problem being de= tected goes up a lot. You still pay the cost of the database updates.
=

But your main point is of course completely right, that= side chains are not a way to scale up.=C2=A0



--
PGP: B6AC 822C 451D 6304 6A28 =C2=A049E9 7DB7 011C D53B 5647
--047d7b1636e10470d40518923be6--