summaryrefslogtreecommitdiff
path: root/1d/3ce130dc006f6a2a16fffb4fa0b863f9554367
blob: df34b17ab6860af77d2de0b0aafe157401becdc2 (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
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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
Return-Path: <niftynei@gmail.com>
Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])
 by lists.linuxfoundation.org (Postfix) with ESMTP id BD8B3C002A;
 Mon, 24 Apr 2023 16:07:13 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp1.osuosl.org (Postfix) with ESMTP id 9808E81F91;
 Mon, 24 Apr 2023 16:07:13 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 9808E81F91
Authentication-Results: smtp1.osuosl.org;
 dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com
 header.a=rsa-sha256 header.s=20221208 header.b=pnr90WAa
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from smtp1.osuosl.org ([127.0.0.1])
 by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id J-hdu8TsFQXK; Mon, 24 Apr 2023 16:07:12 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.8.0
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 1E81D81FAB
X-Greylist: whitelisted by SQLgrey-1.8.0
Received: from mail-oa1-x2e.google.com (mail-oa1-x2e.google.com
 [IPv6:2001:4860:4864:20::2e])
 by smtp1.osuosl.org (Postfix) with ESMTPS id 1E81D81FAB;
 Mon, 24 Apr 2023 16:07:11 +0000 (UTC)
Received: by mail-oa1-x2e.google.com with SMTP id
 586e51a60fabf-187af4a5453so1607156fac.1; 
 Mon, 24 Apr 2023 09:07:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1682352431; x=1684944431;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=b8drZOrvSDdor7tZpS49m3lns3YJ8AGxjTlECcZ1K/0=;
 b=pnr90WAa6Sny+CD2SfQ680VAn0ARsyZlwJ1rfqjDPimTtAensHbl70b5sW8lQCpsFQ
 BmHU4whMg7hO007AV/c9pohAfn0qjIeveXwc+Bv3lDPVuj/q2uHLzGAYJ5nPTYdrIuwx
 0cpKN6D+EUfDeldrKzO1xGqL/4zJXXtMBzrjNypiDFIq0QR75vCym1LVRS1ae/KVAmU9
 aQo0Dtbs+KxFXA++oGr38Upskw/Jnvin7IHd0ZT2fJSJN5B5jFUQpIwN7YKjGtTlf5qW
 W0U/m3kf/bSg06vvxPP1LG50YbqI/YUKm8YKu6LFQiZMy5g2ZNVNP2ckbt7ZSH7+cLOO
 eU5g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1682352431; x=1684944431;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=b8drZOrvSDdor7tZpS49m3lns3YJ8AGxjTlECcZ1K/0=;
 b=W6Q31klfLEOnSLi/FlOsR+XD7CRUiVIaNYh6S0yDtZD/NhZuNvtAMyNSPBKOD0pCup
 bnvmmqjttr2+Ogwj1V7i4aC4WfDJNAuZnByAswrk60Z+lomEKhEa66BkSHlJGWfr9a23
 eNiPPf7p3Nb5r8rP5zj46Ihe8hW6YjAU3FaFfLpkOmtxqkQ4BOFhgIN2g9m1GmL1NKwe
 JUG9i/toqX1H0rrUDN3OBBwE8rRnZ34okrEcODJiUSHtLQpi1+IBajsPlgO60ztzWmiS
 QGgSk8WKaEHnWLPq5V3vslBfatQhlLjnj8TIj8UBN/wveBsanvObztZgzN5qLKYSXL62
 +ukg==
X-Gm-Message-State: AAQBX9e1zxZCFni0BWpQJO1UVJq5TxrhSW2EzliuM5+SN246aGMkqVjT
 jIyQXIfNujycmJ2YHcMDZtqbCHR4JvCWSE5chW4=
X-Google-Smtp-Source: AKy350YwZUBki0sV15RVbNQ3qufxhS5zjlYM90xziO3ip9BP3eCVZcf/zEUrZS1rOCqvDpnp7u4JYbfFGNQIsaanhek=
X-Received: by 2002:a05:6870:418f:b0:17a:bf1b:cab8 with SMTP id
 y15-20020a056870418f00b0017abf1bcab8mr10741052oac.4.1682352430606; Mon, 24
 Apr 2023 09:07:10 -0700 (PDT)
