Return-Path: <lf-lists@mattcorallo.com> Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id E00C2279 for <bitcoin-dev@lists.linuxfoundation.org>; Fri, 6 May 2016 03:09:28 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.bluematt.me (mail.bluematt.me [192.241.179.72]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 5B9A11BC for <bitcoin-dev@lists.linuxfoundation.org>; Fri, 6 May 2016 03:09:28 +0000 (UTC) Received: from [172.17.0.2] (gw.vpn.bluematt.me [162.243.132.6]) by mail.bluematt.me (Postfix) with ESMTPSA id 9FCC75FB8B; Fri, 6 May 2016 03:09:26 +0000 (UTC) To: Gregory Maxwell <greg@xiph.org> References: <5727D102.1020807@mattcorallo.com> <CAAS2fgQcDPRt7OH_+Wm_MRkECuo0EUcRntMrAHt9Oe48iPHVHQ@mail.gmail.com> From: Matt Corallo <lf-lists@mattcorallo.com> Message-ID: <572C0ADA.5050408@mattcorallo.com> Date: Fri, 6 May 2016 03:09:14 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <CAAS2fgQcDPRt7OH_+Wm_MRkECuo0EUcRntMrAHt9Oe48iPHVHQ@mail.gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org X-Mailman-Approved-At: Fri, 06 May 2016 03:23:31 +0000 Cc: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org> Subject: Re: [bitcoin-dev] Compact Block Relay BIP X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Development Discussion <bitcoin-dev.lists.linuxfoundation.org> List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>, <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe> List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/> List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org> List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help> List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>, <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe> X-List-Received-Date: Fri, 06 May 2016 03:09:29 -0000 Thanks Greg for the testing! Note that to those who are reviewing the doc, a few minor tweaks to wording and clarification have been made to the git version, so please review there. On 05/03/16 05:02, Gregory Maxwell wrote: > On Mon, May 2, 2016 at 10:13 PM, Matt Corallo via bitcoin-dev > <bitcoin-dev@lists.linuxfoundation.org> wrote: >> Hi all, >> >> The following is a BIP-formatted design spec for compact block relay >> designed to limit on wire bytes during block relay. You can find the >> latest version of this document at >> https://github.com/TheBlueMatt/bips/blob/master/bip-TODO.mediawiki. > > Thanks Matt! > > I've been testing this for a couple weeks (in various forms). I've > been getting over 96% reduction in block-bytes sent. I don't have a > good metric for it, but bandwidth spikes are greatly reduced. The > largest blocktxn message I've seen on a node that has been up for at > least a day is 475736 bytes. 94% of the blocks less than 100kb must be > sent in total. > > In the opportunistic mode my measurements are showing 73% of blocks > transferred with 0.5 RTT even without prediction, 87% if up to 4 > additional transactions are predicted, and 91% for 30 transactions (my > rough estimate for the 10k maximum prediction suggested in the BIP. >