From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1SfoKU-0004Pe-T7 for bitcoin-development@lists.sourceforge.net; Sat, 16 Jun 2012 08:25:58 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.175 as permitted sender) client-ip=74.125.82.175; envelope-from=mh.in.england@gmail.com; helo=mail-we0-f175.google.com; Received: from mail-we0-f175.google.com ([74.125.82.175]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1SfoKS-0006JW-Id for bitcoin-development@lists.sourceforge.net; Sat, 16 Jun 2012 08:25:58 +0000 Received: by werg55 with SMTP id g55so2924403wer.34 for ; Sat, 16 Jun 2012 01:25:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.180.8.69 with SMTP id p5mr10052714wia.17.1339835148179; Sat, 16 Jun 2012 01:25:48 -0700 (PDT) Sender: mh.in.england@gmail.com Received: by 10.216.254.232 with HTTP; Sat, 16 Jun 2012 01:25:48 -0700 (PDT) In-Reply-To: <1339785752.91313.YahooMailNeo@web121004.mail.ne1.yahoo.com> References: <1339785752.91313.YahooMailNeo@web121004.mail.ne1.yahoo.com> Date: Sat, 16 Jun 2012 10:25:48 +0200 X-Google-Sender-Auth: zo8bsc8flwKL-ezIdiyLXCMLi6U Message-ID: From: Mike Hearn To: Amir Taaki Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mh.in.england[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 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: 1SfoKS-0006JW-Id Cc: "bitcoin-development@lists.sourceforge.net" Subject: Re: [Bitcoin-development] New P2P commands for diagnostics, SPV clients 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: Sat, 16 Jun 2012 08:25:59 -0000 The bottleneck for the android Bitcoin Wallet app is rapidly becoming bandwidth and parse time. On Fri, Jun 15, 2012 at 8:42 PM, Amir Taaki wrote: > Why though? The bottleneck is not network traffic but disk space usage/bl= ockchain validation time. > > > > ----- Original Message ----- > From: Mike Hearn > To: Jeff Garzik > Cc: Bitcoin Development > Sent: Friday, June 15, 2012 3:43 PM > Subject: Re: [Bitcoin-development] New P2P commands for diagnostics, SPV = clients > >> Yes, the format is something that must be hashed out (no pun >> intended). =C2=A0Need input from potential users about what information >> they might need. > > Matts point that a branch-per-transaction may duplicate data is well > made, that said, I suspect a format that tries to fix this would be > much more complicated. > > How about see this project as a three part change? > > First step - add the mempool command and make nodes sync up their > mempools on startup. > > Second step - if protocol version >=3D X, the "block" message consists > of a header + num transactions + vector=C2=A0 instead of the full > transactions themselves. > > On receiving such a block, we go look to see which transactions we're > missing from the mempool and request them with getdata. Each time we > receive a tx message we check to see if it was one we were missing > from a block. Once all transactions in the block message are in > memory, we go ahead and assemble the block, then verify as per normal. > This should speed up block propagation. Miners have an incentive to > upgrade because it should reduce wasted work. > > Third step - new message, getmerkletx takes a vector and returns > a merkletx message: "merkle branch missing the root + transaction data > itself" for each requested transaction. The filtering commands are > added, so the block message now only lists transaction hashes that > match the filter which can then be requested with getmerkletx. > > -------------------------------------------------------------------------= ----- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > > > -------------------------------------------------------------------------= ----- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development