<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <updated>2023-06-09T12:15:10Z</updated>
  <generator>https://njump.me</generator>

  <title>Nostr notes by Andrés G. Aragoneses [ARCHIVE]</title>
  <author>
    <name>Andrés G. Aragoneses [ARCHIVE]</name>
  </author>
  <link rel="self" type="application/atom+xml" href="https://njump.me/npub13e0usm0e4q8qmxvgyq85xapy84hrsks3yp376dqx0ma5ahedsq4s2tkq6u.rss" />
  <link href="https://njump.me/npub13e0usm0e4q8qmxvgyq85xapy84hrsks3yp376dqx0ma5ahedsq4s2tkq6u" />
  <id>https://njump.me/npub13e0usm0e4q8qmxvgyq85xapy84hrsks3yp376dqx0ma5ahedsq4s2tkq6u</id>
  <icon></icon>
  <logo></logo>




  <entry>
    <id>https://njump.me/nevent1qqsg6rwh3pf98vjmtexlptehf6mg3tw7a9y6r7hpl30clxzkdrfqtkqzyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzktqxt3a</id>
    
      <title type="html">📅 Original date posted:2021-10-13 📝 Original message: Hello ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsg6rwh3pf98vjmtexlptehf6mg3tw7a9y6r7hpl30clxzkdrfqtkqzyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzktqxt3a" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqspuc23dspa95vyp3jqzrezf96upfar4endvqg4t8yeckhlczeha4s4lgyza&#39;&gt;nevent1q…gyza&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-10-13&lt;br/&gt;📝 Original message:&lt;br/&gt;Hello Matt, can you clarify what you mean with this particular paragraph?:&lt;br/&gt;&lt;br/&gt;But for some reason those pesky users keep wanting to use lightning for&lt;br/&gt;&amp;gt; tips, or at least accept&lt;br/&gt;&amp;gt; payment on their phones without keeping them unlocked with the lightning&lt;br/&gt;&amp;gt; app open on the foreground&lt;br/&gt;&amp;gt; 24/7.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;So the use case here is more narrow? You mean that the recipient is a&lt;br/&gt;mobile user that has his phone locked?&lt;br/&gt;Just so I understand better what the problem is.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;On Wed, 13 Oct 2021 at 12:44, Matt Corallo &amp;lt;lf-lists at mattcorallo.com&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; I&amp;#39;m sure most of y&amp;#39;all are familiar with this problem by now - a lightning&lt;br/&gt;&amp;gt; user on a phone trying to&lt;br/&gt;&amp;gt; pay another lightning user on a phone requires some amount of coordination&lt;br/&gt;&amp;gt; to ensure the sender and&lt;br/&gt;&amp;gt; recipient are, roughly, online at the same time.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Invoices provide this somewhat today by requiring the recipient provide&lt;br/&gt;&amp;gt; some live-ish data to the&lt;br/&gt;&amp;gt; sender with their phone in their hand.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; But for some reason those pesky users keep wanting to use lightning for&lt;br/&gt;&amp;gt; tips, or at least accept&lt;br/&gt;&amp;gt; payment on their phones without keeping them unlocked with the lightning&lt;br/&gt;&amp;gt; app open on the foreground&lt;br/&gt;&amp;gt; 24/7.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; There&amp;#39;s a few things live today which make progress towards this goal, but&lt;br/&gt;&amp;gt; don&amp;#39;t quite get there&lt;br/&gt;&amp;gt; (and mostly aren&amp;#39;t trying to solve this problem, but are worth mentioning):&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;   * just have the recipient use a custodial product/run a full lightning&lt;br/&gt;&amp;gt; node at home on an RPi.&lt;br/&gt;&amp;gt;     Obviously this has some pretty substantial drawbacks, I&amp;#39;m not sure I&lt;br/&gt;&amp;gt; even need to list them, but&lt;br/&gt;&amp;gt; the &amp;#34;just require the recipient use a custodial service&amp;#34; is what Twitter&lt;br/&gt;&amp;gt; ended up shipping with for&lt;br/&gt;&amp;gt; lightning tipping, and we should all probably feel ashamed that they felt&lt;br/&gt;&amp;gt; the need to do that.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;   * Blockstream Greenlight.&lt;br/&gt;&amp;gt;     This change the online-requirements model - with the keys on your&lt;br/&gt;&amp;gt; phone/elsewhere you still have&lt;br/&gt;&amp;gt; to have your phone online with the same requirements as running a full&lt;br/&gt;&amp;gt; lightning node. It just means&lt;br/&gt;&amp;gt; fewer resources on that device.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;   * use keysend/AMP/whatever.&lt;br/&gt;&amp;gt;     This is great for tips, but only half the story. Sender goes to send a&lt;br/&gt;&amp;gt; keysend payment, gets to&lt;br/&gt;&amp;gt; one hop before the recipient, and then a day later the recipient comes&lt;br/&gt;&amp;gt; online to find the payment&lt;br/&gt;&amp;gt; long-since timed out and failed backwards. Or you could use a long CLTV on&lt;br/&gt;&amp;gt; the payment to make sure&lt;br/&gt;&amp;gt; the recipient has time to claim it, which is basically a DoS on the&lt;br/&gt;&amp;gt; lightning network&amp;#39;s capacity,&lt;br/&gt;&amp;gt; one that may eventually be fixed, breaking your payments, and which is&lt;br/&gt;&amp;gt; just generally antisocial.&lt;br/&gt;&amp;gt; Still, my understanding is some folks do this today cause its the only&lt;br/&gt;&amp;gt; option for a mobile device.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;   * lnurl&lt;br/&gt;&amp;gt;     ...is a great way to get an invoice, presumably from a trusted LSP for&lt;br/&gt;&amp;gt; the recipient, trusting&lt;br/&gt;&amp;gt; them to not give the same invoice twice, but doesn&amp;#39;t help the recipient&lt;br/&gt;&amp;gt; receive the payment, they&lt;br/&gt;&amp;gt; still need to be online, unless...&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;   * have a fully-trusted LSP that accepts payments and forwards them later&lt;br/&gt;&amp;gt;     this is also fine, where its practical, I guess, but I&amp;#39;d hope we can&lt;br/&gt;&amp;gt; do better. Worse, as far as&lt;br/&gt;&amp;gt; I understand the places where this is practical are becoming fewer and&lt;br/&gt;&amp;gt; fewer as the regulatory&lt;br/&gt;&amp;gt; uncertainty clears and everyone realizes the regulatory overhead of this&lt;br/&gt;&amp;gt; is...well you might as well&lt;br/&gt;&amp;gt; start applying for that banking charter now.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;   * have an untrusted LSP that sends you a notification to open the app&lt;br/&gt;&amp;gt; when a payment is received&lt;br/&gt;&amp;gt;     Several lightning apps do this today, and its somewhat of a stop-gap&lt;br/&gt;&amp;gt; but does help. On platforms&lt;br/&gt;&amp;gt; where the app gets some meager CPU time in response to a notification,&lt;br/&gt;&amp;gt; this can even fully solve the&lt;br/&gt;&amp;gt; problem by claiming the HTLC in response to the notification pushed&lt;br/&gt;&amp;gt; out-of-band. Sadly, the refrain&lt;br/&gt;&amp;gt; I&amp;#39;ve heard repeatedly is, these days, on both Android and especially iOS,&lt;br/&gt;&amp;gt; you can&amp;#39;t even rely on a&lt;br/&gt;&amp;gt; microsecond of CPU time in response to a notification. The OS fully&lt;br/&gt;&amp;gt; expects your app to run code&lt;br/&gt;&amp;gt; only when its on and in the foreground, unless you&amp;#39;re a VoIP app you&amp;#39;re&lt;br/&gt;&amp;gt; screwed. Relying on the user&lt;br/&gt;&amp;gt; to open the app immediately when they receive a notification is...fine, I&lt;br/&gt;&amp;gt; guess, absent a better&lt;br/&gt;&amp;gt; idea it seems like the best we&amp;#39;ve got today, but I&amp;#39;m not sure you&amp;#39;d find a&lt;br/&gt;&amp;gt; UX designer who would&lt;br/&gt;&amp;gt; *suggest* this :).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; But what would it take to do better? What follows is a simple straw-man,&lt;br/&gt;&amp;gt; but something that&amp;#39;s&lt;br/&gt;&amp;gt; borderline practical today and may at least generate a few ideas. It comes&lt;br/&gt;&amp;gt; in two variants&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; If we accept the lnurl trust model of &amp;#34;a third-party I can give a list of&lt;br/&gt;&amp;gt; pre-signed invoices, which&lt;br/&gt;&amp;gt; I trust to never provide an invoice twice, but otherwise is untrusted&amp;#34;,&lt;br/&gt;&amp;gt; then we could do something&lt;br/&gt;&amp;gt; like this:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Step 1. Tipper gets an invoice from the lnurl endpoint they wish to pay,&lt;br/&gt;&amp;gt; which contains some&lt;br/&gt;&amp;gt; &amp;#34;recipient is behind an LSP and rarely online, act accordingly&amp;#34; flag.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Step 2. Tipper sender sends a HTLC with a long CLTV timeout to their own&lt;br/&gt;&amp;gt; LSP with instructions&lt;br/&gt;&amp;gt; saying &amp;#34;when you get an onion message telling you nonce B, forward this&lt;br/&gt;&amp;gt; HTLC, until then, just sit&lt;br/&gt;&amp;gt; on it&amp;#34;. The LSP accepts this HTLC but does not forward it and is generally&lt;br/&gt;&amp;gt; okay with the long CLTV&lt;br/&gt;&amp;gt; delta because it would otherwise just be the users&amp;#39; balance anyway - if&lt;br/&gt;&amp;gt; they want to encumber their&lt;br/&gt;&amp;gt; own funds forever, no harm done.&lt;br/&gt;&amp;gt;    Note that if tipper is online regularly they can skip this step and&lt;br/&gt;&amp;gt; move on.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Step 3. The Tipper sends an onion message to recipient&amp;#39;s LSP saying &amp;#34;hey,&lt;br/&gt;&amp;gt; when recipient is online&lt;br/&gt;&amp;gt; again, use the included reply path to send nonce B to my LSP&amp;#34;.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; - sender can now safely go offline -&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Step 4. When the Recipient comes online, their LSP sends the reply to the&lt;br/&gt;&amp;gt; Tipper&amp;#39;s LSP,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Step 5. causing the Tipper&amp;#39;s LSP to (finally) forward the original HTLC,&lt;br/&gt;&amp;gt; which the Recipient receives.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; You&amp;#39;ll note that this solution, unlike simply sending a high-CLTV HTLC,&lt;br/&gt;&amp;gt; does not encumber funds for&lt;br/&gt;&amp;gt; any extended period of time except for the original sender, who wants to&lt;br/&gt;&amp;gt; send the funds off&lt;br/&gt;&amp;gt; elsewhere anyway. Nor does it rely on any parties who can at any point run&lt;br/&gt;&amp;gt; away with the funds (or&lt;br/&gt;&amp;gt; reasonably be construed as custodians for the funds). Further, this&lt;br/&gt;&amp;gt; solution does not rely on the&lt;br/&gt;&amp;gt; sender deanonymizing themselves to the recipient (or even informing the&lt;br/&gt;&amp;gt; recipient who the senders&amp;#39;&lt;br/&gt;&amp;gt; LSP is).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Note that lnurl here could be replaced with BOLT 12 if BOLT 12 gets some&lt;br/&gt;&amp;gt; flag indicating the Tipper&lt;br/&gt;&amp;gt; should ask an LSP for the invoice.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; But, okay, so the lnurl model of a trusted party not reusing invoices so&lt;br/&gt;&amp;gt; that the Recipient&amp;#39;s LSP&lt;br/&gt;&amp;gt; cannot just steal all funds after the first claim kinda really sucks, how&lt;br/&gt;&amp;gt; do we do better?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; The Obvious (tm) solution here is PTLCs - just have the sender always add&lt;br/&gt;&amp;gt; some random nonce * G to&lt;br/&gt;&amp;gt; the PTLC they&amp;#39;re paying and send the recipient a random nonce in the&lt;br/&gt;&amp;gt; onion. I&amp;#39;d generally suggest we&lt;br/&gt;&amp;gt; just go ahead and do this for every PTLC payment, cause why not? Now the&lt;br/&gt;&amp;gt; sender and the lnurl&lt;br/&gt;&amp;gt; endpoint have to collude to steal the funds, but, like, the sender could&lt;br/&gt;&amp;gt; always just give the lnurl&lt;br/&gt;&amp;gt; endpoint the money. I&amp;#39;d love suggestions for fixing this short of PTLCs,&lt;br/&gt;&amp;gt; but its not immediately&lt;br/&gt;&amp;gt; obvious to me that this is possible.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Thanks to Steve for pushing on the &amp;#34;how does a let users get tips in&lt;br/&gt;&amp;gt; lightning&amp;#34; issue, various&lt;br/&gt;&amp;gt; people for giving him feedback and the relayed to me, AJ for the PTLC&lt;br/&gt;&amp;gt; proposal, and Rusty for&lt;br/&gt;&amp;gt; tireless drum-beating on onion messages and BOLT 12.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Matt&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20211013/d180dac7/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20211013/d180dac7/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T13:04:14Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs000n3ugqj3daewlnq8kcemva7acszx7xm8ez34hnc7x28gg52xyszyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzkm4wnt2</id>
    
      <title type="html">📅 Original date posted:2021-10-11 📝 Original message: ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs000n3ugqj3daewlnq8kcemva7acszx7xm8ez34hnc7x28gg52xyszyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzkm4wnt2" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs9uk92fhxyyywcea7ypsks6p9fjemp8225a6ly7ft73gjl9dxut5gp84d2a&#39;&gt;nevent1q…4d2a&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-10-11&lt;br/&gt;📝 Original message:&lt;br/&gt;Completely agree with this. How to move this forward? Set up a vote? What&lt;br/&gt;would be the reasoning for not moving it?&lt;br/&gt;&lt;br/&gt;On Fri, 8 Oct 2021 at 23:25, Fabrice Drouin &amp;lt;fabrice.drouin at acinq.fr&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; Hello,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; When you navigate to &lt;a href=&#34;https://github.com/lightningnetwork/&#34;&gt;https://github.com/lightningnetwork/&lt;/a&gt; you find&lt;br/&gt;&amp;gt; - the Lightning Network white paper&lt;br/&gt;&amp;gt; - the Lightning Network specifications&lt;br/&gt;&amp;gt; - and ... the source code for lnd!&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; This has been an anomaly for years, which has created some confusion&lt;br/&gt;&amp;gt; between Lightning the open-source protocol and Lightning Labs, one of&lt;br/&gt;&amp;gt; the companies specifying and implementing this protocol, but we didn&amp;#39;t&lt;br/&gt;&amp;gt; do anything about it.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; I believe that was a mistake: a few days ago, Arcane Research&lt;br/&gt;&amp;gt; published a fairly detailed report on the state of the Lightning&lt;br/&gt;&amp;gt; Network: &lt;a href=&#34;https://twitter.com/ArcaneResearch/status/1445442967582302213&#34;&gt;https://twitter.com/ArcaneResearch/status/1445442967582302213&lt;/a&gt;.&lt;br/&gt;&amp;gt; They obviously did some real work there, and seem to imply that their&lt;br/&gt;&amp;gt; report was vetted by Open Node and Lightning Labs.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Yet in the first version that they published you’ll find this:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; &amp;#34;Lightning Labs, founded in 2016, has developed the reference client&lt;br/&gt;&amp;gt; for the Lightning Network called Lightning Network Daemon (LND)....&lt;br/&gt;&amp;gt; They also maintain the network standards documents (BOLTs)&lt;br/&gt;&amp;gt; repository.&amp;#34;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; They changed it because we told them that it was wrong, but the fact&lt;br/&gt;&amp;gt; that in 2021 people who took time do do proper research, interviews,&lt;br/&gt;&amp;gt; ... can still misunderstand that badly how the Lightning developers&lt;br/&gt;&amp;gt; community works means that we ourselves badly underestimated how&lt;br/&gt;&amp;gt; confusing mixing the open-source specs for Lightning and the source&lt;br/&gt;&amp;gt; code for one of its implementations can be.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; To be clear, I&amp;#39;m not blaming Arcane Research that much for thinking&lt;br/&gt;&amp;gt; that an implementation of an open-source protocol that is hosted with&lt;br/&gt;&amp;gt; the white paper and specs for that protocol is a &amp;#34;reference&amp;#34;&lt;br/&gt;&amp;gt; implementation, and thinking that since Lightning Labs maintains lnd&lt;br/&gt;&amp;gt; then they probably maintain the other stuff too. The problem is how&lt;br/&gt;&amp;gt; that information is published.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; So I&amp;#39;m proposing that lnd&amp;#39;s source code be removed from&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://github.com/lightningnetwork/&#34;&gt;https://github.com/lightningnetwork/&lt;/a&gt; (and moved to&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://github.com/lightninglabs&#34;&gt;https://github.com/lightninglabs&lt;/a&gt; for example, with the rest of their&lt;br/&gt;&amp;gt; Lightning tools, but it&amp;#39;s up to Lightning Labs).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Thanks,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Fabrice&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20211011/6d0c920c/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20211011/6d0c920c/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T13:04:02Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqspttpcr2pudjj86zve00y3r9j3fjv68wtjtp6lj9kgpd7ppawdnvgzyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzkd68lr6</id>
    
      <title type="html">📅 Original date posted:2021-08-23 📝 Original message: How ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqspttpcr2pudjj86zve00y3r9j3fjv68wtjtp6lj9kgpd7ppawdnvgzyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzkd68lr6" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs86d0zfyzjrprj3wqjvfcl9le8crz4t30thxpl5mpx7046azhczugvsshth&#39;&gt;nevent1q…shth&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-08-23&lt;br/&gt;📝 Original message:&lt;br/&gt;How is this related to the youtube video posted? Can you link to a specific&lt;br/&gt;time in it where it is discussed?&lt;br/&gt;&lt;br/&gt;On Sun, 15 Aug 2021 at 00:30, Daki Carnhof &amp;lt;carnhofdaki at gmail.com&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; This text was brought to life by repelling magnet forces of reading&lt;br/&gt;&amp;gt; ZmnSCPxj&amp;#39;s Algorithm For Channel Fee Settings. Thank you, Zmn! Bitcoin&lt;br/&gt;&amp;gt; has taught me to just do nothing and it would probably be preferable in&lt;br/&gt;&amp;gt; this case as well, but here is my 5msat.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; # Introduction&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Zero Fee Lightning Network Routing (both 0/0) is an alternative way of&lt;br/&gt;&amp;gt; looking at channel fee settings. The philosophical idea behind it is based&lt;br/&gt;&amp;gt; on the fact that by encouraging individuals to do their own (automated) fee&lt;br/&gt;&amp;gt; management we are actually forcing everyone individually to do the&lt;br/&gt;&amp;gt; decisions which are are currently done in fiat (and altcoin) standard&lt;br/&gt;&amp;gt; through interventions. And which we oppose by Bitcoin.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; # Reasoning&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; See discussion with Jordan P. Peterson and guests at&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://www.youtube.com/embed/iVym9wtopqs&#34;&gt;https://www.youtube.com/embed/iVym9wtopqs&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Our computers are running anyway for the Bitcoin nodes. They do quite a&lt;br/&gt;&amp;gt; lot of  simple computations for free* already. If it did not make sense,&lt;br/&gt;&amp;gt; the nodes would not be run. The same reasoning extends to zero fee routing&lt;br/&gt;&amp;gt; on LN. In our opinion it is much more straightforward to not ask for fees&lt;br/&gt;&amp;gt; on LN. The higher interest of the community will just melt into the overall&lt;br/&gt;&amp;gt; price, like Proof-of-Work does. Using an algorithm like Hill Climbing would&lt;br/&gt;&amp;gt; just make our computers compute even more and with uncertain results.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; * Without any immediate effect on the amount of satoshi the operator of&lt;br/&gt;&amp;gt; the node owns.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; That&amp;#39;s it. If I Had More Time, I Would Have Written a Shorter Letter.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Regards,&lt;br/&gt;&amp;gt; Daki&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20210823/2db7b37d/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20210823/2db7b37d/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T13:03:24Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsw79xu2xe4kqn7mty4r6l5j33uwjvxj6wrdku2ze3lav9we4kjfggzyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzk9rfwh7</id>
    
      <title type="html">📅 Original date posted:2021-02-11 📝 Original message: Hey ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsw79xu2xe4kqn7mty4r6l5j33uwjvxj6wrdku2ze3lav9we4kjfggzyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzk9rfwh7" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsvgsl56p9sdud2zjsvn8u5h9zmdelj57zqe2yvuqwxwnsw9l6ujvqc9slaf&#39;&gt;nevent1q…slaf&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-02-11&lt;br/&gt;📝 Original message:&lt;br/&gt;Hey ZmnSCPxj,&lt;br/&gt;&lt;br/&gt;On Thu, 11 Feb 2021 at 15:33, ZmnSCPxj &amp;lt;ZmnSCPxj at protonmail.com&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; Good morning Andres,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; This looks cool but would hinder UX too much for certain scenarios: e.g.&lt;br/&gt;&amp;gt; if the escrow in place is part of a bitcoin exchange, then you require the&lt;br/&gt;&amp;gt; bitcoin buyer to have bitcoin already, which makes it harder to on-ramp new&lt;br/&gt;&amp;gt; users (which could maybe only have fiat). Am I right?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Correct.&lt;br/&gt;&amp;gt; Though note that existing systems like Bisq, to my knowledge, have the&lt;br/&gt;&amp;gt; same problem, a buyer of Bitcoin has to have a small amount of Bitcoin to&lt;br/&gt;&amp;gt; offer as stake that can be revoked in case they attempt to defraud the&lt;br/&gt;&amp;gt; counterparty.&lt;br/&gt;&amp;gt; Without it, the counterparty takes on increased risk (which translate to&lt;br/&gt;&amp;gt; larger exchange spread).&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;Yeah I understand Bisq&amp;#39;s model.&lt;br/&gt;However not all P2P exchanges work like this; e.g. localcryptos, hodlhodl,&lt;br/&gt;localbitcoins, localcryptos...&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; In any case, once you have that initial stake, you can then keep&lt;br/&gt;&amp;gt; increasing your ability to provide stake so as to relieve your&lt;br/&gt;&amp;gt; counterparties of risk and have them offer better exchange rates, so it is&lt;br/&gt;&amp;gt; &amp;#34;only&amp;#34; an issue for initial onboarding.&lt;br/&gt;&amp;gt; Presumably, in the later stable state, parents will provide children the&lt;br/&gt;&amp;gt; initial stake needed for them to start transacting over such a system, just&lt;br/&gt;&amp;gt; as they already provide their children with other &amp;#34;initial stakes&amp;#34;&lt;br/&gt;&amp;gt; (education, food, shelter, etc.) anyway.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; So are you saying that this is not doable without PTLCs (with simple&lt;br/&gt;&amp;gt; HTLCs) unless it&amp;#39;s done like suggested?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Yes, it is yet another reason we want PTLCs quickly.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; An alternative would be to have dual-hash HTLCs, which would be helpful in&lt;br/&gt;&amp;gt; other escrow-related cases including escrow-facilitated cross-currency&lt;br/&gt;&amp;gt; swaps.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;Is there any disadvantage about using dual-hash HTLCs?&lt;br/&gt;Is it supported by the current LN spec?&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Regards,&lt;br/&gt;&amp;gt; ZmnSCPxj&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; On Thu, 11 Feb 2021 at 14:01, ZmnSCPxj &amp;lt;ZmnSCPxj at protonmail.com&amp;gt; wrote:&lt;br/&gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; Good morning Nadav and Andres,&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; Thank you for bringing up this topic again.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; Let me provide a new twist to this old idea.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; This is the entire logic of the contract to the seller:&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;    SELLER &amp;amp;&amp;amp; (BUYER || ESCROW)&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; Now, a big issue is that simple `&amp;amp;&amp;amp;` is trivial for PTLCs, it is the&lt;br/&gt;&amp;gt; `||` which is difficult and requires ECDH and proof that the ECDH was done&lt;br/&gt;&amp;gt; correctly.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; But we can observe the De Morgan Theorem:&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;    A || B &amp;lt;=&amp;gt; !(!A &amp;amp;&amp;amp; !B)&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; So how about we *invert* the logic?&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; So what we do is, we make *two* payments of the same amount:&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; * Seller -&amp;gt; Buyer , claimable by BUYER &amp;amp;&amp;amp; ESCROW key.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; * Buyer  -&amp;gt; Seller, claimable by SELLER key.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; So the ritual is this:&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; * Seller -&amp;gt; Buyer claimable by BUYER &amp;amp;&amp;amp; ESCROW.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; * Buyer -&amp;gt; Seller claimable by SELLER.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; * Seller hands over item.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; * Buyer judges whether to accept, or complain to Escrow.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; Now let us consider our cases:&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; * Buyer is satisfied with the product.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;   * Buyer fails the Seller-&amp;gt;Buyer payment after seller claims the&lt;br/&gt;&amp;gt; Buyer-&amp;gt;Seller payment, so Seller is paid and has no more obligations.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; * Buyer is dissastisfied and wants the Escrow to judge:&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;   * Escrow judges Buyer is right: Escrow reveals ESCROW key to Buyer,&lt;br/&gt;&amp;gt; who then clawbacks the payment to the seller.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;   * Escrow judges Seller is right: Escrow deletes ESCROW privkey (&amp;#34;not&lt;br/&gt;&amp;gt; ESCROW&amp;#34;), and the Seller-&amp;gt;Buyer payment eventually times out, ending the&lt;br/&gt;&amp;gt; obligation of the Seller.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; The &amp;#34;reverse&amp;#34; payment is effectively the inversion of logic by the De&lt;br/&gt;&amp;gt; Morgan theorem, and the &amp;#34;normal case&amp;#34; (buyer ultimately pays seller) has&lt;br/&gt;&amp;gt; the Escrow not revealing the privkey.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; In addition, in the case where Buyer is satisfied (i.e. both Buyer and&lt;br/&gt;&amp;gt; Seller agree the trade is beneficial) the Escrow is never involved (the&lt;br/&gt;&amp;gt; Escrow might have a timeout for the temporary ESCROW keypair, which it will&lt;br/&gt;&amp;gt; eventually delete; since all payments on LN need a timeout anyway, this is&lt;br/&gt;&amp;gt; fine) and thus does not know about the trade, except that some trade was&lt;br/&gt;&amp;gt; requested (since it must provide a temporary ESCROW pubkey).&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; This even provides a simple BUYER &#43; ESCROW keypair that gives the&lt;br/&gt;&amp;gt; seller a proof-of-refund, and of course the simple SELLER gives the buyer a&lt;br/&gt;&amp;gt; proof-of-payment as well.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; It only just requires twice as much Bitcoins getting locked.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; Thoughts?&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; Regards,&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; ZmnSCPxj&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20210211/ad341e90/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20210211/ad341e90/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T13:02:00Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs98antk69wxd3fclg4cy67uul49j22xymunfuf83dx5tuvnfvlavqzyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzkku0v9a</id>
    
      <title type="html">📅 Original date posted:2021-02-13 📝 Original message: Hey ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs98antk69wxd3fclg4cy67uul49j22xymunfuf83dx5tuvnfvlavqzyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzkku0v9a" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsx372zpfrr49xfecweelp0nugah9ug69kmt4v4ju46ghsx88hz3uqmevccd&#39;&gt;nevent1q…vccd&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-02-13&lt;br/&gt;📝 Original message:&lt;br/&gt;Hey ZmnSCPxj,&lt;br/&gt;&lt;br/&gt;On Fri, 12 Feb 2021 at 08:52, ZmnSCPxj &amp;lt;ZmnSCPxj at protonmail.com&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; Good morning Andres,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; Hey ZmnSCPxj,&lt;br/&gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; On Thu, 11 Feb 2021 at 15:33, ZmnSCPxj &amp;lt;ZmnSCPxj at protonmail.com&amp;gt; wrote:&lt;br/&gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; Good morning Andres,&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; This looks cool but would hinder UX too much for certain scenarios:&lt;br/&gt;&amp;gt; e.g. if the escrow in place is part of a bitcoin exchange, then you require&lt;br/&gt;&amp;gt; the bitcoin buyer to have bitcoin already, which makes it harder to on-ramp&lt;br/&gt;&amp;gt; new users (which could maybe only have fiat). Am I right?&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; Correct.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; Though note that existing systems like Bisq, to my knowledge, have the&lt;br/&gt;&amp;gt; same problem, a buyer of Bitcoin has to have a small amount of Bitcoin to&lt;br/&gt;&amp;gt; offer as stake that can be revoked in case they attempt to defraud the&lt;br/&gt;&amp;gt; counterparty.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; Without it, the counterparty takes on increased risk (which translate&lt;br/&gt;&amp;gt; to larger exchange spread).&lt;br/&gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; Yeah I understand Bisq&amp;#39;s model.&lt;br/&gt;&amp;gt; &amp;gt; However not all P2P exchanges work like this; e.g. localcryptos,&lt;br/&gt;&amp;gt; hodlhodl, localbitcoins, localcryptos...&lt;br/&gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; At least localbitcoins is custodial, and this scheme is non-custodial&lt;br/&gt;&amp;gt; (though the escrow must still be trusted to actually judge correctly in&lt;br/&gt;&amp;gt; case of dispute, so non-custodiality might be a very thin assurance).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;True, I shouldn&amp;#39;t have included LB in that list of examples; the other two&lt;br/&gt;are non-custodial though.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; In any case, once you have that initial stake, you can then keep&lt;br/&gt;&amp;gt; increasing your ability to provide stake so as to relieve your&lt;br/&gt;&amp;gt; counterparties of risk and have them offer better exchange rates, so it is&lt;br/&gt;&amp;gt; &amp;#34;only&amp;#34; an issue for initial onboarding.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; Presumably, in the later stable state, parents will provide children&lt;br/&gt;&amp;gt; the initial stake needed for them to start transacting over such a system,&lt;br/&gt;&amp;gt; just as they already provide their children with other &amp;#34;initial stakes&amp;#34;&lt;br/&gt;&amp;gt; (education, food, shelter, etc.) anyway.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; So are you saying that this is not doable without PTLCs (with simple&lt;br/&gt;&amp;gt; HTLCs) unless it&amp;#39;s done like suggested?&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; Yes, it is yet another reason we want PTLCs quickly.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; An alternative would be to have dual-hash HTLCs, which would be&lt;br/&gt;&amp;gt; helpful in other escrow-related cases including escrow-facilitated&lt;br/&gt;&amp;gt; cross-currency swaps.&lt;br/&gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; Is there any disadvantage about using dual-hash HTLCs?&lt;br/&gt;&amp;gt; &amp;gt; Is it supported by the current LN spec?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; It is no supported by current LN spec, and PTLCs are overall superior&lt;br/&gt;&amp;gt; (they are equivalent to having any number of hashes, not just 2 that&lt;br/&gt;&amp;gt; dual-hash HTLCs can do).&lt;br/&gt;&amp;gt; So if we need to change the LN spec anyway, PTLCs are still the better&lt;br/&gt;&amp;gt; choice, since they enable a lot more, and we probably want to support that&lt;br/&gt;&amp;gt; in the future anyway, so we might as well do HTLC-&amp;gt;PTLC rather than&lt;br/&gt;&amp;gt; HTLC-&amp;gt;2HTLC-&amp;gt;PTLC.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;But anyway any L2 wallet that interacts with this, will need to be aware of&lt;br/&gt;the escrow, so developing an 2HTLC extension for it to work with the&lt;br/&gt;current version of bitcoin (instead of waiting for Taproot) should be&lt;br/&gt;doable, right?&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Regards,&lt;br/&gt;&amp;gt; ZmnSCPxj&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20210213/ff3292bc/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20210213/ff3292bc/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T13:02:00Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsrwhpprwu65fp22ye62z75mkhg0sky5lfxuj5yl4mksyzhu50y0dczyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzk4d0f6e</id>
    
      <title type="html">📅 Original date posted:2021-02-11 📝 Original message: This ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsrwhpprwu65fp22ye62z75mkhg0sky5lfxuj5yl4mksyzhu50y0dczyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzk4d0f6e" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs27a7mtcj9n7gny002g98ddwh3lwxr3z3dm39tefll2muxlmmk6tqf7rwqy&#39;&gt;nevent1q…rwqy&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-02-11&lt;br/&gt;📝 Original message:&lt;br/&gt;This looks cool but would hinder UX too much for certain scenarios: e.g. if&lt;br/&gt;the escrow in place is part of a bitcoin exchange, then you require the&lt;br/&gt;bitcoin buyer to have bitcoin already, which makes it harder to on-ramp new&lt;br/&gt;users (which could maybe only have fiat). Am I right?&lt;br/&gt;&lt;br/&gt;So are you saying that this is not doable without PTLCs (with simple HTLCs)&lt;br/&gt;unless it&amp;#39;s done like suggested?&lt;br/&gt;&lt;br/&gt;On Thu, 11 Feb 2021 at 14:01, ZmnSCPxj &amp;lt;ZmnSCPxj at protonmail.com&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; Good morning Nadav and Andres,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Thank you for bringing up this topic again.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Let me provide a new twist to this old idea.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; This is the entire logic of the contract to the seller:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;    SELLER &amp;amp;&amp;amp; (BUYER || ESCROW)&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Now, a big issue is that simple `&amp;amp;&amp;amp;` is trivial for PTLCs, it is the `||`&lt;br/&gt;&amp;gt; which is difficult and requires ECDH and proof that the ECDH was done&lt;br/&gt;&amp;gt; correctly.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; But we can observe the De Morgan Theorem:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;    A || B &amp;lt;=&amp;gt; !(!A &amp;amp;&amp;amp; !B)&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; So how about we *invert* the logic?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; So what we do is, we make *two* payments of the same amount:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; * Seller -&amp;gt; Buyer , claimable by BUYER &amp;amp;&amp;amp; ESCROW key.&lt;br/&gt;&amp;gt; * Buyer  -&amp;gt; Seller, claimable by SELLER key.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; So the ritual is this:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; * Seller -&amp;gt; Buyer claimable by BUYER &amp;amp;&amp;amp; ESCROW.&lt;br/&gt;&amp;gt; * Buyer -&amp;gt; Seller claimable by SELLER.&lt;br/&gt;&amp;gt; * Seller hands over item.&lt;br/&gt;&amp;gt; * Buyer judges whether to accept, or complain to Escrow.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Now let us consider our cases:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; * Buyer is satisfied with the product.&lt;br/&gt;&amp;gt;   * Buyer fails the Seller-&amp;gt;Buyer payment after seller claims the&lt;br/&gt;&amp;gt; Buyer-&amp;gt;Seller payment, so Seller is paid and has no more obligations.&lt;br/&gt;&amp;gt; * Buyer is dissastisfied and wants the Escrow to judge:&lt;br/&gt;&amp;gt;   * Escrow judges Buyer is right: Escrow reveals ESCROW key to Buyer, who&lt;br/&gt;&amp;gt; then clawbacks the payment to the seller.&lt;br/&gt;&amp;gt;   * Escrow judges Seller is right: Escrow deletes ESCROW privkey (&amp;#34;not&lt;br/&gt;&amp;gt; ESCROW&amp;#34;), and the Seller-&amp;gt;Buyer payment eventually times out, ending the&lt;br/&gt;&amp;gt; obligation of the Seller.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; The &amp;#34;reverse&amp;#34; payment is effectively the inversion of logic by the De&lt;br/&gt;&amp;gt; Morgan theorem, and the &amp;#34;normal case&amp;#34; (buyer ultimately pays seller) has&lt;br/&gt;&amp;gt; the Escrow not revealing the privkey.&lt;br/&gt;&amp;gt; In addition, in the case where Buyer is satisfied (i.e. both Buyer and&lt;br/&gt;&amp;gt; Seller agree the trade is beneficial) the Escrow is never involved (the&lt;br/&gt;&amp;gt; Escrow might have a timeout for the temporary ESCROW keypair, which it will&lt;br/&gt;&amp;gt; eventually delete; since all payments on LN need a timeout anyway, this is&lt;br/&gt;&amp;gt; fine) and thus does not know about the trade, except that some trade was&lt;br/&gt;&amp;gt; requested (since it must provide a temporary ESCROW pubkey).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; This even provides a simple BUYER &#43; ESCROW keypair that gives the seller a&lt;br/&gt;&amp;gt; proof-of-refund, and of course the simple SELLER gives the buyer a&lt;br/&gt;&amp;gt; proof-of-payment as well.&lt;br/&gt;&amp;gt; It only just requires twice as much Bitcoins getting locked.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Thoughts?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Regards,&lt;br/&gt;&amp;gt; ZmnSCPxj&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20210211/c6a316f0/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20210211/c6a316f0/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T13:01:59Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs9feujavgamxymws3alp500d39qvaxwhaagc9d8lj8yspdjwglvdgzyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzkq7v6uk</id>
    
      <title type="html">📅 Original date posted:2021-02-08 📝 Original message: Hey ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs9feujavgamxymws3alp500d39qvaxwhaagc9d8lj8yspdjwglvdgzyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzkq7v6uk" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsrzngfm7yc8um2dnl099fkperdw9p0cq0dwedp8776khsak66ug9gfm6pet&#39;&gt;nevent1q…6pet&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-02-08&lt;br/&gt;📝 Original message:&lt;br/&gt;Hey ZmnSCPxj,&lt;br/&gt;&lt;br/&gt;Am I correct in understanding that this is a proposal to change the spec&lt;br/&gt;(maybe add a new BOLT) so that all lightning implementations can try to&lt;br/&gt;support this feature.&lt;br/&gt;&lt;br/&gt;If the above is true, then I&amp;#39;m wondering: could a Lightning-based escrow&lt;br/&gt;system be implemented that doesn&amp;#39;t require to modify the existing&lt;br/&gt;implementations? Maybe if we simplify the requirements a bit? Like,&lt;br/&gt;removing the &amp;#34;Escrow only learns of dispute cases, never learns non-dispute&lt;br/&gt;case&amp;#34; aspect? That is, the third-party S always knows about an escrow&lt;br/&gt;between A and B taking place.&lt;br/&gt;&lt;br/&gt;I understand that the above requirement is a good to have, but if removing&lt;br/&gt;it allows a simpler version of escrow be implemented, then at least there&lt;br/&gt;could be an interim solution for non-custodial exchanges to start adopting&lt;br/&gt;this (otherwise they have to resort to custodial-based escrows, which is&lt;br/&gt;worse than lacking the escrow privacy brought by the requirement above).&lt;br/&gt;&lt;br/&gt;Thanks&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20210208/7070bbe6/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20210208/7070bbe6/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T13:01:57Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsqxe9futyllxexlx6dwf98v922p0usf7sva46yx3a0ed3y099js4czyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzk8u60gu</id>
    
      <title type="html">📅 Original date posted:2020-11-27 📝 Original message: Hey, ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsqxe9futyllxexlx6dwf98v922p0usf7sva46yx3a0ed3y099js4czyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzk8u60gu" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs2tl7rsr3ftv6nlju8mswxj3lam3wqxvasjtdxqd99a84trdfhu5gzcutzn&#39;&gt;nevent1q…utzn&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2020-11-27&lt;br/&gt;📝 Original message:&lt;br/&gt;Hey,&lt;br/&gt;&lt;br/&gt;On Fri, 27 Nov 2020 at 19:18, Bastien TEINTURIER &amp;lt;bastien at acinq.fr&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; Good morning list,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; This is an interesting approach to solve this problem, I really like the&lt;br/&gt;&amp;gt; idea.&lt;br/&gt;&amp;gt; It definitely deserves digging more into it: the fact that it doesn&amp;#39;t add&lt;br/&gt;&amp;gt; an additional&lt;br/&gt;&amp;gt; payment makes it largely superior to upfront payment schemes in terms of&lt;br/&gt;&amp;gt; UX.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; If we restrict these stake certificates to LN funding txs, which have a&lt;br/&gt;&amp;gt; very specific format&lt;br/&gt;&amp;gt; (multisig 2-of-2) there are probably smart ways to achieve this.&lt;br/&gt;&amp;gt; If for example we&amp;#39;re able to do it easily with Schnorr-based funding txs,&lt;br/&gt;&amp;gt; it may be worth&lt;br/&gt;&amp;gt; waiting for that to happen.&lt;br/&gt;&amp;gt; I&amp;#39;m a bit afraid of having to use ZKPs for general statements, I&amp;#39;d prefer&lt;br/&gt;&amp;gt; something tailored&lt;br/&gt;&amp;gt; to that specific case (it would likely be more efficient and have less new&lt;br/&gt;&amp;gt; assumptions - even&lt;br/&gt;&amp;gt; though you&amp;#39;re right to point out that this is a non-critical system, so&lt;br/&gt;&amp;gt; we&amp;#39;re freer to experiment&lt;br/&gt;&amp;gt; with hot new stuff).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; I completely agree with Z that it should be added to the requirements that&lt;br/&gt;&amp;gt; a node cannot&lt;br/&gt;&amp;gt; reuse a stake certificate from another node for himself.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Another constraint is that the proof has to be small, since we have to fit&lt;br/&gt;&amp;gt;&amp;gt; it all in a small onion...&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; I&amp;#39;m not sure that&amp;#39;s necessary. If I understand correctly, you&amp;#39;re saying&lt;br/&gt;&amp;gt; that because in your&lt;br/&gt;&amp;gt; model, the sender (Alice) creates one stake certificate for each node in&lt;br/&gt;&amp;gt; the route (Bob, Carol)&lt;br/&gt;&amp;gt; and puts them in the onion.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; But instead it could be a point-to-point property: each node provides its&lt;br/&gt;&amp;gt; own stake certificate&lt;br/&gt;&amp;gt; to the next node (and only to that node). Alice provides a stake&lt;br/&gt;&amp;gt; certificate to Bob, then Bob&lt;br/&gt;&amp;gt; provides a stake certificate to Carol, and so on. If that&amp;#39;s the case, it&lt;br/&gt;&amp;gt; can be in a tlv field in the&lt;br/&gt;&amp;gt; `update_add_htlc` message and doesn&amp;#39;t need to be inside the onion. This&lt;br/&gt;&amp;gt; also makes it less&lt;br/&gt;&amp;gt; likely that Alice is exposing herself to remote nodes in the route (payer&lt;br/&gt;&amp;gt; privacy).&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;If the above paragraph is confirmed, then does this mean StakeCertificates&lt;br/&gt;with privacy are possible without ZK proofs?&lt;br/&gt;Or did I miss something?&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Of course, this depends on the implementation details we choose, but I&lt;br/&gt;&amp;gt; think it&amp;#39;s worth stressing&lt;br/&gt;&amp;gt; that these two models exist and are quite different.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Thanks,&lt;br/&gt;&amp;gt; Bastien&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Le ven. 27 nov. 2020 à 07:46, ZmnSCPxj via Lightning-dev &amp;lt;&lt;br/&gt;&amp;gt; lightning-dev at lists.linuxfoundation.org&amp;gt; a écrit :&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Good morning Gleb,&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; Thank you for your interest :)&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; Quick question: if I am a routing node and receive a valid stake&lt;br/&gt;&amp;gt;&amp;gt; certificate, can I reuse this stake certificate on my own outgoing payments?&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; That probably should be avoided, otherwise a mediocre routing node gets&lt;br/&gt;&amp;gt;&amp;gt; a lot of jamming opportunities for no good.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; You are right, that’s a strong argument for proof “interactivity”:&lt;br/&gt;&amp;gt;&amp;gt; every Certificate should probably commit to *at least* public key of the&lt;br/&gt;&amp;gt;&amp;gt; routing node it is generated for.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Right, it would be better to have the certificate commit to a specific&lt;br/&gt;&amp;gt;&amp;gt; routing node rather than the payment hash/point as I proposed.&lt;br/&gt;&amp;gt;&amp;gt; Committing to a payment hash/point allows a random forwarding node to&lt;br/&gt;&amp;gt;&amp;gt; probe the rest of the network using the same certificate, lowering the&lt;br/&gt;&amp;gt;&amp;gt; score for that certificate on much of the network.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Another constraint is that the proof has to be small, since we have to&lt;br/&gt;&amp;gt;&amp;gt; fit it all in a small onion...&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Presumably we also want the score to eventually &amp;#34;settle to 0&amp;#34; over time.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Regards,&lt;br/&gt;&amp;gt;&amp;gt; ZmnSCPxj&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; – gleb&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; On Nov 27, 2020, 2:16 AM &#43;0200, ZmnSCPxj &amp;lt;ZmnSCPxj at protonmail.com&amp;gt;,&lt;br/&gt;&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; Good morning Gleb and Antoine,&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; This is certainly interesting!&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; Quick question: if I am a routing node and receive a valid stake&lt;br/&gt;&amp;gt;&amp;gt; certificate, can I reuse this stake certificate on my own outgoing payments?&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; It seems to me that the proof-of-stake-certificate should also&lt;br/&gt;&amp;gt;&amp;gt; somehow integrate a detail of the current payment (such as payment&lt;br/&gt;&amp;gt;&amp;gt; hash/point) so it cannot be reused by routing nodes for their own outgoing&lt;br/&gt;&amp;gt;&amp;gt; payments.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; For example, looking only at your naive privacy-broken proposal, the&lt;br/&gt;&amp;gt;&amp;gt; signature must use a `sign-to-contract` where the `R` in the signature is&lt;br/&gt;&amp;gt;&amp;gt; actually `R&amp;#39; &#43; h(R&amp;#39; | payment_hash)` with the `R&amp;#39;` also revealed.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; Regards,&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; ZmnSCPxj&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Hello list,&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; In this post, we explore a different approach to channel jamming&lt;br/&gt;&amp;gt;&amp;gt; mitigation.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; We won’t talk about the background here, for the problem&lt;br/&gt;&amp;gt;&amp;gt; description as well as some proposed solutions (mainly upfront payment&lt;br/&gt;&amp;gt;&amp;gt; schemes), see [1].&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; We’re suggesting using UTXO ownership proofs (a.k.a. Stake&lt;br/&gt;&amp;gt;&amp;gt; Certificates) to solve this problem. Previously, these proofs were only&lt;br/&gt;&amp;gt;&amp;gt; used in the Lightning Network at channel announcement time to prevent&lt;br/&gt;&amp;gt;&amp;gt; malicious actors from announcing channels they don’t control. One can think&lt;br/&gt;&amp;gt;&amp;gt; of it as a “fidelity bond” (as a scarce resource) as a requirement for&lt;br/&gt;&amp;gt;&amp;gt; sending HTLCs.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; We start by overviewing issues with other solutions, and then&lt;br/&gt;&amp;gt;&amp;gt; present a naive, privacy-broken Stake Certificates. Then we examine&lt;br/&gt;&amp;gt;&amp;gt; designing a privacy-preserving version, evaluating them. At the end, we&lt;br/&gt;&amp;gt;&amp;gt; talk about non-trivial design decisions and open questions.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; ## Issues with other proposals&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; We find unsatisfying that upfront payment schemes come at a cost of&lt;br/&gt;&amp;gt;&amp;gt; new fees (forward and/or backward), thus inflating payment cost for *any*&lt;br/&gt;&amp;gt;&amp;gt; payment.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; In the future, the upfront base fee might even make “micropayments”&lt;br/&gt;&amp;gt;&amp;gt; economically infeasible by exceeding the value they transfer. Thus, a good&lt;br/&gt;&amp;gt;&amp;gt; solution should not inflate payment cost while still requiring “burning” a&lt;br/&gt;&amp;gt;&amp;gt; scarce resource (so that the attack is not free).&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Another issue with upfront payments is a circular trust dependency.&lt;br/&gt;&amp;gt;&amp;gt; Ideally, we shouldn’t introduce anything less trust-minimized than the&lt;br/&gt;&amp;gt;&amp;gt; Lightning Network itself.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Upfront payment schemes are not like that, because they in one way&lt;br/&gt;&amp;gt;&amp;gt; or another rely on the honest behavior of route participants.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; We believe Stake Certificates we are going to introduce are&lt;br/&gt;&amp;gt;&amp;gt; satisfactory in both of these directions: they don’t inflate payment costs&lt;br/&gt;&amp;gt;&amp;gt; for honest users and don’t require trust. The main disadvantage of Stake&lt;br/&gt;&amp;gt;&amp;gt; Certificates seems to be the novel cryptography required.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; See more details in the “Evaluation” section.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; ## Channel Ownership Proofs as Routing Credit Balance&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Let’s say Alice wants to relay an HTLC to Carol through Bob. Per&lt;br/&gt;&amp;gt;&amp;gt; the Stake Certificates scheme, she has to commit to a particular channel&lt;br/&gt;&amp;gt;&amp;gt; UTXO by embedding an ownership proof in the onion packet while sending an&lt;br/&gt;&amp;gt;&amp;gt; HTLC to Bob.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Bob then unwraps the onion and verifies:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; 1) the channel identifier is pointing unambiguously to an on-chain&lt;br/&gt;&amp;gt;&amp;gt; UTXO;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; 2) the ownership proof (e.g., a signature) is valid against the&lt;br/&gt;&amp;gt;&amp;gt; previously disclosed UTXO witness script.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; If all those checks succeed, Bob should see if Alice hasn’t&lt;br/&gt;&amp;gt;&amp;gt; exceeded her credit balance. In case she hasn’t, Bob has to “decrement&lt;br/&gt;&amp;gt;&amp;gt; Alice’s credit balance” and relay the HTLC to Carol.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Decrementing credit balance unconditionally of packet success or&lt;br/&gt;&amp;gt;&amp;gt; failure bounds liquidity abuse by malicious HTLC senders.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Since there is no credit assigned initially, “decrementing the&lt;br/&gt;&amp;gt;&amp;gt; credit balance” means just remembering that “Alice spent X out of Y of the&lt;br/&gt;&amp;gt;&amp;gt; credit she received for her Stake Certificates”.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Unfortunately, this naive protocol is a privacy nightmare, because&lt;br/&gt;&amp;gt;&amp;gt; routing nodes can now easily assign every HTLC they forward to the sender’s&lt;br/&gt;&amp;gt;&amp;gt; UTXO.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Let’s first define the terms here one more time, and then proceed&lt;br/&gt;&amp;gt;&amp;gt; to the non-naive, private Stake Certificates.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; - Stake Certificate. Either means a solution we’re proposing or the&lt;br/&gt;&amp;gt;&amp;gt; primitive it is based on, namely proof of UTXO ownership. As we will argue&lt;br/&gt;&amp;gt;&amp;gt; later, it actually makes sense to use proof of LN channel UTXO ownership&lt;br/&gt;&amp;gt;&amp;gt; specifically rather than any funds ownership.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; - Stake Certificate value. An amount of the corresponding UTXO or a&lt;br/&gt;&amp;gt;&amp;gt; ballpark this amount provably  belongs to.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; - Credit balance. When Alice provides a routing node Bob with a&lt;br/&gt;&amp;gt;&amp;gt; Stake Certificate, Bob should increase Alice’s routing credit balance.&lt;br/&gt;&amp;gt;&amp;gt; Alice is then limited in her payments by this balance, and this rule is&lt;br/&gt;&amp;gt;&amp;gt; enforced by routing nodes to prevent free channel jamming in the network.&lt;br/&gt;&amp;gt;&amp;gt; Note that ideally “Alice’s credit balance“ should be virtual and only known&lt;br/&gt;&amp;gt;&amp;gt; to Alice, while routing nodes should only observe per-UTXO credit balance.&lt;br/&gt;&amp;gt;&amp;gt; We currently assume that each routing node keeps track of per-UTXO credit&lt;br/&gt;&amp;gt;&amp;gt; balance separately, see “Design decisions” for more details.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; - Stake-to-credit function defines how much credit balance is given&lt;br/&gt;&amp;gt;&amp;gt; per a Stake Certificate of a given value. This function is a policy of a&lt;br/&gt;&amp;gt;&amp;gt; routing node, and it should be announced.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; - Credit-to-value-transferred function defines how much value a&lt;br/&gt;&amp;gt;&amp;gt; sender can transfer along a given channel considering how much credit they&lt;br/&gt;&amp;gt;&amp;gt; might claim. The function may also consider different factors (e.g., the&lt;br/&gt;&amp;gt;&amp;gt; available capacity of a channel being used) to provide extra robustness.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; ## Privacy-preserving Stake Certificates&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; The presented scheme could preserve privacy if it relied on&lt;br/&gt;&amp;gt;&amp;gt; zero-knowledge proofs of UTXO ownership by avoiding pointing to a&lt;br/&gt;&amp;gt;&amp;gt; particular UTXO.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; More specifically, the verifier should be able to check that:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; a) The staked UTXO is an element of the current UTXO set&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; b) The prover knows the witness script committed by the UTXO&lt;br/&gt;&amp;gt;&amp;gt; witness program&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; c) The prover knows a valid witness for the witness script&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; d) The staked UTXO was not used to produce a different Stake&lt;br/&gt;&amp;gt;&amp;gt; Certificate which is currently in use as well.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; The verifier should also have a way to see a Stake Certificate&lt;br/&gt;&amp;gt;&amp;gt; value to properly account for the credit. This can be achieved by&lt;br/&gt;&amp;gt;&amp;gt; restricting the UTXO set being proved upon to only those UTXOs with a&lt;br/&gt;&amp;gt;&amp;gt; specific range of values: “I will prove that I own a UTXO among all UTXOs&lt;br/&gt;&amp;gt;&amp;gt; between 0.5 BTC and 1 BTC”.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Unfortunately, steps (b) and (c) require zero-knowledge protocols&lt;br/&gt;&amp;gt;&amp;gt; for general statements, which are more experimental primitives than most of&lt;br/&gt;&amp;gt;&amp;gt; the stuff we have in Bitcoin protocols,&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; although we assume it’s feasible to consider them for non-consensus&lt;br/&gt;&amp;gt;&amp;gt; stuff.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; ## Evaluation&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Stake Certificates, upfront payment schemes, and other potential&lt;br/&gt;&amp;gt;&amp;gt; solutions (given a particular configuration) may be compared along the&lt;br/&gt;&amp;gt;&amp;gt; following axis:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; 1) Economic feasibility&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; 1a) What is the cost of overcoming the protection for an attacker?&lt;br/&gt;&amp;gt;&amp;gt; Likely a non-linear function: sats_spent =f(channels_to_jam, […])&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; 1b) How does this solution limit honest users?&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; 2) How sophisticated is this solution in terms of integration and&lt;br/&gt;&amp;gt;&amp;gt; making good UX?&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; 3) How complex is this solution in terms of protocol&lt;br/&gt;&amp;gt;&amp;gt; design/implementation?&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; When it comes to (1a), both Stake Certificates and upfront payments&lt;br/&gt;&amp;gt;&amp;gt; are probably equal, in a way that they’re just best-effort ideas to&lt;br/&gt;&amp;gt;&amp;gt; increase the attack cost. Unfortunately, we currently don’t know how to&lt;br/&gt;&amp;gt;&amp;gt; design something as economically powerful as PoW in Bitcoin [3].&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; This aspect can be properly evaluated by applying these ideas to&lt;br/&gt;&amp;gt;&amp;gt; different hypothetical kinds of LN in a simulation and observing the&lt;br/&gt;&amp;gt;&amp;gt; resulting trade-off between (1a) and (1b) considering different attack&lt;br/&gt;&amp;gt;&amp;gt; strategies.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; In the previous sections of this post, we have argued that Stake&lt;br/&gt;&amp;gt;&amp;gt; Certificates may provide a much better (1b) for the cost of (3) because it&lt;br/&gt;&amp;gt;&amp;gt; relies on zero-knowledge.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; When it comes to (2), the design of Stake Certificates may vary in&lt;br/&gt;&amp;gt;&amp;gt; terms of UX burden, from completely automatic to requiring custom actions&lt;br/&gt;&amp;gt;&amp;gt; with private keys from users.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Some of these trade-offs along with other interesting questions are&lt;br/&gt;&amp;gt;&amp;gt; discussed in the following section.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; ## Design decisions and questions&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; #### Should the credit spending be gossipped across the entire&lt;br/&gt;&amp;gt;&amp;gt; network, or should only the routing nodes involved in the payment know?&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Economically, these two approaches are likely to be equivalent, and&lt;br/&gt;&amp;gt;&amp;gt; it’s just a matter of stake-to-credit ratio.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; However, announcing credit spending to the network results in a&lt;br/&gt;&amp;gt;&amp;gt; privacy leak. It also imposes bandwidth and CPU overhead on the routing&lt;br/&gt;&amp;gt;&amp;gt; nodes.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; #### Which zero-knowledge system should be used for Stake&lt;br/&gt;&amp;gt;&amp;gt; Certificates?&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Choosing a ZK system boils down to picking the right trade-offs of&lt;br/&gt;&amp;gt;&amp;gt; proving and verifying time, and assumptions. As we mentioned previously, we&lt;br/&gt;&amp;gt;&amp;gt; would need proving general statements.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; At the same time, we need something cheap in both proving and&lt;br/&gt;&amp;gt;&amp;gt; verification, because Lightning is supposed to be fast.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; At the same time, the setup probably doesn’t matter, because proofs&lt;br/&gt;&amp;gt;&amp;gt; are supposed to be verified only by one participant, a routing node this&lt;br/&gt;&amp;gt;&amp;gt; proof is generated for.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Perhaps we can also pick any cryptographic assumptions we want&lt;br/&gt;&amp;gt;&amp;gt; since this stuff is not mission-critical and can be easily updated if&lt;br/&gt;&amp;gt;&amp;gt; someone breaks a cryptographic assumption and we observe an attack.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; #### Should we allow holding *any* Bitcoins (not just LN channels)&lt;br/&gt;&amp;gt;&amp;gt; for Stake Certificates?&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; This idea might make sense if we’re worried that some LN users&lt;br/&gt;&amp;gt;&amp;gt; might want to send more payments than they can afford per their credit.&lt;br/&gt;&amp;gt;&amp;gt; However, we believe that allowing any UTXO would give an attacker more&lt;br/&gt;&amp;gt;&amp;gt; opportunities to use their cold funds for this attack, or even have a&lt;br/&gt;&amp;gt;&amp;gt; secondary market where holders sell their proofs (they have nothing to&lt;br/&gt;&amp;gt;&amp;gt; loose).&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Instead, we should a) design the credit-to-stake-functions better;&lt;br/&gt;&amp;gt;&amp;gt; b) encourage users send payments across different routing nodes (since&lt;br/&gt;&amp;gt;&amp;gt; credits are not tracked globally) [4].&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; #### What’s the best credit-to-value-transferred function?&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; We reckon that this function should be not just linear to provide&lt;br/&gt;&amp;gt;&amp;gt; maximum security against malicious channel jammers. For example, we can&lt;br/&gt;&amp;gt;&amp;gt; charge more credit for the last 20% of the capacity of the *channel used&lt;br/&gt;&amp;gt;&amp;gt; for routing*. Alternatively, we could discourage making too many payments&lt;br/&gt;&amp;gt;&amp;gt; from the same UTXO within a short period of time by charging more credit in&lt;br/&gt;&amp;gt;&amp;gt; this case.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; #### What about the interactivity and lifetime of Stake&lt;br/&gt;&amp;gt;&amp;gt; Certificates?&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Interactive proofs mean that they are constructed on demand of a&lt;br/&gt;&amp;gt;&amp;gt; routing node, non-interactive means constructed by a payment sender ahead&lt;br/&gt;&amp;gt;&amp;gt; of time.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Both interactivity and lifetime have something to do with the ease&lt;br/&gt;&amp;gt;&amp;gt; of producing proof and accessing keys.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; We will omit the details of the trade-off we consider, but it&lt;br/&gt;&amp;gt;&amp;gt; remains an open question.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; #### If Stake Certificates are valid for N blocks after proof&lt;br/&gt;&amp;gt;&amp;gt; generation, does it mean that if the UTXO is spent during those N blocks,&lt;br/&gt;&amp;gt;&amp;gt; new proof can be generated from the same coins without invalidating the old&lt;br/&gt;&amp;gt;&amp;gt; proof?&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Yes, but an attacker would, first of all, have to pay an on-chain&lt;br/&gt;&amp;gt;&amp;gt; fee for this. If we’re still worried about this problem, there are&lt;br/&gt;&amp;gt;&amp;gt; workaround ideas.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; For example, we could have epochs of 100 blocks (every epoch starts&lt;br/&gt;&amp;gt;&amp;gt; at #XYZXYZ00 block). If at the start of an epoch, a channel wasn’t in the&lt;br/&gt;&amp;gt;&amp;gt; UTXO set, it provides very little credit.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Alternatively, we could expand the zero-knowledge part to proving&lt;br/&gt;&amp;gt;&amp;gt; that the coins were not yet spent.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; #### Should spending a UTXO reveal all Stake Certificates generated&lt;br/&gt;&amp;gt;&amp;gt; from it?&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; This would also solve the problem in the previous question, but it&lt;br/&gt;&amp;gt;&amp;gt; would mean a retrospective privacy leak again. To avoid a privacy leak, we&lt;br/&gt;&amp;gt;&amp;gt; should prevent this.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; #### What if malicious Sybil *routing* nodes failing payments&lt;br/&gt;&amp;gt;&amp;gt; causing other honest routing nodes to reduce the credit of an honest&lt;br/&gt;&amp;gt;&amp;gt; payment sender?&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Both Stake Certificates and upfront payment schemes suffer from&lt;br/&gt;&amp;gt;&amp;gt; malicious routing nodes failing the payments and “wasting” the sender’s&lt;br/&gt;&amp;gt;&amp;gt; credit or fees. This problem even applies out of the channel jamming&lt;br/&gt;&amp;gt;&amp;gt; context, when considering payment failure rate.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; This problem can be addressed by reducing the reputation of faulty&lt;br/&gt;&amp;gt;&amp;gt; links and routing nodes on the payment sender node. When payment routing&lt;br/&gt;&amp;gt;&amp;gt; becomes a for-profit activity, this would encourage routing nodes to&lt;br/&gt;&amp;gt;&amp;gt; sanitize their links.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; The mitigation can be even stronger by using “provable blaming”&lt;br/&gt;&amp;gt;&amp;gt; introduced in [2].&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; ## Conclusion&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; We propose Stake Certificates, a new solution to channel jamming.&lt;br/&gt;&amp;gt;&amp;gt; Perhaps, it might not be the best near-term solution due to the complexity,&lt;br/&gt;&amp;gt;&amp;gt; but the zero satoshi overhead for honest payments is an appealing argument&lt;br/&gt;&amp;gt;&amp;gt; to switch to it in the future.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; This proposal also illustrates how stake-based protocols can solve&lt;br/&gt;&amp;gt;&amp;gt; Sybil challenges in the Bitcoin ecosystem. Since this might be useful in&lt;br/&gt;&amp;gt;&amp;gt; other contexts (Sybil-resistance of many kinds, proof-of-ownership),&lt;br/&gt;&amp;gt;&amp;gt; discussing Stake Certificates is even more useful.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; The next step is a discussion of Stake Certificates. If the&lt;br/&gt;&amp;gt;&amp;gt; community finds it interesting, then we should discuss the design questions&lt;br/&gt;&amp;gt;&amp;gt; mentioned above, and choose a cryptosystem.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Cheers,&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Gleb Naumenko and Antoine Riard&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; ———&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; References and footnotes:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; 1.&lt;br/&gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://github.com/t-bast/lightning-docs/blob/master/spam-prevention.md&#34;&gt;https://github.com/t-bast/lightning-docs/blob/master/spam-prevention.md&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; 2.&lt;br/&gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2015-August/000135.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2015-August/000135.html&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; 3. We don’t actually suggest PoW to solve these issues, because a)&lt;br/&gt;&amp;gt;&amp;gt; the trade-off between honest user cost and attacker cost is misaligned due&lt;br/&gt;&amp;gt;&amp;gt; to specialized hardware and b) smartphones would die too fast if they have&lt;br/&gt;&amp;gt;&amp;gt; to compute PoW; PoW is just an unreachable example of system robustness due&lt;br/&gt;&amp;gt;&amp;gt; to well-aligned game theory.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; 4. Secondary markets are still possible even if we restrict&lt;br/&gt;&amp;gt;&amp;gt; acceptable proofs to only LN channels, but supply would be much smaller,&lt;br/&gt;&amp;gt;&amp;gt; and markets would work much worse for an attacker.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20201127/ca1ded55/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20201127/ca1ded55/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T13:01:34Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs8kxkh2lsa2jj7xmycz7yd7q2vgrrr77xwhqj3y7gaahtvmuhj4ugzyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzkke47v2</id>
    
      <title type="html">📅 Original date posted:2020-05-05 📝 Original message: Hey ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs8kxkh2lsa2jj7xmycz7yd7q2vgrrr77xwhqj3y7gaahtvmuhj4ugzyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzkke47v2" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsy6zayuaf7qq3mh4u7ddn80e049fz62vwtcjsnx40qhsxk9cwykdselvwfu&#39;&gt;nevent1q…vwfu&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2020-05-05&lt;br/&gt;📝 Original message:&lt;br/&gt;Hey Antoine, just a small note, [3] is missing in your footnotes, can you&lt;br/&gt;add it? Thanks&lt;br/&gt;&lt;br/&gt;On Tue, 5 May 2020 at 18:17, Antoine Riard &amp;lt;antoine.riard at gmail.com&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; Hi,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; (cross-posting as it&amp;#39;s really both layers concerned)&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Ongoing advancement of BIP 157 implementation in Core maybe the&lt;br/&gt;&amp;gt; opportunity to reflect on the future of light client protocols and use this&lt;br/&gt;&amp;gt; knowledge to make better-informed decisions about what kind of&lt;br/&gt;&amp;gt; infrastructure is needed to support mobile clients at large scale.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Trust-minimization of Bitcoin security model has always relied first and&lt;br/&gt;&amp;gt; above on running a full-node. This current paradigm may be shifted by LN&lt;br/&gt;&amp;gt; where fast, affordable, confidential, censorship-resistant payment services&lt;br/&gt;&amp;gt; may attract a lot of adoption without users running a full-node. Assuming a&lt;br/&gt;&amp;gt; user adoption path where a full-node is required to benefit for LN may&lt;br/&gt;&amp;gt; deprive a lot of users, especially those who are already denied a real&lt;br/&gt;&amp;gt; financial infrastructure access. It doesn&amp;#39;t mean we shouldn&amp;#39;t foster node&lt;br/&gt;&amp;gt; adoption when people are able to do so, and having a LN wallet maybe even a&lt;br/&gt;&amp;gt; first-step to it.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Designing a mobile-first LN experience opens its own gap of challenges&lt;br/&gt;&amp;gt; especially in terms of security and privacy. The problem can be scoped as&lt;br/&gt;&amp;gt; how to build a scalable, secure, private chain access backend for millions&lt;br/&gt;&amp;gt; of LN clients ?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Light client protocols for LN exist (either BIP157 or Electrum are used),&lt;br/&gt;&amp;gt; although their privacy and security guarantees with regards to&lt;br/&gt;&amp;gt; implementation on the client-side may still be an object of concern&lt;br/&gt;&amp;gt; (aggressive tx-rebroadcast, sybillable outbound peer selection, trusted fee&lt;br/&gt;&amp;gt; estimation). That said, one of the bottlenecks is likely the number of&lt;br/&gt;&amp;gt; full-nodes being willingly to dedicate resources to serve those clients.&lt;br/&gt;&amp;gt; It&amp;#39;s not about _which_ protocol is deployed but more about _incentives_ for&lt;br/&gt;&amp;gt; node operators to dedicate long-term resources to client they have lower&lt;br/&gt;&amp;gt; reasons to care about otherwise.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Even with cheaper, more efficient protocols like BIP 157, you may have a&lt;br/&gt;&amp;gt; huge discrepancy between what is asked and what is offered. Assuming 10M&lt;br/&gt;&amp;gt; light clients [0] each of them consuming ~100MB/month for filters/headers,&lt;br/&gt;&amp;gt; that means you&amp;#39;re asking 1PB/month of traffic to the backbone network. If&lt;br/&gt;&amp;gt; you assume 10K public nodes, like today, assuming _all_ of them opt-in to&lt;br/&gt;&amp;gt; signal BIP 157, that&amp;#39;s an increase of 100GB/month for each. Which is&lt;br/&gt;&amp;gt; consequent with regards to the estimated cost of 350GB/month for running an&lt;br/&gt;&amp;gt; actual public node. Widening full-node adoption, specially in term of&lt;br/&gt;&amp;gt; geographic distribution means as much as we can to bound its operational&lt;br/&gt;&amp;gt; cost.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Obviously,  deployment of more efficient tx-relay protocol like Erlay will&lt;br/&gt;&amp;gt; free up some resources but it maybe wiser to dedicate them to increase&lt;br/&gt;&amp;gt; health and security of the backbone network like deploying more outbound&lt;br/&gt;&amp;gt; connections.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Unless your light client protocol is so ridiculous cheap to rely on&lt;br/&gt;&amp;gt; niceness of a subset of node operators offering free resources, it won&amp;#39;t&lt;br/&gt;&amp;gt; scale. And it&amp;#39;s likely you will always have a ratio disequilibrium between&lt;br/&gt;&amp;gt; numbers of clients and numbers of full-node, even worst their growth rate&lt;br/&gt;&amp;gt; won&amp;#39;t be the same, first ones are so much easier to setup.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; It doesn&amp;#39;t mean servicing filters for free won&amp;#39;t work for now, numbers of&lt;br/&gt;&amp;gt; BIP157 clients is still pretty low, but what is worrying is  wallet vendors&lt;br/&gt;&amp;gt; building such chain access backend, hitting a bandwidth scalability wall&lt;br/&gt;&amp;gt; few years from now instead of pursuing better solutions. And if this&lt;br/&gt;&amp;gt; happen, maybe suddenly, isn&amp;#39;t the quick fix going to be to rely on&lt;br/&gt;&amp;gt; centralized services, so much easier to deploy ?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Of course, it may be brought that actually current full-node operators&lt;br/&gt;&amp;gt; don&amp;#39;t get anything back from servicing blocks, transactions, addresses...&lt;br/&gt;&amp;gt; It may be replied that you have an indirect incentive to participate in&lt;br/&gt;&amp;gt; network relay and therefore guarantee censorship-resistance, instead of&lt;br/&gt;&amp;gt; directly connecting to miners. You do have today ways to select your&lt;br/&gt;&amp;gt; resources exposure like pruning, block-only or being private but the wider&lt;br/&gt;&amp;gt; point is the current (non?)-incentives model seems to work for the base&lt;br/&gt;&amp;gt; layer. For light clients data, are node operators going to be satisfied to&lt;br/&gt;&amp;gt; serve this new *class* of traffic en masse ?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; This doesn&amp;#39;t mean you won&amp;#39;t find BIP157 servers, ready to serve you with&lt;br/&gt;&amp;gt; unlimited credit, but it&amp;#39;s more likely their intentions maybe not aligned,&lt;br/&gt;&amp;gt; like spying on your transaction broadcast or block fetched. And you do want&lt;br/&gt;&amp;gt; peer diversity to avoid every BIP157 servers being on few ASNs for&lt;br/&gt;&amp;gt; fault-tolerance. Do people expect a scenario a la Cloudflare, where&lt;br/&gt;&amp;gt; everyone connections is to far or less the same set of entities ?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Moreover, the LN security model diverges hugely from basic on-chain&lt;br/&gt;&amp;gt; transactions. Worst-case attack on-chain a malicious light client server&lt;br/&gt;&amp;gt; showing a longest, invalid, PoW-signed chain to double-spend the user. On&lt;br/&gt;&amp;gt; LN, the *liveliness* requirement means the entity owning your view of the&lt;br/&gt;&amp;gt; chain can lie to you on whether your channel has been spent by a revoked&lt;br/&gt;&amp;gt; commitment, the real tip of the blockchain or even dry-up block&lt;br/&gt;&amp;gt; announcement to trigger unexpected behavior in the client logic. A&lt;br/&gt;&amp;gt; malicious light client server may just drop any filters/utxos spends, what&lt;br/&gt;&amp;gt; your LN client should do in this case ? [1]&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Therefore, you may want to introduce monetary compensation in exchange of&lt;br/&gt;&amp;gt; servicing filters. Light client not dedicating resources to maintain the&lt;br/&gt;&amp;gt; network but free-riding on it, you may use their micro-payment capabilities&lt;br/&gt;&amp;gt; to price chain access resources [3]. This proposition may suit within the&lt;br/&gt;&amp;gt; watchtower paradigm, where another entity is delegated some part of&lt;br/&gt;&amp;gt; protocol execution, alleviating client onliness requirement. It needs&lt;br/&gt;&amp;gt; further analysis but how your funds may be compromised by a watchtower are&lt;br/&gt;&amp;gt; likely to be the same scenario that how a chain validation provider can&lt;br/&gt;&amp;gt; compromise you. That said, how do you avoid such &amp;#34;chain access&amp;#34; market&lt;br/&gt;&amp;gt; turning as an oligopoly is an open question. You may &amp;#34;bind&amp;#34; them to&lt;br/&gt;&amp;gt; internet topology or ask for fidelity bonds and create some kind of&lt;br/&gt;&amp;gt; scarcity but still...&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Maybe I&amp;#39;m completely wrong, missing some numbers, and it&amp;#39;s maybe fine to&lt;br/&gt;&amp;gt; just rely on few thousands of full-node operators being nice and servicing&lt;br/&gt;&amp;gt; friendly millions of LN mobiles clients. But just in case it may be good to&lt;br/&gt;&amp;gt; consider a reasonable alternative.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Thanks Gleb for many points exposed here but all mistakes are my own.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Cheers,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Antoine&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; [0] UTXO set size may be a bottleneck, but still if you have 2 channels by&lt;br/&gt;&amp;gt; clients that&amp;#39;s 20M utxos, just roughly ~x3 than today.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; [1] And committing filters as part of headers may not solve everything as&lt;br/&gt;&amp;gt; an attacker can just delay or slow announcements to you, so you still need&lt;br/&gt;&amp;gt; network access to at least one honest node.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; [2]  It maybe argue that distinction client-vs-peer doesn&amp;#39;t hold because&lt;br/&gt;&amp;gt; you may start as a client and start synchronizing the chain, relaying&lt;br/&gt;&amp;gt; blocks, etc. AFAIK, there is no such hybrid implementation and that&amp;#39;s not&lt;br/&gt;&amp;gt; what you want to run in a mobile.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20200505/15b6aaac/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20200505/15b6aaac/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T13:00:00Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs020gyr7w04sc69rw4zeqwsuwgjf8dkkywm6pe7eukqz2k237a5zczyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzkhmjwyn</id>
    
      <title type="html">📅 Original date posted:2020-01-21 📝 Original message: Hey ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs020gyr7w04sc69rw4zeqwsuwgjf8dkkywm6pe7eukqz2k237a5zczyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzkhmjwyn" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsf0qmfa0mvhj54eu6xw22qat4c89m7lp8q9uy7n3u020drs0tssycjsfp9c&#39;&gt;nevent1q…fp9c&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2020-01-21&lt;br/&gt;📝 Original message:&lt;br/&gt;Hey ZmnSCPxj,&lt;br/&gt;&lt;br/&gt;On Tue, 21 Jan 2020 at 08:47, ZmnSCPxj via Lightning-dev &amp;lt;&lt;br/&gt;lightning-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; Good morning Subhra,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Refer to this protocol instead of DLAS:&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2019-June/002035.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2019-June/002035.html&lt;/a&gt;&lt;br/&gt;&amp;gt; In this protocol, an *encrypted* form of the *entire file* is sent.&lt;br/&gt;&amp;gt; Consequently, a *single* payment is made, where the payment preimage is&lt;br/&gt;&amp;gt; the decryption key.&lt;br/&gt;&amp;gt; Knowing an additional zk proof is necessary to show that the file is&lt;br/&gt;&amp;gt; indeed encrypted using the decryption key that is the preimage of the given&lt;br/&gt;&amp;gt; hash (the linked thread has details I believe).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Relevantly, there is no need to consider blocks of a file when using the&lt;br/&gt;&amp;gt; linked protocol instead of DLAS.&lt;br/&gt;&amp;gt; Of course, a Zk-proof of some property of the entire file, that can be&lt;br/&gt;&amp;gt; understood by an end-user, may not be possible.&lt;br/&gt;&amp;gt; Likely, you might want to prove of a video file that a thumbnail of the&lt;br/&gt;&amp;gt; video file is extracted from a frame of the video, and show that thumbnail&lt;br/&gt;&amp;gt; to the end-user.&lt;br/&gt;&amp;gt; Looking at the *rest* of the frames of the video (after you have paid for&lt;br/&gt;&amp;gt; its decryption) may very reveal them to be frames of a video of Rick Astley&lt;br/&gt;&amp;gt; singing &amp;#34;Never Gonna Give You Up&amp;#34;.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;I wanted to ask a simple question with regards to the NeverGonnaGiveYouUp&lt;br/&gt;problem.&lt;br/&gt;Let&amp;#39;s say you use this technology for a specific use case subset of what&lt;br/&gt;has been proposed: the payer wants to exchange bitcoin (via LN) in exchange&lt;br/&gt;for some data. The data, in this case, was known by the payer at some point&lt;br/&gt;in the past, so the payer encrypted it with his own private key, and gave&lt;br/&gt;it to someone for backup purposes (after that, he gets a hash of the data,&lt;br/&gt;which she keeps, and deletes the data from her end). At some point in the&lt;br/&gt;future, when she wants to retrieve the data, the payee can only supply a&lt;br/&gt;bunch of bytes whose hash match with the hash that the payer has, therefore&lt;br/&gt;the NeverGonnaGiveYouUp problem can&amp;#39;t happen here, am I right?&lt;br/&gt;&lt;br/&gt;Thanks&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; !&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Regards,&lt;br/&gt;&amp;gt; ZmnSCPxj&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; So is it sufficient to give a zk proof of the entire file and not of the&lt;br/&gt;&amp;gt; individual blocks which are transferred at each iteration? Also does it&lt;br/&gt;&amp;gt; make sense that you make partial payment per block instead of waiting for&lt;br/&gt;&amp;gt; the total file to arrive. It might be the case that the zk proof of the&lt;br/&gt;&amp;gt; total file is correct but then sender might cheat while sending individual&lt;br/&gt;&amp;gt; block.&lt;br/&gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; On Tue, Jan 21, 2020, 00:26 Matt Corallo &amp;lt;lf-lists at mattcorallo.com&amp;gt;&lt;br/&gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; Don’t and data in lighting payments unless you have to. It’s super&lt;br/&gt;&amp;gt; DoS-y and rude to your peers. If you’re just transferring a file, you can&lt;br/&gt;&amp;gt; use ZKCP to send an encrypted copy of the file with the encryption key&lt;br/&gt;&amp;gt; being the payment_preimage, making the whole thing one big atomic action.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; On Jan 20, 2020, at 13:33, Subhra Mazumdar &amp;lt;&lt;br/&gt;&amp;gt; subhra.mazumdar1993 at gmail.com&amp;gt; wrote:&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; ﻿&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Sounds good. But how do I provide a correctness for the entire asset&lt;br/&gt;&amp;gt; to be transferred when I am already partitioning into several units (say&lt;br/&gt;&amp;gt; chunks of file ? ) So as an when the block of file is received then we have&lt;br/&gt;&amp;gt; to give a ZK proof &amp;#34;block x is part of File F&amp;#34;. Is it how this should work ?&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; On Mon, Jan 20, 2020 at 11:59 PM Matt Corallo &amp;lt;&lt;br/&gt;&amp;gt; lf-lists at mattcorallo.com&amp;gt; wrote:&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Zk proofs are incredibly fast these days for small-ish programs.&lt;br/&gt;&amp;gt; They’re much too slow for a consensus system where every party needs to&lt;br/&gt;&amp;gt; download and validate them, but for relatively simple programs a two-party&lt;br/&gt;&amp;gt; system using them is very doable.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; On Jan 20, 2020, at 13:23, Subhra Mazumdar &amp;lt;&lt;br/&gt;&amp;gt; subhra.mazumdar1993 at gmail.com&amp;gt; wrote:&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; ﻿&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; But isn&amp;#39;t it that the use of ZK proof will render the system&lt;br/&gt;&amp;gt; slow and hence defy the very purpose of lightning network which intends to&lt;br/&gt;&amp;gt; make things scalable as well as faster transaction ?&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; On Mon, Jan 20, 2020 at 11:48 PM Matt Corallo &amp;lt;&lt;br/&gt;&amp;gt; lf-lists at mattcorallo.com&amp;gt; wrote:&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; That paper discusses it, but I don&amp;#39;t think there was ever a&lt;br/&gt;&amp;gt; paper proper&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; on ZKCP. There are various discussions of it, though, if you&lt;br/&gt;&amp;gt; google.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Sadly this is common in this space - lots of great ideas where&lt;br/&gt;&amp;gt; no one&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; ever bothered to write academic-style papers about them (hence&lt;br/&gt;&amp;gt; why&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; academic papers around Bitcoin tend to miss nearly all&lt;br/&gt;&amp;gt; relevant context,&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; sadly).&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Matt&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; On 1/20/20 6:10 PM, Subhra Mazumdar wrote:&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Are you referring to the paper Zero knowledge contingent&lt;br/&gt;&amp;gt; payment&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; revisited ? I will look into the construction. Thanks for the&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; information! :)&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; On Mon, Jan 20, 2020, 23:31 Matt Corallo &amp;lt;&lt;br/&gt;&amp;gt; lf-lists at mattcorallo.com&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;lt;mailto:lf-lists at mattcorallo.com&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     On 11/9/19 4:31 AM, Takaya Imai wrote:&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     &amp;gt; [What I do not describe]&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     &amp;gt; * A way to detect that data is correct or not, namely&lt;br/&gt;&amp;gt; zero knowledge&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     &amp;gt; proof process.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     Have you come across Zero Knowledge Contingent Payments?&lt;br/&gt;&amp;gt; Originally it&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     was designed for on-chain applications but it slots&lt;br/&gt;&amp;gt; neatly into&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     lightning as it only requires a method to lock funds to&lt;br/&gt;&amp;gt; a hash preimage.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     Matt&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     _______________________________________________&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     Lightning-dev mailing list&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     &amp;lt;mailto:Lightning-dev at lists.linuxfoundation.org&amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; --&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Yours sincerely,&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Subhra Mazumdar.&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; --&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Yours sincerely,&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Subhra Mazumdar.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20200121/b6c831d6/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20200121/b6c831d6/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T12:58:09Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs89mslnxg6f39rlsdslfnhklmn0sz4vpra6e2774ac7kesxe7cm7czyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzktazem4</id>
    
      <title type="html">📅 Original date posted:2017-01-16 📝 Original message: On 16 ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs89mslnxg6f39rlsdslfnhklmn0sz4vpra6e2774ac7kesxe7cm7czyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzktazem4" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs0v8xcl97cfsjdz2tzqrmepxrsnfsd75je9zmutlevxt82eycdq6gl8te2g&#39;&gt;nevent1q…te2g&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2017-01-16&lt;br/&gt;📝 Original message:&lt;br/&gt;On 16 January 2017 at 15:32, Anthony Towns &amp;lt;aj at erisian.com.au&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; On Mon, Jan 16, 2017 at 02:44:43PM &#43;0800, Andrés G. Aragoneses  wrote:&lt;br/&gt;&amp;gt; &amp;gt; But I thought this problem was already solved by using OP_CLTV/OP_CSV&lt;br/&gt;&amp;gt; -style&lt;br/&gt;&amp;gt; &amp;gt; channels instead of Spillman-style ones?&lt;br/&gt;&amp;gt; &amp;gt; See:&lt;br/&gt;&amp;gt; &amp;gt; &lt;a href=&#34;http://bitcoin.stackexchange.com/a/48546/2751&#34;&gt;http://bitcoin.stackexchange.com/a/48546/2751&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; The approach described there is to have a channel timeout (adding the&lt;br/&gt;&amp;gt; &amp;#34;customer signs, but locktime greater than refund time&amp;#34; alternative to&lt;br/&gt;&amp;gt; the P2SH address). The lightning spec doesn&amp;#39;t currently do that (see the&lt;br/&gt;&amp;gt; &amp;#34;Funding Transaction Output&amp;#34; section of [0]). Lightning uses CLTV and CSV&lt;br/&gt;&amp;gt; to make the HTLC steps work, that is to make the channel bidirectional,&lt;br/&gt;&amp;gt; rather than being limited to having one end take the role of customer&lt;br/&gt;&amp;gt; sending money to the merchant on the other end.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;Ok but I also read the last paragraph of the last version of the Lightning&lt;br/&gt;paper which I quote:&lt;br/&gt;&lt;br/&gt;&amp;#34;A further stop-gap solution using OP CHECKSEQUENCEVERIFY&lt;br/&gt;57or a less-optimal use of OP CHECKLOCKTIMEVERIFY will be described&lt;br/&gt;in a future paper by Rusty Russell. An updated version of this paper will&lt;br/&gt;also include these constructions.&amp;#34;&lt;br/&gt;&lt;br/&gt;So I guess I was confused by thinking that Lightning Level1 and Level2 was&lt;br/&gt;referring to this, and maybe someone forgot to update the paper to include&lt;br/&gt;L1&amp;amp;L2.&lt;br/&gt;&lt;br/&gt;But no, we&amp;#39;re talking about using CLTV (or CSV, I guess?) for the refund&lt;br/&gt;transaction instead of for the HTLC. Would we be able to call this an&lt;br/&gt;hypothetical Level2.5 of LN? (Level 3 being the one requiring SeqWit).&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; [0] &lt;a href=&#34;https://github.com/lightningnetwork/lightning-rfc/blob/master/03-&#34;&gt;https://github.com/lightningnetwork/lightning-rfc/blob/master/03-&lt;/a&gt;&lt;br/&gt;&amp;gt; transactions.md&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; It&amp;#39;s not a 100% solution on its own though -- the &amp;#34;merchant&amp;#34; in this&lt;br/&gt;&amp;gt; scenario can choose not to provide the second signature back to the&lt;br/&gt;&amp;gt; customer ever, in which case the customer can&amp;#39;t access their funds&lt;br/&gt;&amp;gt; again until the refund time arrives. Better than being never able to&lt;br/&gt;&amp;gt; access their funds again, of course, which is what you get if you use&lt;br/&gt;&amp;gt; the current method, without segwit, and get malleated.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;Exactly, that&amp;#39;s why I think L2.5 would be the only feasible solution in&lt;br/&gt;lack of L3.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Cheers,&lt;br/&gt;&amp;gt; aj&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20170116/44b73efd/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20170116/44b73efd/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T12:46:58Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsyahrqdf388cgy7c8q548qsadnnyjv3rs4p3xvmmftuwjzlfkxm4czyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzk0evldd</id>
    
      <title type="html">📅 Original date posted:2017-01-16 📝 Original message: On 16 ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsyahrqdf388cgy7c8q548qsadnnyjv3rs4p3xvmmftuwjzlfkxm4czyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzk0evldd" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs2lv8aw76mp3reqk5cu378jgpcg53rdxtkqnhw38089h53sfj6r5qe0qyfv&#39;&gt;nevent1q…qyfv&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2017-01-16&lt;br/&gt;📝 Original message:&lt;br/&gt;On 16 January 2017 at 14:31, Anthony Towns &amp;lt;aj at erisian.com.au&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; On Mon, Jan 16, 2017 at 01:00:48PM &#43;1030, Rusty Russell wrote:&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; Which one is more accurate? Is the security problems only related to&lt;br/&gt;&amp;gt; having&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; to watch the blockchain? If yes, why cannot one outsource this job to a&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; server (e.g. the hypothetical server of your light-wallet) in level2?&lt;br/&gt;&amp;gt; &amp;gt; Yes, the problem is outsourcing.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; I thought the big problem was setup; you can&amp;#39;t setup a new channel with a&lt;br/&gt;&amp;gt; stranger on the internet if they can coordinate with a miner to prevent&lt;br/&gt;&amp;gt; you from being able to reclaim your funds. (I didn&amp;#39;t think outsourcing&lt;br/&gt;&amp;gt; was anywhere near ready, let alone already being blocked by miners :)&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; I have an idea on that though, I think... The idea when we were looking at&lt;br/&gt;&amp;gt; BIP 62 as a solution (which would have still left signature malleability&lt;br/&gt;&amp;gt; as a problem) was to have only one side pay into the funding transaction,&lt;br/&gt;&amp;gt; so that the other side couldn&amp;#39;t malleate it and prevent the inital&lt;br/&gt;&amp;gt; refund. ie:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;  - Alice pays $X into an output redeemable by 2-of-2 multisig, Alice and&lt;br/&gt;&amp;gt; Bob,&lt;br/&gt;&amp;gt;    signs it, works out the txid, but doesn&amp;#39;t publish yet.&lt;br/&gt;&amp;gt;  - Alice asks Bob to sign a refund tx that spends that transaction giving&lt;br/&gt;&amp;gt; $X&lt;br/&gt;&amp;gt;    back to Alice, with the usual HTLC behaviour so that it becomes unusable&lt;br/&gt;&amp;gt;    once the channel starts being used.&lt;br/&gt;&amp;gt;  - Once Bob does this and Alice is satisfied, Alice publishes the original&lt;br/&gt;&amp;gt;    $X tx and once it is in the blockchain the channel is open.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; The problem is that if any third party malleability is possible, and&lt;br/&gt;&amp;gt; happens to Alice&amp;#39;s original tx, then Bob&amp;#39;s signature on the refund tx is&lt;br/&gt;&amp;gt; no longer useful, and unless Bob is kind enough to sign a new refund tx,&lt;br/&gt;&amp;gt; Alice has lost her money.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Given there&amp;#39;s no cost to Bob doing this, and potentially some profit if&lt;br/&gt;&amp;gt; Bob can convince Alice to pay a 10% fee to get her money back (or even&lt;br/&gt;&amp;gt; just the joy of vandalism if you&amp;#39;re a troll or hate the idea of lightning&lt;br/&gt;&amp;gt; or whatever), there could be lots of people filling the role of &amp;#34;Bob&amp;#34;&lt;br/&gt;&amp;gt; and it could be hard to find someone safe to open a channel with, and,&lt;br/&gt;&amp;gt; in effect, lightning isn&amp;#39;t usable at all except with people you already&lt;br/&gt;&amp;gt; know and trust, which isn&amp;#39;t very decentralised.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;But I thought this problem was already solved by using OP_CLTV/OP_CSV&lt;br/&gt;-style channels instead of Spillman-style ones?&lt;br/&gt;&lt;br/&gt;See:&lt;br/&gt;&lt;a href=&#34;http://bitcoin.stackexchange.com/a/48546/2751&#34;&gt;http://bitcoin.stackexchange.com/a/48546/2751&lt;/a&gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20170116/ac47140c/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20170116/ac47140c/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T12:46:58Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsqqn88wqmjgvwqrk3jgxyrv7txsa363e6tcx2tureyjjalxxspk9szyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzkn5saue</id>
    
      <title type="html">📅 Original date posted:2017-01-16 📝 Original message: On 16 ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsqqn88wqmjgvwqrk3jgxyrv7txsa363e6tcx2tureyjjalxxspk9szyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzkn5saue" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs8xq6euptrtxjm5yhzsk3phr83pq6q3placdd96fkqn6khf6v4uvgas2j9n&#39;&gt;nevent1q…2j9n&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2017-01-16&lt;br/&gt;📝 Original message:&lt;br/&gt;On 16 January 2017 at 10:30, Rusty Russell &amp;lt;rusty at rustcorp.com.au&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; &amp;#34;Andrés G. Aragoneses &amp;#34; &amp;lt;knocte at gmail.com&amp;gt; writes:&lt;br/&gt;&amp;gt; &amp;gt; Hi there,&lt;br/&gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; Seems like the list is a bit dormant these days.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Yes, most of the activity has been on the github repository:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;         &lt;a href=&#34;https://github.com/lightningnetwork/lightning-rfc&#34;&gt;https://github.com/lightningnetwork/lightning-rfc&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;That&amp;#39;s good! I will ask some question about that, bu in a different&lt;br/&gt;thread...&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; &amp;gt; Is it because of the low chances of SegWit activation given that it&lt;br/&gt;&amp;gt; stalled&lt;br/&gt;&amp;gt; &amp;gt; at ~26%?&lt;br/&gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; On this topic, I would like to ask about the feasibility of LN without&lt;br/&gt;&amp;gt; &amp;gt; SegWit, given these circumstances.&lt;br/&gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; Some has been said in the past, I&amp;#39;ve been reading through the archives.&lt;br/&gt;&amp;gt; But&lt;br/&gt;&amp;gt; &amp;gt; in them, everybody seemed overly enthusiastic about the activation of&lt;br/&gt;&amp;gt; &amp;gt; SegWit (maybe given that OP_CLTV and OP_CSV activated without hassle).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; If segwit doesn&amp;#39;t activate, something is badly broken in Bitcoin.  This&lt;br/&gt;&amp;gt; is not really a lightning issue; there&amp;#39;s been no significant technical&lt;br/&gt;&amp;gt; objection to segwit, and it really does make Bitcoin work better.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;True.&lt;br/&gt;&lt;br/&gt;But I guess we&amp;#39;re learning that it can happen that technical improvements&lt;br/&gt;get non-technical impediments. In this case, my rough guess is that miners&lt;br/&gt;are afraid of losing their fee-gathering monopoly for moving money to&lt;br/&gt;layer2-actors (payment hubs), given that it will be much easier to spawn&lt;br/&gt;paymenthub nodes than mining nodes.&lt;br/&gt;&lt;br/&gt;Given this, IMHO the only way to move forward would be to start running&lt;br/&gt;layer2 solutions in production in spite of the technical difficulties that&lt;br/&gt;SegWit non-activation implies. Then, when miners realize they cannot halt&lt;br/&gt;progress on layer2 development, they will probably start assuming they need&lt;br/&gt;to give up blocking, for the sake of not stagnating the currency (which&lt;br/&gt;would lead to the rise of usage of other chains I suppose).&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; I&amp;#39;m glad that miners are cautious with their upgrades, and segwit&lt;br/&gt;&amp;gt; adoption will take time to roll out across products anyway.  Let&amp;#39;s look&lt;br/&gt;&amp;gt; again in 6 months.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; Which one is more accurate? Is the security problems only related to&lt;br/&gt;&amp;gt; having&lt;br/&gt;&amp;gt; &amp;gt; to watch the blockchain? If yes, why cannot one outsource this job to a&lt;br/&gt;&amp;gt; &amp;gt; server (e.g. the hypothetical server of your light-wallet) in level2?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Yes, the problem is outsourcing.  You can&amp;#39;t hand the outsourcer a&lt;br/&gt;&amp;gt; penalty transaction signature if you don&amp;#39;t know what the bad transaction&lt;br/&gt;&amp;gt; will look like.  And if the signatures are part of the transaction ID,&lt;br/&gt;&amp;gt; you don&amp;#39;t.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Can you elaborate on this? From my limited understanding, I guess you&amp;#39;re&lt;br/&gt;referring to detecting a broadcast of a transaction of a previous state of&lt;br/&gt;the payment channel. In this case, the HTLC-clock of the revocation&lt;br/&gt;transaction starts ticking, and the transaction to revoke this malicious&lt;br/&gt;move would need the ID of the transaction used to broadcast the bad state.&lt;br/&gt;Right?&lt;br/&gt;&lt;br/&gt;If my assumption was correct, wouldn&amp;#39;t it be possible to have an&lt;br/&gt;alternative Lightning-Level2? That is: without SegWit, but still with CSV.&lt;br/&gt;And, instead of using revocation, use shorter locktimes like the&lt;br/&gt;Spillman-style payment channels do (everytime there&amp;#39;s a need to change&lt;br/&gt;direction)? I know that Spillman-style channels use nLockTime, which is&lt;br/&gt;vulnerable to malleability; so my question is: is there a way to create&lt;br/&gt;OP_CLTV/OP_CSV-style channels (instead of nLockTime-based, so malleability&lt;br/&gt;resistant) without using revocation methods?&lt;br/&gt;&lt;br/&gt;Thanks&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20170116/13603bc4/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20170116/13603bc4/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T12:46:57Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsy2mfl52wxm2g4095s935lawrf59f369jeq3w0efkykz3w87wmfngzyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzkj79fvm</id>
    
      <title type="html">📅 Original date posted:2017-01-14 📝 Original message: Hi ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsy2mfl52wxm2g4095s935lawrf59f369jeq3w0efkykz3w87wmfngzyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzkj79fvm" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsq9ntnpdn09a7jnd7cgkjnr9dgn0j87gql62ggfvk46af4dfvnvwgu9zr43&#39;&gt;nevent1q…zr43&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2017-01-14&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi there,&lt;br/&gt;&lt;br/&gt;Seems like the list is a bit dormant these days.&lt;br/&gt;&lt;br/&gt;Is it because of the low chances of SegWit activation given that it stalled&lt;br/&gt;at ~26%?&lt;br/&gt;&lt;br/&gt;On this topic, I would like to ask about the feasibility of LN without&lt;br/&gt;SegWit, given these circumstances.&lt;br/&gt;&lt;br/&gt;Some has been said in the past, I&amp;#39;ve been reading through the archives. But&lt;br/&gt;in them, everybody seemed overly enthusiastic about the activation of&lt;br/&gt;SegWit (maybe given that OP_CLTV and OP_CSV activated without hassle).&lt;br/&gt;&lt;br/&gt;I also stumbled across some notes about a talk on this topic (&amp;#34;BIPs&lt;br/&gt;necessary for lightning&amp;#34;):&lt;br/&gt;&lt;a href=&#34;https://diyhpl.us/wiki/transcripts/scalingbitcoin/hong-kong/overview-of-bips-necessary-for-lightning/&#34;&gt;https://diyhpl.us/wiki/transcripts/scalingbitcoin/hong-kong/overview-of-bips-necessary-for-lightning/&lt;/a&gt;&lt;br/&gt;In it, the 3-levels of LN are explained, level 1 with OP_CLTV, level 2 with&lt;br/&gt;OP_CVS and level 3 with SegWit&#43;SigHash new opcodes.&lt;br/&gt;&lt;br/&gt;That link, the level I&amp;#39;m interested in (2), seems to only highlight about&lt;br/&gt;how inefficient would be compared to level3. However, Joseph Poon has been&lt;br/&gt;quoted also mentioning &amp;#34;security&amp;#34; problems involved in level2 vs level3:&lt;br/&gt;&lt;a href=&#34;http://www.bitcoinisle.com/2016/11/12/whats-left-before-bitcoins-lightning-network-goes-live/&#34;&gt;http://www.bitcoinisle.com/2016/11/12/whats-left-before-bitcoins-lightning-network-goes-live/&lt;/a&gt;:&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;#34;...while aspects of Lightning are possible without the fix, the technology&lt;br/&gt;would be far less secure without it&amp;#34;&lt;br/&gt;&lt;br/&gt;This contrasts to what is said in this other article:&lt;br/&gt;&lt;a href=&#34;https://bitcoinmagazine.com/articles/lightning-network-one-step-closer-to-reality-as-lightning-labs-announces-alpha-release-1484333955&#34;&gt;https://bitcoinmagazine.com/articles/lightning-network-one-step-closer-to-reality-as-lightning-labs-announces-alpha-release-1484333955&lt;/a&gt;&lt;br/&gt;:&lt;br/&gt;&lt;br/&gt;&amp;#34;[level3] would allow users to outsource channel monitoring, which means&lt;br/&gt;they won’t have to constantly keep an eye on the Bitcoin blockchain.&lt;br/&gt;Meanwhile channels could be kept open longer and closed quicker. It would&lt;br/&gt;offer a better user experience overall”.&lt;br/&gt;&lt;br/&gt;Which one is more accurate? Is the security problems only related to having&lt;br/&gt;to watch the blockchain? If yes, why cannot one outsource this job to a&lt;br/&gt;server (e.g. the hypothetical server of your light-wallet) in level2?&lt;br/&gt;&lt;br/&gt;Thanks in advance for any clarifications,&lt;br/&gt;&lt;br/&gt;  Andres&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20170114/37e0e421/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20170114/37e0e421/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T12:46:56Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsdmlgqe2qx2tav2ycydm4zneqcpqk9qexf48l8npnqv9xd6jex3jqzyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzk6lsg0m</id>
    
      <title type="html">📅 Original date posted:2021-08-23 📝 Original message: How ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsdmlgqe2qx2tav2ycydm4zneqcpqk9qexf48l8npnqv9xd6jex3jqzyz89ljrdlx5qurve3qsq7sm5ys7kuwz6zysx8mf5qel0knkl9kqzk6lsg0m" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqspkmtlfhqa4cugzz4p68zzlv64e2q4xs9hhy33e73097ew93m8s3gmjgq8e&#39;&gt;nevent1q…gq8e&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-08-23&lt;br/&gt;📝 Original message:&lt;br/&gt;How is this related to the youtube video posted? Can you link to a specific&lt;br/&gt;time in it where it is discussed?&lt;br/&gt;&lt;br/&gt;On Sun, 15 Aug 2021 at 00:30, Daki Carnhof &amp;lt;carnhofdaki at gmail.com&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; This text was brought to life by repelling magnet forces of reading&lt;br/&gt;&amp;gt; ZmnSCPxj&amp;#39;s Algorithm For Channel Fee Settings. Thank you, Zmn! Bitcoin&lt;br/&gt;&amp;gt; has taught me to just do nothing and it would probably be preferable in&lt;br/&gt;&amp;gt; this case as well, but here is my 5msat.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; # Introduction&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Zero Fee Lightning Network Routing (both 0/0) is an alternative way of&lt;br/&gt;&amp;gt; looking at channel fee settings. The philosophical idea behind it is based&lt;br/&gt;&amp;gt; on the fact that by encouraging individuals to do their own (automated) fee&lt;br/&gt;&amp;gt; management we are actually forcing everyone individually to do the&lt;br/&gt;&amp;gt; decisions which are are currently done in fiat (and altcoin) standard&lt;br/&gt;&amp;gt; through interventions. And which we oppose by Bitcoin.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; # Reasoning&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; See discussion with Jordan P. Peterson and guests at&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://www.youtube.com/embed/iVym9wtopqs&#34;&gt;https://www.youtube.com/embed/iVym9wtopqs&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Our computers are running anyway for the Bitcoin nodes. They do quite a&lt;br/&gt;&amp;gt; lot of  simple computations for free* already. If it did not make sense,&lt;br/&gt;&amp;gt; the nodes would not be run. The same reasoning extends to zero fee routing&lt;br/&gt;&amp;gt; on LN. In our opinion it is much more straightforward to not ask for fees&lt;br/&gt;&amp;gt; on LN. The higher interest of the community will just melt into the overall&lt;br/&gt;&amp;gt; price, like Proof-of-Work does. Using an algorithm like Hill Climbing would&lt;br/&gt;&amp;gt; just make our computers compute even more and with uncertain results.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; * Without any immediate effect on the amount of satoshi the operator of&lt;br/&gt;&amp;gt; the node owns.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; That&amp;#39;s it. If I Had More Time, I Would Have Written a Shorter Letter.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Regards,&lt;br/&gt;&amp;gt; Daki&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20210823/2db7b37d/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20210823/2db7b37d/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T12:40:54Z</updated>
  </entry>

</feed>