MIME-Version: 1.0
References: <aka4qP9Cig-OhfMlQ9y1kghZWExjpno4cs47KIgYwv4aLYtiQB37eHbj2X2hiDuoK0D1gSeKWP97P0bRADbTg1CZRBIpHGZ5WFFYPWIJ87Y=@protonmail.com>
 <fiR7LHbBUV54aYegN2eIGIwX5f8Sg5bfaSSoBT0niB1huGYNGyvNeDQ1q32o15PRMC4JfaZUv_H06zuChvRgsMD5QaqZTX_bm-MPVw52asc=@protonmail.com>
In-Reply-To: <fiR7LHbBUV54aYegN2eIGIwX5f8Sg5bfaSSoBT0niB1huGYNGyvNeDQ1q32o15PRMC4JfaZUv_H06zuChvRgsMD5QaqZTX_bm-MPVw52asc=@protonmail.com>
From: niftynei <niftynei@gmail.com>
Date: Mon, 24 Apr 2023 12:06:59 -0400
Message-ID: <CAM1a7P0qEkydNQQt38UUvyX3SorfgPNyfO79j72roG0_zo22+w@mail.gmail.com>
To: Michael Folkson <michaelfolkson@protonmail.com>
Content-Type: multipart/alternative; boundary="000000000000036f4105fa17338e"
X-Mailman-Approved-At: Mon, 24 Apr 2023 16:31:38 +0000
Cc: bitcoin-dev@lists.linuxfoundation.org,
 Lightning Dev <lightning-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] [Lightning-dev] A new Bitcoin implementation
	integrated with Core Lightning
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: Mon, 24 Apr 2023 16:07:13 -0000

--000000000000036f4105fa17338e
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Michael,

CLN as implemented is currently nicely decoupled from the block source; as
a project we assume that the node runner will choose a block backend that
fits their self-sovereignty goals.

This provides us with a nice separation of concerns. The block source is
responsible for ensuring that only consensus valid data is delivered to the
node, which in turn allows us to focus on processing and reacting to that
data, as necessary.

Bitcoin core as a project implements a broad swath of functionality
(wallet, consensus, peering, rpc server, coin selection, key management,
etc); breaking out the validation and peering functions into more
composable parts would def open up more opportunities for building block
sources for a wide variety of projects, not just CLN.

There=E2=80=99s probably a real opportunity to =E2=80=9Ccomingle=E2=80=9D t=
he peering of LN gossip
+ block data networks, this has been suggested a few times but never
seriously pursued from the LN side. Having the peering functions of
bitcoin-core broken out into a more composable/reusable piece may be a good
first step here, and as a project would largely be on the bitcoin core
side. Maybe this work is already in progress? I havent been keeping up with
developments there.

Thanks for the email, it=E2=80=99s definitely a good question.

Lisa


On Mon, Apr 24, 2023 at 02:09 Michael Folkson via Lightning-dev <
lightning-dev@lists.linuxfoundation.org> wrote:

> Any thoughts on this from the Core Lightning contributors? The way I see
> it with upcoming proposed changes to default policy (primarily though not
> exclusively for Lightning) and a soft fork activation attempt of APO/APOA=
S
> (primarily though not exclusively for Lightning) that a tighter coupling
> between the full node and the Lightning node could eventually make sense.
> In a world where transaction fees were much higher you'd think almost eve=
ry
> full node would also want to be a Lightning node and so the separation of
> concerns would make less sense. Having two separate P2P networks and two
> separate P2P protocols also wouldn't make much sense in this scenario. Yo=
u
> could obviously still opt out of Lightning P2P messages if you weren't
> interested in Lightning.
>
> The alternative would be just to focus on Knots style consensus compatibl=
e
> forks of Core with limited additional functionality. But I think we've
> reached the point of no return on Core dominance and not having widely us=
ed
> "distros". As the ecosystem scales systems and processes should be
> constantly evolving and improving and to me if anything Core's seem to be
> going backwards.
>
> Thanks
> Michael
>
> --
> Michael Folkson
> Email: michaelfolkson at protonmail.com
> Keybase: michaelfolkson
> PGP: 43ED C999 9F85 1D40 EAF4 9835 92D6 0159 214C FEE3
>
> ------- Original Message -------
>
> On Saturday, January 14th, 2023 at 20:26, Michael Folkson <
> michaelfolkson@protonmail.com> wrote:
>
> I tweeted this [0] back in November 2022.
>
> "With the btcd bugs and the analysis paralysis on a RBF policy option in
> Core increasingly thinking @BitcoinKnots and consensus compatible forks o=
f
> Core are the future. Gonna chalk that one up to another thing @LukeDashjr
> was right about all along."
>
> A new bare bones Knots style Bitcoin implementation (in C++/C) integrated
> with Core Lightning was a long term idea I had (and presumably many other=
s
> have had) but the dysfunction on the Bitcoin Core project this week (if
> anything it has been getting worse over time, not better) has made me sta=
rt
> to take the idea more seriously. It is clear to me that the current way t=
he
> Bitcoin Core project is being managed is not how I would like an open
> source project to be managed. Very little discussion is public anymore an=
d
> decisions seem to be increasingly made behind closed doors or in private
> IRC channels (to the extent that decisions are made at all). Core Lightni=
ng
> seems to have the opposite problem. It is managed effectively in the open
> (admittedly with fewer contributors) but doesn't have the eyeballs or the
> usage that Bitcoin Core does. Regardless, selfishly I at some point would
> like a bare bones Bitcoin and Lightning implementation integrated in one
> codebase. The Bitcoin Core codebase has collected a lot of cruft over tim=
e
> and the ultra conservatism that is needed when treating (potential)
> consensus code seems to permeate into parts of the codebase that no one i=
s
> using, definitely isn't consensus code and should probably just be remove=
d.
>
> The libbitcoinkernel project was (is?) an attempt to extract the consensu=
s
> engine out of Core but it seems like it won't achieve that as consensus i=
s
> just too slippery a concept and Knots style consensus compatible codebase
> forks of Bitcoin Core seem to still the model. To what extent you can
> safely chop off this cruft and effectively maintain this less crufty fork
> of Bitcoin Core also isn't clear to me yet.
>
> Then there is the question of whether it makes sense to mix C and C++ cod=
e
> that people have different views on. C++ is obviously a superset of C but
> assuming this merging of Bitcoin Core and Core Lightning is/was the optim=
al
> final destination it surely would have been better if Core Lightning was
> written in the same language (i.e. with classes) as Bitcoin Core.
>
> I'm just floating the idea to (hopefully) hear from people who are much
> more familiar with the entirety of the Bitcoin Core and Core Lightning
> codebases. It would be an ambitious long term project but it would be nic=
e
> to focus on some ambitious project(s) (even if just conceptually) for a
> while given (thankfully) there seems to be a lull in soft fork activation
> chaos.
>
> Thanks
> Michael
>
> [0]:
> https://twitter.com/michaelfolkson/status/1589220155006910464?s=3D20&t=3D=
GbPm7w5BqS7rS3kiVFTNcw
>
> --
> Michael Folkson
> Email: michaelfolkson at protonmail.com
> Keybase: michaelfolkson
> PGP: 43ED C999 9F85 1D40 EAF4 9835 92D6 0159 214C FEE3
>
>
> _______________________________________________
> Lightning-dev mailing list
> Lightning-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev
>

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

<div dir=3D"auto">Hi Michael,</div><div dir=3D"auto"><br></div><div dir=3D"=
auto">CLN as implemented is currently nicely decoupled from the block sourc=
e; as a project we assume that the node runner will choose a block backend =
that fits their self-sovereignty goals.</div><div dir=3D"auto"><br></div><d=
iv dir=3D"auto">This provides us with a nice separation of concerns. The bl=
ock source is responsible for ensuring that only consensus valid data is de=
livered to the node, which in turn allows us to focus on processing and rea=
cting to that data, as necessary.</div><div dir=3D"auto"><br></div><div dir=
=3D"auto">Bitcoin core as a project implements a broad swath of functionali=
ty (wallet, consensus, peering, rpc server, coin selection, key management,=
 etc); breaking out the validation and peering functions into more composab=
le parts would def open up more opportunities for building block sources fo=
r a wide variety of projects, not just CLN.</div><div dir=3D"auto"><br></di=
v><div dir=3D"auto">There=E2=80=99s probably a real opportunity to =E2=80=
=9Ccomingle=E2=80=9D the peering of LN gossip + block data networks, this h=
as been suggested a few times but never seriously pursued from the LN side.=
 Having the peering functions of bitcoin-core broken out into a more compos=
able/reusable piece may be a good first step here, and as a project would l=
argely be on the bitcoin core side. Maybe this work is already in progress?=
 I havent been keeping up with developments there.</div><div dir=3D"auto"><=
br></div><div dir=3D"auto">Thanks for the email, it=E2=80=99s definitely a =
good question.</div><div dir=3D"auto"><br></div><div dir=3D"auto">Lisa</div=
><div dir=3D"auto"><br></div><div dir=3D"auto"><br></div><div dir=3D"auto">=
On Mon, Apr 24, 2023 at 02:09 Michael Folkson via Lightning-dev &lt;<a href=
=3D"mailto:lightning-dev@lists.linuxfoundation.org">lightning-dev@lists.lin=
uxfoundation.org</a>&gt; wrote:<br></div><div><div class=3D"gmail_quote"><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex"><div style=3D"font-family:Arial,sans-serif;fon=
t-size:14px">Any thoughts on this from the Core Lightning contributors? The=
 way I see it with upcoming proposed changes to default policy (primarily t=
hough not exclusively for Lightning) and a soft fork activation attempt of =
APO/APOAS (primarily though not exclusively for Lightning) that a tighter c=
oupling between the full node and the Lightning node could eventually make =
sense. In a world where transaction fees were much higher you&#39;d think a=
lmost every full node would also want to be a Lightning node and so the sep=
aration of concerns would make less sense. Having two separate P2P networks=
 and two separate P2P protocols also wouldn&#39;t make much sense in this s=
cenario. You could obviously still opt out of Lightning P2P messages if you=
 weren&#39;t interested in Lightning.</div><div style=3D"font-family:Arial,=
sans-serif;font-size:14px"><br></div><div style=3D"font-family:Arial,sans-s=
erif;font-size:14px">The alternative would be just to focus on Knots style =
consensus compatible forks of Core with limited additional functionality. B=
ut I think we&#39;ve reached the point of no return on Core dominance and n=
ot having widely used &quot;distros&quot;. As the ecosystem scales systems =
and processes should be constantly evolving and improving and to me if anyt=
hing Core&#39;s seem to be going backwards.</div><div style=3D"font-family:=
Arial,sans-serif;font-size:14px"><br></div><div style=3D"font-family:Arial,=
sans-serif;font-size:14px">Thanks</div><div style=3D"font-family:Arial,sans=
-serif;font-size:14px">Michael</div><div style=3D"font-family:Arial,sans-se=
rif;font-size:14px"><br></div>
<div style=3D"font-family:Arial,sans-serif;font-size:14px">
    <div>
        <div style=3D"font-family:arial;font-size:14px"><span style=3D"colo=
r:rgb(38,42,51);font-style:normal;font-weight:400;letter-spacing:normal;tex=
t-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;back=
ground-color:rgb(255,255,255);float:none;display:inline"><span style=3D"fon=
t-family:&#39;SFMono-Regular&#39;,Consolas,&#39;Liberation Mono&#39;,Menlo,=
monospace,monospace"><span style=3D"font-size:14px">--<br>Michael Folkson<b=
r>Email: michaelfolkson at </span></span></span><a href=3D"http://protonmai=
l.com/" style=3D"line-height:normal;text-decoration:underline;font-family:&=
#39;SFMono-Regular&#39;,Consolas,&#39;Liberation Mono&#39;,Menlo,monospace,=
monospace;font-size:14px;font-style:normal;font-weight:400;letter-spacing:n=
ormal;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing=
:0px" rel=3D"noopener noreferrer" target=3D"_blank">protonmail.com</a><span=
 style=3D"color:rgb(38,42,51);font-style:normal;font-weight:400;letter-spac=
