summaryrefslogtreecommitdiff
path: root/5e/fbce317404fea5e8b4e93d810e1ebd94ad7417
blob: de554326528a79781a0f576806febde4296e0353 (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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
Return-Path: <marcopon@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 73F66900
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 27 Nov 2017 12:08:27 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-yw0-f174.google.com (mail-yw0-f174.google.com
	[209.85.161.174])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 04F8F4F8
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 27 Nov 2017 12:08:26 +0000 (UTC)
Received: by mail-yw0-f174.google.com with SMTP id q37so11720939ywa.12
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 27 Nov 2017 04:08:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to; 
	bh=WEePluiTB85swJq4QwQp9llu9t02sb2nl8LMnX5MF3o=;
	b=i5Ig1dQCZvKft16QMoc4dhe+nQhDXbjGXUiIPI31HV9A2exmlKn6t3cYEIdH4Tlg7+
	wRZcuAK2abcFZrgoqH87jgacLE8ibRVZGxFAiHWFL2IHkov8XDEMFMRTZUoJijulS2qp
	j3EFVri8U0qCWN6qmFkuA7gcOm0F1KxYoPqW2sJKWmxNoxqi0lPdgebOGNfH/mVRgxQW
	m7P5t+YQ7OcGNIk2cPOAi5P/lkDvVjwo+bL5VEeh0EELJ4jxfIdLx76CY1QdSmk3grr5
	z3zEflrHeCWlR1Khr7I9CmMDP8PkI2onkjh0T82c9Zdh32o7SQEdqmHEArb0blSmJw9Z
	jNZg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:to;
	bh=WEePluiTB85swJq4QwQp9llu9t02sb2nl8LMnX5MF3o=;
	b=JExi0rZWB63iU3zWw19TqzsZEOCl3aHwyvhlvuLGAwiXxFU9Hcm/qW7QWii+/sfUQe
	v5Ndb4MCV0oOzUGFmPxY9+szZfp7sD31B8ildEx9bfauiiSuu35sp9PfOYR5u/6YIrsI
	5kgkk3Y06Z2vpGs4KTHFH6Igcmexeucxh5Ou01Vo3NgCSJ87eLPWxEQyO/GjuHCFWuxC
	AC5T19rOstXPys/Atb9Kk3vh2Zmze6yhvrnItXmV+WaQ+jIpYevtpXSvSpQBqFG4QCxP
	PdxneQjU2LoZDJlyINUWMwHHga5FkKQtGqaj+jFb+VNuEmV8Fkyleev+D6zxiZUhcH5e
	2g4A==
X-Gm-Message-State: AJaThX6N4GgHTS6cO1CHy7xiX5OP+BctnnipxIt2fASwo5rjJwRQgRfd
	kZDjwnOos4jLnohDSslAg+eIM1zxEBg8X2IpbhQ=
X-Google-Smtp-Source: AGs4zMbLswlTizTAcuEe1yuYhRqly/cI+xQ4VntpfaOKNKLrQEtkqKyHHHPvW1vq187qyHhWu9T9phgi1DCGpYN14UA=
X-Received: by 10.129.32.5 with SMTP id g5mr11651821ywg.257.1511784506172;
	Mon, 27 Nov 2017 04:08:26 -0800 (PST)
MIME-Version: 1.0
Received: by 10.37.170.231 with HTTP; Mon, 27 Nov 2017 04:08:05 -0800 (PST)
In-Reply-To: <CAHAcUENRbrz6pv_HSe4KDAY-onyMKnMJk8H6yUhqx4LoK0NeEw@mail.gmail.com>
References: <CAHAcUENRbrz6pv_HSe4KDAY-onyMKnMJk8H6yUhqx4LoK0NeEw@mail.gmail.com>
From: Marco Pontello <marcopon@gmail.com>
Date: Mon, 27 Nov 2017 13:08:05 +0100
Message-ID: <CAE0pACLYZihmVU6GMpONmcOKfAVa-DojuQsAXAiOpcN9CamcHA@mail.gmail.com>
To: Jeff Johnson <jjxtra@gmail.com>, 
	Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: multipart/alternative; boundary="001a1141d5f277aa36055ef5c289"
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE,
	RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
Subject: Re: [bitcoin-dev] Block compression
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Protocol 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, 27 Nov 2017 12:08:27 -0000

--001a1141d5f277aa36055ef5c289
Content-Type: text/plain; charset="UTF-8"

Hi Jeff!


On Mon, Nov 27, 2017 at 3:11 AM, Jeff Johnson via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> wrote:


> Raw block
> 998,198 bytes
>
> Gzip
> 521,212 bytes (52% ratio)
> (needs 2MB to decompress).
>

I don't know how you got that raw block, but it seems a bit odd.
If you look at it in an hex editor, you'll notice that every odd byte is 0,
and that explain the unusual high compression ratio.

Bye!

--001a1141d5f277aa36055ef5c289
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Jeff!<div><br></div><div class=3D"gmail_extra"><br><div=
 class=3D"gmail_quote">On Mon, Nov 27, 2017 at 3:11 AM, Jeff Johnson via bi=
tcoin-dev <span dir=3D"ltr">&lt;<a href=3D"mailto:bitcoin-dev@lists.linuxfo=
undation.org" target=3D"_blank">bitcoin-dev@lists.linuxfoundation.org</a>&g=
t;</span> wrote:<br><div>=C2=A0</div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div di=
r=3D"ltr"><div>Raw block<br></div><div>998,198 bytes</div><div><br></div><d=
iv>Gzip</div><div>521,212 bytes (52% ratio)</div><div>(needs 2MB to decompr=
ess).</div></div></blockquote><div><br></div><div>I don&#39;t know how you =
got that raw block, but it seems a bit odd.</div><div>If you look at it in =
an hex editor, you&#39;ll notice that every odd byte is 0, and that explain=
 the unusual high compression ratio.</div><div><br></div><div>Bye!</div><di=
v>=C2=A0<br></div></div>
</div></div>

--001a1141d5f277aa36055ef5c289--