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
|
Return-Path: <peter.tschipper@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
[172.17.192.35])
by mail.linuxfoundation.org (Postfix) with ESMTPS id 2C3A8259
for <bitcoin-dev@lists.linuxfoundation.org>;
Mon, 9 Nov 2015 19:18:13 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com
[209.85.220.42])
by smtp1.linuxfoundation.org (Postfix) with ESMTPS id DCA0E13F
for <bitcoin-dev@lists.linuxfoundation.org>;
Mon, 9 Nov 2015 19:18:12 +0000 (UTC)
Received: by padhx2 with SMTP id hx2so199436413pad.1
for <bitcoin-dev@lists.linuxfoundation.org>;
Mon, 09 Nov 2015 11:18:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=to:from:subject:message-id:date:user-agent:mime-version
:content-type:content-transfer-encoding;
bh=kafugZv6Dtw6v+7iYZvo+0dX0TnpgQeA14+EgpKHkAU=;
b=hd33mYgUTLd2RrKoCgxRo6WM6T0tAbGM7vghdZ3PGN/XHFdIimEjmrkoDcazRQTt5D
gM/kmO0yF8vAiUvAXEbsDztBTyMRRLaA9o9dOTH0oN6FmuTZxQR/mA7Qhh4hgY+sQVxY
hegVt/vGnNP2ZYKR1koC6Ruo9LwMMMUS3yxM8JIXmC63xvAtNwJuRsZwsqSqG8+WkmTS
tFQkRM06edxl4Kea1knlwW1TYKjiuSto13imqx63PobItYlnpyYNxb1aJo+0GRZ5NEBj
xvcXx2q0+FfEVlo08aUnOTbJ+/s/bGm21xu/BHZJKvA6rQt81+MirzKBLtTLoAHIRANl
hGGw==
X-Received: by 10.66.160.35 with SMTP id xh3mr42593375pab.22.1447096692373;
Mon, 09 Nov 2015 11:18:12 -0800 (PST)
Received: from [192.168.0.132] (S0106bcd165303d84.cc.shawcable.net.
[96.54.102.88]) by smtp.googlemail.com with ESMTPSA id
ja4sm17845075pbb.19.2015.11.09.11.18.11
for <bitcoin-dev@lists.linuxfoundation.org>
(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Mon, 09 Nov 2015 11:18:11 -0800 (PST)
To: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org>
From: Peter Tschipper <peter.tschipper@gmail.com>
X-Enigmail-Draft-Status: N1110
Message-ID: <5640F172.3010004@gmail.com>
Date: Mon, 9 Nov 2015 11:18:10 -0800
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101
Thunderbird/38.3.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, 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: Mon, 09 Nov 2015 20:16:59 +0000
Subject: [bitcoin-dev] request BIP number for: "Support for Datastream
Compression"
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: Mon, 09 Nov 2015 19:18:13 -0000
This is my first time through this process so please bear with me.
I opened a PR #6973 this morning for Zlib Block Compression for block
relay and at the request of @sipa this should have a BIP associated
with it. The idea is simple, to compress the datastream before
sending, initially for blocks only but it could theoretically be done
for transactions as well. Initial results show an average of 20% block
compression and taking 90 milliseconds for a full block (on a very slow
laptop) to compress. The savings will be mostly in terms of less
bandwidth used, but I would expect there to be a small performance gain
during the transmission of the blocks particularly where network latency
is higher.
I think the BIP title, if accepted should be the more generic, "Support
for Datastream Compression" rather than the PR title of "Zlib
Compression for block relay" since it could also be used for
transactions as well at a later time.
Thanks for your time...
|