ing:normal;text-indent:0px;text-transform:none;white-space:pre-wrap;word-sp=
acing:0px;background-color:rgb(255,255,255);float:none;display:inline"><spa=
n style=3D"font-family:&#39;SFMono-Regular&#39;,Consolas,&#39;Liberation Mo=
no&#39;,Menlo,monospace,monospace"><span style=3D"font-size:14px"> </span><=
/span></span><br></div><div style=3D"font-family:arial;font-size:14px"><spa=
n style=3D"color:rgb(38,42,51);font-style:normal;font-weight:400;letter-spa=
cing:normal;text-indent:0px;text-transform:none;white-space:pre-wrap;word-s=
pacing:0px;background-color:rgb(255,255,255);float:none;display:inline"><sp=
an style=3D"font-family:&#39;SFMono-Regular&#39;,Consolas,&#39;Liberation M=
ono&#39;,Menlo,monospace,monospace"><span style=3D"font-size:14px">Keybase:=
 michaelfolkson<br>PGP: 43ED C999 9F85 1D40 EAF4 9835 92D6 0159 214C FEE3</=
span></span></span><br></div>
    </div>
   =20
            <div>
       =20
            </div>
</div>
<div style=3D"font-family:Arial,sans-serif;font-size:14px"><br></div><div>
        ------- Original Message -------</div><div><br>
        On Saturday, January 14th, 2023 at 20:26, Michael Folkson &lt;<a hr=
ef=3D"mailto:michaelfolkson@protonmail.com" target=3D"_blank">michaelfolkso=
n@protonmail.com</a>&gt; wrote:<br><br>
        <blockquote type=3D"cite">
            <div style=3D"font-family:Arial;font-size:14px">I tweeted this =
[0] back in November 2022.</div><div style=3D"font-family:Arial;font-size:1=
4px"><br></div><div style=3D"font-family:Arial;font-size:14px">&quot;With t=
he btcd bugs and the analysis paralysis on a RBF policy option in Core incr=
easingly thinking @BitcoinKnots and consensus compatible forks of Core are =
the future. Gonna chalk that one up to another thing @LukeDashjr was right =
about all along.&quot;</div><div style=3D"font-family:Arial;font-size:14px"=
><br></div><div style=3D"font-family:Arial;font-size:14px">A new bare bones=
 Knots style Bitcoin implementation (in C++/C) integrated with Core Lightni=
ng was a long term idea I had (and presumably many others have had) but the=
 dysfunction on the Bitcoin Core project this week (if anything it has been=
 getting worse over time, not better) has made me start to take the idea mo=
re seriously. It is clear to me that the current way the Bitcoin Core proje=
ct is being managed is not how I would like an open source project to be ma=
naged. Very little discussion is public anymore and decisions seem to be in=
creasingly made behind closed doors or in private IRC channels (to the exte=
nt that decisions are made at all). Core Lightning seems to have the opposi=
te problem. It is managed effectively in the open (admittedly with fewer co=
ntributors) but doesn&#39;t have the eyeballs or the usage that Bitcoin Cor=
e does. Regardless, selfishly I at some point would like a bare bones Bitco=
in and Lightning implementation integrated in one codebase. The Bitcoin Cor=
e codebase has collected a lot of cruft over time and the ultra conservatis=
m that is needed when treating (potential) consensus code seems to permeate=
 into parts of the codebase that no one is using, definitely isn&#39;t cons=
ensus code and should probably just be removed.</div><div style=3D"font-fam=
ily:Arial;font-size:14px"><br></div><div style=3D"font-family:Arial;font-si=
ze:14px">The libbitcoinkernel project was (is?) an attempt to extract the c=
onsensus engine out of Core but it seems like it won&#39;t achieve that as =
consensus is just too slippery a concept and Knots style consensus compatib=
le codebase forks of Bitcoin Core seem to still the model. To what extent y=
ou can safely chop off this cruft and effectively maintain this less crufty=
 fork of Bitcoin Core also isn&#39;t clear to me yet.</div><div style=3D"fo=
nt-family:Arial;font-size:14px"><br></div><div style=3D"font-family:Arial;f=
ont-size:14px">Then there is the question of whether it makes sense to mix =
C and C++ code that people have different views on. C++ is obviously a supe=
rset of C but assuming this merging of Bitcoin Core and Core Lightning is/w=
as the optimal final destination it surely would have been better if Core L=
ightning was written in the same language (i.e. with classes) as Bitcoin Co=
re.</div><div style=3D"font-family:Arial;font-size:14px"><br></div><div sty=
le=3D"font-family:Arial;font-size:14px">I&#39;m just floating the idea to (=
hopefully) hear from people who are much more familiar with the entirety of=
 the Bitcoin Core and Core Lightning codebases. It would be an ambitious lo=
