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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
|
Return-Path: <braydon@purse.io>
Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])
by lists.linuxfoundation.org (Postfix) with ESMTP id D20E7C07FF
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 8 May 2020 19:56:32 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
by silver.osuosl.org (Postfix) with ESMTP id A838B26BE2
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 8 May 2020 19:56:32 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
Received: from silver.osuosl.org ([127.0.0.1])
by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id eGMeaCWLC9W5
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 8 May 2020 19:56:31 +0000 (UTC)
X-Greylist: delayed 00:16:20 by SQLgrey-1.7.6
Received: from mail-oi1-f178.google.com (mail-oi1-f178.google.com
[209.85.167.178])
by silver.osuosl.org (Postfix) with ESMTPS id DF3672673B
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 8 May 2020 19:56:30 +0000 (UTC)
Received: by mail-oi1-f178.google.com with SMTP id j16so9459670oih.10
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 08 May 2020 12:56:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=purse.io; s=google;
h=to:cc:references:from:autocrypt:subject:message-id:date:user-agent
:mime-version:in-reply-to:content-transfer-encoding:content-language;
bh=11+gDZIa+1tA4TPehKPqgbYs59I/tVJWJrsyBF6NdGw=;
b=J1xxtVKl7OPj/HhS3wvBtsYGBh5KgE1xeaEwRB92dZbRO7cRqHALIvTdII3EmIn4aC
NjT/Q1mcJzmURr2ZzwC6WA0AHeO7OWLeYP8eEBukAXG20/WBjavK477PcbA3co6djNNg
iXBpExLpoQrWjRYpCrv9/i7HUNM7jw7jIk3X4=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:to:cc:references:from:autocrypt:subject
:message-id:date:user-agent:mime-version:in-reply-to
:content-transfer-encoding:content-language;
bh=11+gDZIa+1tA4TPehKPqgbYs59I/tVJWJrsyBF6NdGw=;
b=qybMb6KeGdKY7rg7Syrh3n3CV6IQf6Jlh4ruyDgN83cIQUy3cyn4vjOoiGvtlY7xRn
JjWULD6Ve87IMVrMmRjg5VDaw4ET6oxfwRwOhWWHKii0OOK7B9TyV3rnUW88GTsVpPps
4QRNMBLU/tHxqJZgLN/nOSQQrOsbT0oz2KtIcyYo3RFDLfsG9WTuCRBYqPAed8le7Z/W
u4ARJXVK8zk7yjxJkEqhEanfZRSr7li0qSGIqYMr8d2QV1TA5yB6ijhgLY7R+yWGivtD
2L3AwTSXQ/XCva43T1nEQch/GB7z5u7w6k4o4gxvuz9ejPrqMEIBac2oTOtWnL+a4K9+
zeqg==
X-Gm-Message-State: AGi0PuaP09akWTk9cE3yOl9deK5FAoS9oLsxiFJTaHFwTYUQaYPGExSN
z7f1+OVJA9rVCLq3ja/2UdHkuWaqcGb+Ww==
X-Google-Smtp-Source: APiQypIBPHLwsVzbTvNaI7LPf5HlV9aDb2OX9/tg1wFCuxh7t3IF4Mvo6bwlQhuMecXxthu8NwD7Vg==
X-Received: by 2002:a17:90a:9f95:: with SMTP id
o21mr8056641pjp.229.1588967476342;
Fri, 08 May 2020 12:51:16 -0700 (PDT)
Received: from [10.0.0.199] ([66.172.99.113])
by smtp.gmail.com with ESMTPSA id a21sm2547943pfk.39.2020.05.08.12.51.15
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Fri, 08 May 2020 12:51:15 -0700 (PDT)
To: Keagan McClelland <keagan.mcclelland@gmail.com>,
Antoine Riard <antoine.riard@gmail.com>
References: <CALZpt+GBPbf+Pgctm5NViNons50aQs1RPQkEo3FW5RM4fL9ztA@mail.gmail.com>
<202005051300.38836.luke@dashjr.org>
<CALZpt+GR8L6Zo_4A8LJb=yndr32g62XFKBmGiWMSRaZqHrfOog@mail.gmail.com>
<CALeFGL3LnhEhcsuCeusBjZL=4Exm9fiQuALDfN53wrHLLGMejA@mail.gmail.com>
<CALZpt+Fmv3d-J69uyoJ5XB9hP78vqoS76Y2OVmHWqafkHTm5ZQ@mail.gmail.com>
<CALeFGL3WRF11Q7d3Mea5nHS2da1atEfXArpdAfMfd1uJ+5f3JA@mail.gmail.com>
From: Braydon Fuller <braydon@purse.io>
Autocrypt: addr=braydon@purse.io; keydata=
LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgptUUlOQkZzRWthc0JFQUM0
b1BKUXNGV0FNME9qTkpsWVV4SmJUVjhibzFUZ1h3WmROWldld0c2ZnZRUStpR0dJCm15L2E1
aDEwLzlWKy9DdGlvOGF5QWZwazZWM3ovdnhxOElkUFZjc1djY0hMbmd1YUFFRWhZbktkR1pm
c29oY1EKTU80TFI2M1I2dlByVVlVSmVoVnp0MllaNUY0OTVpUkRLd2JRTFhibVhGOXZMdGFL
dWYvNmhiVm1sRzdiTTU5ZQpWS2N2cEU4RUttOTVMcHcrQ0JF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XZ0TEJ3MWFs
T3VRU1daQVNYRUdFcmgrTkQrNFB0N0dobWxEODhROWxmWXpGZHhJCk43V1YxdFBBVHBQeCta
M1ljTllaWGQydkswVmluTG9odk4wdW1iOGd2ZUZDVkhYaWliYjZzcFI4Q0VQTVRvSEkKc1JU
VWo1S3JEWmhmbUduY0Qrc0NySFNXVDlSbHh2TkZpRjI5RFdzKzdudUJCYU5QQ3hYMHozeTZJ
aVg0aFVsaApkcUFOeVR1cHVSaVlGUFpIWjBMSFFzeDQ2WjJjVXE1enQwMUJwV1NCWHlKeEJj
TVY3SGtWT2J3ZzJaTVJGbGNJCkRGYy9aWTBWbmlmSDlWRHFpaWZKelhtNUkxaWE1SXU2R3M2
ZXRlZnZGdHQ2QlFKcXd0MlBNcENDOG53dDE3eDEKVlFuZVk4OVZmTTROczlPeC9IU01zODFZ
U2wyKzZDSXQxVjVNeGtMYzMxeEJCNXZKTUhsRTRFM0g3VnVidjRicQoyWUxnY29nSlN6WkZv
ZDRQUHY1ZkIzbTYybjV3U1R6M2todjBiVVhGOUN2dUxLNkk0dXdpUnBCNHhLRlRSZjZTCm5m
RTNzaUcwVWlidFl1cE1wLzJ5RmYrWUpiVVlEZk1XUjhwZWNTRzFJemVjQ3dFNHptU2F6TFN3
czFMc1pYQnAKUVd5U0JvaVBCeEU1akYzOEYvRkRyMll4VEdqNU1KaXRzTUloNkFoZnlCNG1o
OW8yVzBlYnh4K2YyNXh4aGZydwpuekk9Cj16T0twCi0tLS0tRU5EIFBHUCBQVUJMSUMgS0VZ
IEJMT0NLLS0tLS0K
Message-ID: <ecce23db-2622-b257-5a05-22a40aafd1e3@purse.io>
Date: Fri, 8 May 2020 12:51:15 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.7.0
MIME-Version: 1.0
In-Reply-To: <CALeFGL3WRF11Q7d3Mea5nHS2da1atEfXArpdAfMfd1uJ+5f3JA@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US
X-Mailman-Approved-At: Fri, 08 May 2020 21:00:21 +0000
Cc: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>,
"lightning-dev\\\\@lists.linuxfoundation.org"
<lightning-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] [Lightning-dev] On the scalability issues of
onboarding millions of LN mobile clients
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: Fri, 08 May 2020 19:56:33 -0000
On 5/6/20 9:07 PM, Keagan McClelland wrote:
> I think that one of the solutions here is to have light clients choose
> their full node tethers explicitly. Even if you think it is unrealistic=
to
> have everyone run their own node (fwiw, I don=E2=80=99t), there is stil=
l a trust
> model where you can pick your trusted source.
>
> This way you could have many light clients working off of a family node=
,
> and the peer services could be limited to some sort of =E2=80=9Cauthent=
icated=E2=80=9D
> peers. Perhaps this is better accomplished over the RPC interface in Co=
re,
> but the idea is to have some sort of peer service model between =E2=80=9C=
full
> public=E2=80=9D and =E2=80=9Cowner only=E2=80=9D. This limits the amoun=
t of costs that can be
> properly externalized, without exposing risk of consensus capture by
> economically weighty institutions.
The RPC interface in Bitcoin Core, and others, is not great for this
because it exposes a lot of functionality that isn't necessary and
introduces risks. For example the `gettxoutsetinfo` can start a very
intensive CPU and disk I/O task. There are several others, for example:
`stop`, `addnode`, `clearbanned`, `setban`, and etc. Furthermore reading
full raw blocks isn't very efficient with JSON. Electrum servers (e.g
electrs) for example read blocks from disk instead and use the RPC
interface to sync headers. Though, Electrum servers also have a risk of
DoS with addresses that have many transactions, see the `--txid-limit`
option [2].
[1]:
https://github.com/bitcoin/bitcoin/blob/5b24f6084ede92d0f493ff416b4726245=
140b2c1/src/rpc/blockchain.cpp#L954-L956
[2]:
https://github.com/romanz/electrs/blob/f0a7a325af495ecbc152c0866550dc3000=
11779b/src/query.rs#L284-L289
|