summaryrefslogtreecommitdiff
path: root/cb/d303e3ad4a58b378749ab3cf84e25ad62c424a
blob: 11fe884ee92d0d5792633c480b2493b1051145fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
Return-Path: <gmaxwell@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 95A345AE
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue,  3 May 2016 05:02:31 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-lf0-f43.google.com (mail-lf0-f43.google.com
	[209.85.215.43])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id BDBED12C
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue,  3 May 2016 05:02:30 +0000 (UTC)
Received: by mail-lf0-f43.google.com with SMTP id u64so8940675lff.3
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 02 May 2016 22:02:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc; bh=e0h+CdnfhVgwzrQGk+kgxhpwbVr4whScB3+VJje1S/A=;
	b=cv68MjnF/t7lVr+Ze/70CpKR918wByq6G30gw2K8+tPEaVY0xANwH4PIp6TQ2B5Lmp
	4PtH77zbZPG7MoVGozKCdMYAZJ7FCHV8AILjLdFRNZ2gMuwJcPkkV/H7HncYMb5u44D3
	NEEAZZX36y4SEXILJMFMM7pVK1vplusOSPg5ZIe2VeK4JMuRjQx4eJUjL7cyzenGQjz0
	7lYkrTmt9D77b63rq8ecuTY6ihw/E/ckQ9f3yPOwqjxUR5gsYik0RJRh7LT8C0KpfoMS
	kiKTIEKr5YM86LDQmJltvR6fbVkEydvJd+5t2EsHGErNBG2O4G/Nv/PyT3BLL9HesI85
	8/Ug==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:sender:in-reply-to:references:date
	:message-id:subject:from:to:cc;
	bh=e0h+CdnfhVgwzrQGk+kgxhpwbVr4whScB3+VJje1S/A=;
	b=LIvxSv/kqWH3zUhGieI5XUB9A/JSjF+ItXfX2htrXpZkgJoBfhq7DPs+LXeVqTwc+X
	h+PtZuD4XWbQM6Oclg9a7Sqza3MxUspzy3Wvu0keFAXQrW9lDQGlV7PQpEOuiTLHHOps
	hRL75CjZHReuuzXMOw6Ejzfa6H73sbqVdGJuVooH9v+ojxu36mEABandDyGbcphpkFto
	7tQjoi8zeEAJl6UswRHxYqM3QJeaVRFE8Hxey7MCbrOvnh9PRyeK1WXkPSvEHuXaD2z9
	z1nrmPLjYmG58KNWIkh+MoglDKuo7l9Sv7bKuawa9y2N7D5c21jZtYiayyH9zxqP1KA/
	+Hzw==
X-Gm-Message-State: AOPr4FXbjnHS+IQFXfNTarWtX7kbuWYuk9xemq3tM1alprZFumR0fUKtyHkep6V1GXJSxfG7bhmAWIYp9KFtwA==
MIME-Version: 1.0
X-Received: by 10.25.86.144 with SMTP id k138mr239563lfb.6.1462251748798; Mon,
	02 May 2016 22:02:28 -0700 (PDT)
Sender: gmaxwell@gmail.com
Received: by 10.112.212.37 with HTTP; Mon, 2 May 2016 22:02:28 -0700 (PDT)
In-Reply-To: <5727D102.1020807@mattcorallo.com>
References: <5727D102.1020807@mattcorallo.com>
Date: Tue, 3 May 2016 05:02:28 +0000
X-Google-Sender-Auth: IwRNQ9gmQLKz6WLz0Ob7_Q9e998
Message-ID: <CAAS2fgQcDPRt7OH_+Wm_MRkECuo0EUcRntMrAHt9Oe48iPHVHQ@mail.gmail.com>
From: Gregory Maxwell <greg@xiph.org>
To: Matt Corallo <lf-lists@mattcorallo.com>
Content-Type: text/plain; charset=UTF-8
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW 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: Tue, 03 May 2016 06:28:43 +0000
Cc: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org>,
	Luke Dashjr <luke_bipeditor@dashjr.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: Tue, 03 May 2016 05:02:31 -0000

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.