summaryrefslogtreecommitdiff
path: root/a0/572b149dedc09b11f3e4bf49062c9c6fb36b4a
blob: 2c64778377b2e1cad567148dbd107436c66c4139 (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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
Return-Path: <admin@bitaps.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id B27DA1429
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sat, 28 Sep 2019 17:21:51 +0000 (UTC)
X-Greylist: from auto-whitelisted by SQLgrey-1.7.6
Received: from mail.bitaps.com (mail.bitaps.com [95.85.9.218])
	by smtp1.linuxfoundation.org (Postfix) with ESMTP id D8BA88BF
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sat, 28 Sep 2019 17:21:50 +0000 (UTC)
Received: from [10.5.89.87] (unknown [185.79.101.100])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by mail.bitaps.com (Postfix) with ESMTPSA id 4515F14984D
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sat, 28 Sep 2019 17:21:49 +0000 (UTC)
From: "admin@bitaps.com" <admin@bitaps.com>
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_48573DF6-B5B6-4DD0-8857-5DAB32E932B1"
Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\))
Date: Sat, 28 Sep 2019 20:21:47 +0300
References: <mailman.22.1569240010.14875.bitcoin-dev@lists.linuxfoundation.org>
To: bitcoin-dev@lists.linuxfoundation.org
In-Reply-To: <mailman.22.1569240010.14875.bitcoin-dev@lists.linuxfoundation.org>
Message-Id: <E9935F93-B5D2-48FD-96D2-88EF605ADA4B@bitaps.com>
X-Mailer: Apple Mail (2.3445.100.39)
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE,
	MIME_QP_LONG_LINE 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: Sun, 29 Sep 2019 04:26:23 +0000
Subject: Re: [bitcoin-dev] Block Batch Filters for Light Clients
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: Sat, 28 Sep 2019 17:21:51 -0000


--Apple-Mail=_48573DF6-B5B6-4DD0-8857-5DAB32E932B1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


Block Batch Filters draft :

=
https://github.com/bitaps-com/bips/blob/master/bip-block-batch-filters.med=
iawiki =
<https://github.com/bitaps-com/bips/blob/master/bip-block-batch-filters.me=
diawiki>

BIP 157 unlike BIP 37 not allow apply filters to mempool and check zero =
confirmation transactions.
Light client that refused to use BIP 37 due to privacy leaks can process =
unconfirmed transactions only one way and this is loading the entire =
mempool transaction flow.

Mempool Transaction Filters draft:

=
https://github.com/bitaps-com/bips/blob/master/bip-mempool-transactions-fi=
lters.mediawiki =
<https://github.com/bitaps-com/bips/blob/master/bip-mempool-transactions-f=
ilters.mediawiki>

Summary:
    - improved Block Batch Filters definition
    - unlocked ability to filter unconfirmed transaction for SPV nodes =
used BIP 157 instead of BIP 37 due privacy leak in BIP 37
    - more bandwidth consumption reduced in contrast with block filters =
and downloading full blocks for affected addresses
    - proposal for future consensus layer soft-fork to make block =
filters commitment one of the block validation rule to protect light =
nodes from payment hiding attack






> 23 =D1=81=D0=B5=D0=BD=D1=82. 2019 =D0=B3., =D0=B2 15:00, =
bitcoin-dev-request@lists.linuxfoundation.org =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=
=D0=B0=D0=BB(=D0=B0):
>=20
> Re: Block Batch Filters for Light Clients


--Apple-Mail=_48573DF6-B5B6-4DD0-8857-5DAB32E932B1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br =
class=3D""><div>Block Batch Filters draft :</div><div><br =
class=3D""></div><div><a =
href=3D"https://github.com/bitaps-com/bips/blob/master/bip-block-batch-fil=
ters.mediawiki" =
class=3D"">https://github.com/bitaps-com/bips/blob/master/bip-block-batch-=
filters.mediawiki</a></div><div><br class=3D""></div><div>BIP 157 unlike =
BIP 37 not allow apply filters to mempool and check zero confirmation =
transactions.</div><div>Light client that refused to use BIP 37 due to =
privacy leaks can process unconfirmed transactions only one way and this =
is loading the entire mempool transaction flow.</div><div><br =
class=3D""></div><div>Mempool Transaction Filters draft:</div><div><br =
class=3D""></div><div><a =
href=3D"https://github.com/bitaps-com/bips/blob/master/bip-mempool-transac=
tions-filters.mediawiki" =
class=3D"">https://github.com/bitaps-com/bips/blob/master/bip-mempool-tran=
sactions-filters.mediawiki</a></div><div><br =
class=3D""></div><div>Summary:</div><div>&nbsp; &nbsp; - improved Block =
Batch Filters definition</div><div>&nbsp; &nbsp; -&nbsp;unlocked ability =
to filter unconfirmed transaction for SPV nodes used BIP 157 instead of =
BIP 37 due privacy leak in BIP 37</div><div>&nbsp; &nbsp; - more =
bandwidth consumption reduced in contrast with block filters and =
downloading full blocks for affected addresses</div><div>&nbsp; &nbsp; =
-&nbsp;proposal for future consensus layer soft-fork to make block =
filters commitment one of the block validation rule to protect light =
nodes from payment hiding attack</div><div><br =
class=3D""></div><div></div><div><br class=3D""></div><div><br =
class=3D""></div><div><br class=3D""></div><div><br =
class=3D""></div><div><br class=3D""><blockquote type=3D"cite" =
class=3D""><div class=3D"">23 =D1=81=D0=B5=D0=BD=D1=82. 2019 =D0=B3., =D0=B2=
 15:00, <a href=3D"mailto:bitcoin-dev-request@lists.linuxfoundation.org" =
class=3D"">bitcoin-dev-request@lists.linuxfoundation.org</a> =
=D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0=B0):</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" class=3D"">Re: Block Batch Filters for =
Light Clients</span></div></blockquote></div><br class=3D""></body></html>=

--Apple-Mail=_48573DF6-B5B6-4DD0-8857-5DAB32E932B1--