From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 2C3A8259 for ; 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 ; Mon, 9 Nov 2015 19:18:12 +0000 (UTC) Received: by padhx2 with SMTP id hx2so199436413pad.1 for ; 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 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Nov 2015 11:18:11 -0800 (PST) To: Bitcoin Dev From: Peter Tschipper 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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...