<oembed><type>rich</type><version>1.0</version><title>Keagan McClelland [ARCHIVE] wrote</title><author_name>Keagan McClelland [ARCHIVE] (npub1f2…ms289)</author_name><author_url>https://yabu.me/npub1f2nxequ09nz44775vv6lkffq2plzqvrqramnk29eddmwcc9z7jys8ms289</author_url><provider_name>njump</provider_name><provider_url>https://yabu.me</provider_url><html>📅 Original date posted:2023-07-19&#xA;🗒️ Summary of this message: The author agrees that a smooth functioning Lightning Network is important, but believes that adding covenant schemes can help simplify LN development. They challenge the idea that covenants are a distraction and suggest that they can contribute to LN&#39;s maturity.&#xA;📝 Original message:&#xA;Hi Antoine,&#xA;&#xA;Thank you for the effort you&#39;ve put towards this. I generally agree that a&#xA;smooth functioning Lightning Network is of greater importance than advanced&#xA;contracting capabilities. However, as I dive deeper into some of the more&#xA;ambitious goals for LN development I am learning that a great deal of&#xA;complexity of some current lightning (LN) proposals can be handily&#xA;discharged with CTV. While I am not intimately familiar with all of the&#xA;other covenant schemes to the same level of technical proficiency, I have a&#xA;suspicion that a number of them, if not all of them, are capable of&#xA;discharging the same flavor and amount of complexity as well. Others should&#xA;chime in if they can confirm this claim.&#xA;&#xA;I have been publicly on the record as supporting the addition of some&#xA;covenant scheme into Bitcoin for some time and have long held on&#xA;theoretical grounds that the addition of such a mechanism is both necessary&#xA;and inevitable if Bitcoin is to survive in the long term. However, as I&#39;ve&#xA;started to work more directly with the Lightning protocol, these&#xA;theoretical and purely logical arguments became far more concrete and&#xA;immediately beneficial.&#xA;&#xA;I say this primarily to challenge the idea that covenants are a distraction&#xA;from lightning development. It may very well be that your areas of focus on&#xA;LN preclude you from splitting your attention and none of this email should&#xA;be interpreted as a criticism of you applying your efforts in the highest&#xA;leverage manner you can manage. That said, I don&#39;t want observers of this&#xA;thread to walk away with the impression that they are two independent&#xA;efforts as covenants can significantly contribute to LN&#39;s maturity. When&#xA;and how should they be prioritized? Unfortunately I don&#39;t feel able to&#xA;comment on that at this time. All I know is that Lightning would almost&#xA;certainly benefit substantially from having a covenant primitive.&#xA;&#xA;Cheers,&#xA;Keags&#xA;&#xA;On Tue, Jul 18, 2023 at 3:40 PM Antoine Riard via bitcoin-dev &lt;&#xA;bitcoin-dev at lists.linuxfoundation.org&gt; wrote:&#xA;&#xA;&gt; Hi list,&#xA;&gt;&#xA;&gt; Last year amid the failure of the CTV speedy trial activation and intense&#xA;&gt; conversations about a rainbow of covenant proposals, I introduced the idea&#xA;&gt; of a new community process to specify covenants [0]. This post is to resume&#xA;&gt; the experiment so far and officially mark the process maintenance as &#34;up&#xA;&gt; for grabs&#34;, as I won&#39;t actively pursue it further (after wavering on such a&#xA;&gt; decision a bit during May / June).&#xA;&gt;&#xA;&gt; Few of the goals announced at that time were to build a consistent&#xA;&gt; framework to evaluate covenant proposals, see the common grounds between&#xA;&gt; proposals if they could be composed or combined by their authors, open the&#xA;&gt; consensus  changes development process beyond the historical boundaries of&#xA;&gt; Bitcoin Core and maintain high-quality technical archive as a consensus&#xA;&gt; discussions have spawned half a decade from intellectual conception to&#xA;&gt; activation in average (at least for segwit, schnorr, taproot).&#xA;&gt;&#xA;&gt; Such effort was a speak-by-the-act answer to the issues in&#xA;&gt; consensus development changes pointed out by Jeremy Rubin in April of last&#xA;&gt; year [1]: namely the lack of a &#34;codified checklist&#34; for consensus changes,&#xA;&gt; that &#34;consensus is memoryless&#34; and &#34;bitcoin core is not bitcoin&#34;&#xA;&gt; (independently of the technical concerns as I have as limited or&#xA;&gt; non-adequate primitive for vaults / payment pools I expressed during the&#xA;&gt; same time). Other complementary initiatives have been undertaken during the&#xA;&gt; same period, AJ with the bitcoin-inquisition fork where the community of&#xA;&gt; developers and contracting primitives of researchers on a consensus-enabled&#xA;&gt; fork of core [2]. And Dave Harding with the careful archiving of all&#xA;&gt; covenant proposals under the Optech umbrella [3].&#xA;&gt;&#xA;&gt; About the Bitcoin Contracting Primitives WG, a Github repository was&#xA;&gt; started and maintained to archive and document all the primitives (apo,&#xA;&gt; tluv, ctv, the taproot annex, sighash_group, CSFS, cat, txhash, evict,&#xA;&gt; check_output_covenant_verify, inherited ids, anyamount, singletons,&#xA;&gt; op_vault) and the corresponding protocols (payment pools, vaults,&#xA;&gt; drivechains, trust-minimized mining pools payouts). We had a total of 6&#xA;&gt; monthly meetings on the Libera chat #bitcoin-contracting-primitives-wg for&#xA;&gt; a number of more than 20 individual attendees representing most of the&#xA;&gt; parts of the community. I think (missing march logs). Numerous in-depth&#xA;&gt; discussions did happen on the repository and on the channel on things like&#xA;&gt; &#34;merkelized all the things&#34; or &#34;payment pools for miners payoffs&#34;.&#xA;&gt;&#xA;&gt; As I&#39;ve been busy on the Lightning-side and other Bitcoin projects, I&#39;ve&#xA;&gt; not run an online meeting since the month of April, while still having a&#xA;&gt; bunch of fruitful technical discussions with folks involved in the effort&#xA;&gt; at conferences and elsewhere. I launched the effort as an experiment with&#xA;&gt; the soft commitment to dedicate 20% of my time on it, after few successful&#xA;&gt; sessions I think such a process has an interest of its own, however it&#xA;&gt; comes with direct competition of my time to work on Lightning robustness.&#xA;&gt; Getting my hands dirty on low-level LDK development recently made me&#xA;&gt; realize we still have years of titan work to get a secure and reliable&#xA;&gt; Lightning Network.&#xA;&gt;&#xA;&gt; As such, between extended covenant capabilities for advanced contracts&#xA;&gt; coming as a reality for Bitcoin _or_ LN working smoothly at scale with&#xA;&gt; 50-100M UTXO-sharing users on it during the next 5-7 years cycle, I think&#xA;&gt; the latter goal is more critical for Bitcoin existential survival, and&#xA;&gt; where on a personal title I&#39;ll allocate the best of my time and energy (and&#xA;&gt; somehow it match the &#34;slow&#34; technical activity on bitcoin-inquisition&#xA;&gt; mostly done by Lightning hands).&#xA;&gt;&#xA;&gt; This is my personal conclusion only on the state of Bitcoin technological&#xA;&gt; momentum, and this is quite tainted by my deep background in Lightning&#xA;&gt; development. If you&#39;ve been working on covenant changes proposals, please&#xA;&gt; don&#39;t take it as a discouragement, I think Taproot (privacy-preserving&#xA;&gt; script policies behind the taproot tree branches) and Schnorr (for native&#xA;&gt; multi-sig) soft forks have shown how it can improve the building of&#xA;&gt; self-custody solutions by one or two order of magnitude, and small&#xA;&gt; incremental changes might be good enough to have a lower technical&#xA;&gt; consensus bar.&#xA;&gt;&#xA;&gt; On my side, I&#39;ll pursue pure R&amp;D works on CoinPool, notably coming with&#xA;&gt; better solutions with the interactivity issue and mass-compression of&#xA;&gt; withdrawal and design exotic advanced Bitcoin contracts based on the&#xA;&gt; taproot annex, though more in a &#34;l&#39;art pour l&#39;art&#34; approach for the time&#xA;&gt; being [4]. Additionally, I might start to submit an in-depth security&#xA;&gt; review of consensus changes under pseudonyms, it has already been done in&#xA;&gt; the past and somehow it&#39;s good practice in terms of &#34;message neutrality&#34;&#xA;&gt; [5]. If folks wanna experiment in terms of payment pools deployment, Greg&#xA;&gt; Maxwell&#39;s old joinpool can be used today (and somehow it&#39;s worthy of its&#xA;&gt; own as a net advance for coinjoins).&#xA;&gt;&#xA;&gt; I&#39;ll honestly acknowledge towards the community, I might have overpromised&#xA;&gt; with the kickstart of this new process aiming to move the frontlines in&#xA;&gt; matters of Bitcoin consensus changes development process. On the other&#xA;&gt; hand, I think enough sessions of the working group have been runned and&#xA;&gt; enough marks of technical interests have been collected to demonstrate the&#xA;&gt; minimal value of such a process, so I would estimate my open-source balance&#xA;&gt; sheet towards the community to be in good standing ? (open-minded question).&#xA;&gt;&#xA;&gt; I don&#39;t think Bitcoin fundamentally lacks compelling technical proposals&#xA;&gt; to advance the capabilities of Bitcoin Script today, nor the crowd of&#xA;&gt; seasoned and smart protocol developers to evaluate mature proposals&#xA;&gt; end-to-end and on multiple dimensions with a spirit of independence.&#xA;&gt; Rather, I believe what Bitcoin is lacking is a small crowd of technical&#xA;&gt; historians and archivist doing the work of assessing, collecting and&#xA;&gt; preserving consensus changes proposals and QA devs to ensure any consensus&#xA;&gt; change proposals has world-class battle-ground testing before to be&#xA;&gt; considered for deployment, ideally with the best standards of Bitcoin&#xA;&gt; decentralization and FOSS neutrality [6].&#xA;&gt;&#xA;&gt; If you would like to pursue the maintenance and nurturing of the Bitcoin&#xA;&gt; Contracting Primitives WG (or the bitcoin-inquisition fork or collaborate&#xA;&gt; with Optech to organize industry-wise workshop on covenants at the image of&#xA;&gt; what has been done in 2019 for Taproot), that you&#39;re willing to show&#xA;&gt; proof-of-work and you estimate that operational ground, legal information&#xA;&gt; or financial resources will anchor your individual work on the long-term,&#xA;&gt; don&#39;t hesitate to reach out, I&#39;ll see what I can do with a disinterested&#xA;&gt; mind [7].&#xA;&gt;&#xA;&gt; With humility,&#xA;&gt; Antoine&#xA;&gt;&#xA;&gt; [0]&#xA;&gt; https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2022-July/020763.html&#xA;&gt; [1]&#xA;&gt; https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2022-April/020233.html&#xA;&gt; [2]&#xA;&gt; https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2022-September/020921.html&#xA;&gt; [3] https://github.com/bitcoinops/bitcoinops.github.io/pull/806&#xA;&gt; [4] Version 0.2 of the CoinPool whitepaper addressing most of the&#xA;&gt; remaining &#34;Big Problems&#34; is still pending on my visit to co-author Gleb&#xA;&gt; Naumenko in Ukraine, which has been postponed few times in light of the&#xA;&gt; conflict operational evolutions.&#xA;&gt; [5] See&#xA;&gt; https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2020-February/017614.html.&#xA;&gt; For the philosophical reasons of doing so, I invite you to read Foucault&#39;s&#xA;&gt; famous essay &#34;Le philosophe masque&#34;.&#xA;&gt; [6] Somehow I come to share Jeremy&#39;s thesis&#39;s &#34;Product management is not&#xA;&gt; &#34;my Job&#34; it&#39;s yours&#34; in matters of consensus changes. I believe we might be&#xA;&gt; past the technical complexity threshold where even simple consensus changes&#xA;&gt; can be conducted from A to Z as a one man job or even by a group of 2/3&#xA;&gt; elite devs.&#xA;&gt; [7] I&#39;ve been reached out multiple times and consistently by R&amp;D&#xA;&gt; non-profits, plebs whales and VC firms who were interested to commit&#xA;&gt; resources to advance softforks and covenants in the Bitcoin space, no doubt&#xA;&gt; when you&#39;re reliable and with a track record, folks are ready to offer you&#xA;&gt; opportunities to work full-time on consensus changes.&#xA;&gt; _______________________________________________&#xA;&gt; bitcoin-dev mailing list&#xA;&gt; bitcoin-dev at lists.linuxfoundation.org&#xA;&gt; https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&#xA;&gt;&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20230719/5dac7ac0/attachment.html&gt;</html></oembed>