ng term project but it would be nice to focus on some ambitious project(s) =
(even if just conceptually) for a while given (thankfully) there seems to b=
e a lull in soft fork activation chaos.</div><div style=3D"font-family:Aria=
l;font-size:14px"><br></div><div style=3D"font-family:Arial;font-size:14px"=
>Thanks</div><div style=3D"font-family:Arial;font-size:14px">Michael</div><=
div style=3D"font-family:Arial;font-size:14px"><br></div><div style=3D"font=
-family:Arial;font-size:14px"><span style=3D"color:rgb(34,34,34);background=
-color:rgb(255,255,255)">[0]:=C2=A0</span><span style=3D"font-family:Times;=
font-size:15px;white-space:pre-wrap;background-color:rgb(0,0,0);display:inl=
ine!important"><a href=3D"https://twitter.com/michaelfolkson/status/1589220=
155006910464?s=3D20&amp;t=3DGbPm7w5BqS7rS3kiVFTNcw" rel=3D"noreferrer nofol=
low noopener" target=3D"_blank"><span style=3D"color:rgb(34,34,34);backgrou=
nd-color:rgb(255,255,255)">https://twitter.com/michaelfolkson/status/158922=
0155006910464?s=3D20&amp;t=3DGbPm7w5BqS7rS3kiVFTNcw</span></a></span></div>=
<div style=3D"font-family:Arial;font-size:14px"><br></div>
<div style=3D"font-family:Arial;font-size:14px">
    <div>
        <div style=3D"font-family:arial;font-size:14px"><span style=3D"colo=
r:rgb(38,42,51);font-style:normal;font-weight:400;letter-spacing:normal;tex=
t-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;back=
ground-color:rgb(255,255,255);float:none;display:inline"><span style=3D"fon=
t-family:&#39;SFMono-Regular&#39;,Consolas,&#39;Liberation Mono&#39;,Menlo,=
monospace,monospace"><span style=3D"font-size:14px">--<br>Michael Folkson<b=
r>Email: michaelfolkson at </span></span></span><a rel=3D"noreferrer nofoll=
ow noopener" style=3D"line-height:normal;text-decoration:underline;font-fam=
ily:&#39;SFMono-Regular&#39;,Consolas,&#39;Liberation Mono&#39;,Menlo,monos=
pace,monospace;font-size:14px;font-style:normal;font-weight:400;letter-spac=
ing:normal;text-indent:0px;text-transform:none;white-space:pre-wrap;word-sp=
acing:0px" href=3D"http://protonmail.com/" target=3D"_blank">protonmail.com=
</a><span style=3D"color:rgb(38,42,51);font-style:normal;font-weight:400;le=
tter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre-wra=
p;word-spacing:0px;background-color:rgb(255,255,255);float:none;display:inl=
ine"><span style=3D"font-family:&#39;SFMono-Regular&#39;,Consolas,&#39;Libe=
ration Mono&#39;,Menlo,monospace,monospace"><span style=3D"font-size:14px">=
 </span></span></span><br></div><div style=3D"font-family:arial;font-size:1=
4px"><span style=3D"color:rgb(38,42,51);font-style:normal;font-weight:400;l=
etter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre-wr=
ap;word-spacing:0px;background-color:rgb(255,255,255);float:none;display:in=
line"><span style=3D"font-family:&#39;SFMono-Regular&#39;,Consolas,&#39;Lib=
eration Mono&#39;,Menlo,monospace,monospace"><span style=3D"font-size:14px"=
>Keybase: michaelfolkson<br>PGP: 43ED C999 9F85 1D40 EAF4 9835 92D6 0159 21=
4C FEE3</span></span></span><br></div>
    </div>

            <div>

            </div>
</div>

        </blockquote><br>
    </div>_______________________________________________<br>
Lightning-dev mailing list<br>
<a href=3D"mailto:Lightning-dev@lists.linuxfoundation.org" target=3D"_blank=
">Lightning-dev@lists.linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev=
" rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.org/ma=
ilman/listinfo/lightning-dev</a><br>
</blockquote></div></div>

--000000000000036f4105fa17338e--