summaryrefslogtreecommitdiff
path: root/27/d0e1ef0c245ec7a2643bea0cee8ce2d862e8eb
blob: f67d9c8f9287c75e98bb9d4ba7747204228cfb91 (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
Return-Path: <dev@jonasschnelli.ch>
Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 71182C0037
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu, 18 Jan 2024 09:32:36 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp2.osuosl.org (Postfix) with ESMTP id 35BA94376A
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu, 18 Jan 2024 09:32:36 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 35BA94376A
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5
 tests=[BAYES_20=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
 autolearn=ham autolearn_force=no
Received: from smtp2.osuosl.org ([127.0.0.1])
 by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id mmtADYdidUhz
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu, 18 Jan 2024 09:32:34 +0000 (UTC)
X-Greylist: delayed 498 seconds by postgrey-1.37 at util1.osuosl.org;
 Thu, 18 Jan 2024 09:32:34 UTC
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org B1BA540114
Received: from sokrates5.ch-meta.net (sokrates5.ch-meta.net [80.74.145.95])
 by smtp2.osuosl.org (Postfix) with ESMTPS id B1BA540114
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu, 18 Jan 2024 09:32:34 +0000 (UTC)
Received: from smtpclient.apple (localhost [127.0.0.1]) by
 sokrates5.ch-meta.net (Postfix) with ESMTPSA id 3BE7C80404AD; 
 Thu, 18 Jan 2024 10:24:13 +0100 (CET)
Authentication-Results: sokrates.metanet.ch;
 spf=pass (sender IP is 2001:4060:c005:2410:de:1ed8:dac6:b85)
 smtp.mailfrom=dev@jonasschnelli.ch smtp.helo=smtpclient.apple
Received-SPF: pass (sokrates.metanet.ch: connection is authenticated)
From: Jonas Schnelli <dev@jonasschnelli.ch>
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\))
Date: Thu, 18 Jan 2024 10:24:02 +0100
References: <WJoM7dyrk0o8ujOZOo462r66wS2Kl3L1ZZRodvaLK-HKEUc90yvwOqXbUUrGbV1lk6cOywTqLoCyHzk2Tm3TtBFyUL0NZ6D7v9NmTXypJPA=@protonmail.com>
 <KSmH1MBTPLuXMF4TWbWq6vaft_K_7IZS2YcoZ1iHwtHY06It1DjExVgSdrLBMQZA8mLGz8xdOzyXRHAZ2qCAugwG8gMtEGsGj-XNTPN0v0w=@protonmail.com>
 <ZPHtgiJQ4Yqrr941@camus> <ZPdswQ7uAJr35YbC@petertodd.org>
 <hd13VCUTiTaX_Z4oeZpzwjdVOcmkbcg-kgfThk9b1LUt2YUCEXrwVuEq8BiNWtfzeAafo6GdsrFzGg3pQI5kSjuRc4TtFGmRndvVukAwAiY=@protonmail.com>
 <xk6TD_XVlJodelVrD6HTzj-YZ6MaRJ8lU_ugEddOixoQfCmn59oQYKw-QZOwjL7b_LENm1Jza4NtBKAaXWqwHwcOOyvwlUbJuKw7f5lkm1s=@protonmail.com>
 <ZZgeA1KPUbLtQjoT@camus>
 <IFgPQiCptuVM6I5AsCE6VFrPMsGzBMK3x78GHlupJj12-rBloASYdafdBzyjSKC0H0EWLG2NNBzu1wEyYyyl1VzMmjW3nO7M-9OJpMxoEMM=@protonmail.com>
 <jdBdzLD0bcOPikKGQd1VpWU6dIc3_X6I_Q1UFuEiYfiY_Z6xF86nlDqnU00PGsQS3XdBFwjlmYWN-7_aXbjVjkXmGEVf0cGKPHjzhYkVweY=@protonmail.com>
To: Tom Briar <tombriar11@protonmail.com>,
 Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
In-Reply-To: <jdBdzLD0bcOPikKGQd1VpWU6dIc3_X6I_Q1UFuEiYfiY_Z6xF86nlDqnU00PGsQS3XdBFwjlmYWN-7_aXbjVjkXmGEVf0cGKPHjzhYkVweY=@protonmail.com>
Message-Id: <A1A794D6-E465-4F45-BF67-EB24B2CB9773@jonasschnelli.ch>
X-Mailer: Apple Mail (2.3774.300.61.1.2)
Subject: Re: [bitcoin-dev] Compressed Bitcoin Transactions
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.15
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: Thu, 18 Jan 2024 09:32:36 -0000

One point to add here is that, while V1 non-encrypted p2p traffic could =
be compressed on a different OSI layer in theory, v2 encrypted traffic =
=E2=80=93 due to its pseudorandom nature =E2=80=93 will likely have no =
size savings and thus need to be compressed on the application layer =
with a proposal like this.

Would be nice to see size comparison of this compression proposal vs =
LZO/gzip compression of legacy transaction encoding.

A possible advantage of this proposal is that it could save more space =
with less CPU impact, which might be important for block propagation.

Previous discussion about compressing blocks before sending them:
https://github.com/bitcoin/bitcoin/pull/6973

/jonas

> Am 16.01.2024 um 18:08 schrieb Tom Briar via bitcoin-dev =
<bitcoin-dev@lists.linuxfoundation.org>:
>=20
> Hi,
>=20
> In addition to the use cases listed in the schema, such as =
steganography, satellite, and radio broadcast, an application can be =
made for Peer-to-peer communication between Bitcoin nodes. Except when =
compressing the Txid/Vout, which is optional, Transactions can gain up =
to 30% size savings while still being completely reversible. =
Furthermore, in a BIP-324 world, these savings are nontrivial.
>=20
> BIP-324: =
https://github.com/bitcoin/bips/blob/master/bip-0324.mediawiki
> Compressed Transaction Schema: compressed_transactions.md
>=20
> Thanks-
> Tom.
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev