<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <updated></updated>
  <generator>https://nostr.ae</generator>

  <title>Nostr notes by </title>
  <author>
    <name></name>
  </author>
  <link rel="self" type="application/atom+xml" href="https://nostr.ae/npub1uyhgpz5nsfnvdlcqm3erjsdjasd9pdeaejeetwtkvumm6mp3ujlqxt9vwk.rss" />
  <link href="https://nostr.ae/npub1uyhgpz5nsfnvdlcqm3erjsdjasd9pdeaejeetwtkvumm6mp3ujlqxt9vwk" />
  <id>https://nostr.ae/npub1uyhgpz5nsfnvdlcqm3erjsdjasd9pdeaejeetwtkvumm6mp3ujlqxt9vwk</id>
  <icon></icon>
  <logo></logo>




  <entry>
    <id>https://nostr.ae/nevent1qqs8h9355e0wat6d64mdtvt8e0hanhkn9phgtvxs9hmya840kk4w6fszyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtupuyaqh</id>
    
      <title type="html">📅 Original date posted:2023-07-31 🗒️ Summary of this ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqs8h9355e0wat6d64mdtvt8e0hanhkn9phgtvxs9hmya840kk4w6fszyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtupuyaqh" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsdsgqmxhlxdglml8k8ptzdw7fv632jch4y3kwpsyccsjfjw6lejpqjsumhu&#39;&gt;nevent1q…umhu&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-07-31&lt;br/&gt;🗒️ Summary of this message: A different approach to dealing with attacks on the network is to scale up capacity and make attackers pay for the resources they use, turning them into a profit center. This could be done through fees for message spam and holding funds. However, there are challenges in implementing fees based on the time an HTLC is held. The suggested fees are low, so hourly precision should be sufficient.&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi AJ,&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;A different way of thinking about the monetary approach is in terms of&lt;br/&gt;&amp;gt; scaling rather than deterrance: that is, try to make the cost that the&lt;br/&gt;&amp;gt; attacker pays sufficient to scale up your node/the network so that you&lt;br/&gt;&amp;gt; continue to have excess capacity to serve regular users.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; In that case, if people are suddenly routing their netflix data and&lt;br/&gt;&amp;gt; nostr photo libraries over lightning onion packets, that&amp;#39;s fine: you&lt;br/&gt;&amp;gt; make them pay amazon ec2 prices plus 50% for the resources they use,&lt;br/&gt;&amp;gt; and when they do , you deploy more servers. ie, turn your attackers and&lt;br/&gt;&amp;gt; spammers into a profit centre.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; I&amp;#39;ve had an email about this sitting in my drafts for a few years now,&lt;br/&gt;&amp;gt; but I think this could work something like:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;  - message spam (ie, onion traffic costs): when you send a message&lt;br/&gt;&amp;gt;    to a peer, pay for its bandwidth and compute. Perhaps something&lt;br/&gt;&amp;gt;    like 20c/GB is reasonable, which is something like 1msat per onion&lt;br/&gt;&amp;gt;    packet, so perhaps 20msat per onion packet if you&amp;#39;re forwarding it&lt;br/&gt;&amp;gt;    over 20 hops.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;  - liquidity DoS prevention: if you&amp;#39;re in receipt of a HTLC/PTLC and&lt;br/&gt;&amp;gt;    aren&amp;#39;t cancelling or confirming it, you pay your peer a fee for&lt;br/&gt;&amp;gt;    holding their funds. (if you&amp;#39;re forwarding the HTLC, then whoever you&lt;br/&gt;&amp;gt;    forwarded to pays you a slightly higher fee, while they hold your&lt;br/&gt;&amp;gt;    funds) Something like 1ppm per hour matches a 1% pa return, so if&lt;br/&gt;&amp;gt;    you&amp;#39;re an LSP holding on to a $20 payment waiting for the recipient to&lt;br/&gt;&amp;gt;    come online and claim it, then you might be paying out $0.0004 per hour&lt;br/&gt;&amp;gt;    (1.4sat) in order for 20 intermediate hops to each be making 20%&lt;br/&gt;&amp;gt;    pa interest on their held up funds.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;  - actual payment incentives: eg, a $20 payment paying 0.05% fees&lt;br/&gt;&amp;gt;    (phoenix&amp;#39;s minimum) costs $0.01 (33sat). Obviously you want this&lt;br/&gt;&amp;gt;    number to be a lot higher than all the DoS prevention fees.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; If you get too much message spam, you fire up more amazon compute&lt;br/&gt;&amp;gt; and take maybe 10c/GB in profit; if all your liquidity gets used up,&lt;br/&gt;&amp;gt; congrats you&amp;#39;ve just gotten 20%&#43; APY on your bitcoin without third party&lt;br/&gt;&amp;gt; risk and you can either reinvest your profits or increase your fees; and&lt;br/&gt;&amp;gt; all of those numbers are just noise compared to actual payment traffic,&lt;br/&gt;&amp;gt; which is 30x or 1500x more profitable.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;Message spam is outside the scope of this solution.&lt;br/&gt;&lt;br/&gt;As for liquidity DoS, the “holy grail” is indeed charging fees as a&lt;br/&gt;function of the time the HTLC was held. As for now, we are not aware of a&lt;br/&gt;reasonable way to do this. There is no universal clock, and there is no way&lt;br/&gt;for me to prove that a message was sent to you, and you decided to pretend&lt;br/&gt;you didn&amp;#39;t. It can easily happen that the fee for a two-week unresolved&lt;br/&gt;HTLC is higher than the fee for a quickly resolving one. Because of this,&lt;br/&gt;we turn to reputation for slow jamming and use fees only for quick jamming.&lt;br/&gt;&lt;br/&gt;See later comments on the specific suggestion outlined.&lt;br/&gt;&lt;br/&gt;The amounts here are all very low, so I don&amp;#39;t think you really need much&lt;br/&gt;&amp;gt; more precision than &amp;#34;hourly&amp;#34;. I think you could even do it &amp;#34;per block&amp;#34;&lt;br/&gt;&amp;gt; and convert &amp;#34;1% pa&amp;#34; as actually &amp;#34;0.2 parts per million per block&amp;#34;, since&lt;br/&gt;&amp;gt; the only thing time is relevant for is turning liquidity DoS into an APY&lt;br/&gt;&amp;gt; figure. Presumably that needs some tweaking to deal with the possibility&lt;br/&gt;&amp;gt; of reorgs or stale blocks.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;This is again the same problem with a node preferring the fees for a&lt;br/&gt;two-week unresolved HTLC over a quick resolving one. See comments below for&lt;br/&gt;the far downstream node.&lt;br/&gt;&lt;br/&gt;I think the worst case for that scenario is if you have a route&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;    A1 -&amp;gt; A2 -&amp;gt; .. -&amp;gt; A19 -&amp;gt; B -&amp;gt; A20&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; then B closes the {B,A20} channel and at the end of the timeout A20 claims&lt;br/&gt;&amp;gt; the funds. At that point B will have paid liquidity fees to A1..A19 for&lt;br/&gt;&amp;gt; the full two week period, but will have only received a fixed payout&lt;br/&gt;&amp;gt; from A20 due to the channel close.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; At 10% APY, with a $1000 payment, B will have paid ~$73 to A (7.3%). If&lt;br/&gt;&amp;gt; the close channel transaction costs, say, $5, then either you end up with&lt;br/&gt;&amp;gt; B wanting to close the channel early in non-attack scenarios (they collect&lt;br/&gt;&amp;gt; $73 from A20, but only pay perhaps 4c back to A1..A19, and perhaps $6 to&lt;br/&gt;&amp;gt; open and close the channel), or you end up with A holding up the funds&lt;br/&gt;&amp;gt; and leaching off B (B only collects, say, $20 from A20, but then A20&lt;br/&gt;&amp;gt; claims the funds after two weeks so is either up $75 if B didn&amp;#39;t claim&lt;br/&gt;&amp;gt; the funds from A19, or is up $53 after B paid liquidity fees for 2 weeks).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; _But_ I think this is an unreasonable scenario: the only reason for B to&lt;br/&gt;&amp;gt; forward a HTLC with a 2 week expiry is if they&amp;#39;re early in the route,&lt;br/&gt;&amp;gt; but the only reason to accept a large liquidity fee is if they&amp;#39;re late&lt;br/&gt;&amp;gt; in the route. So I think you can solve that by only forwarding a payment&lt;br/&gt;&amp;gt; if the liquidity fee rate multiplied by the expiry is below a cap, eg:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;    A19 -&amp;gt; B   : wants 36ppm per block; cap/ppm = 500/36 = 13.8&lt;br/&gt;&amp;gt;    B   -&amp;gt; A20 : expiry is in 13 blocks; wants 38ppm per block&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; (2ppm per block ~= 10% APY)&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; For comparison, at the start of the chain, things look like:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;    A2 -&amp;gt; A3 : wants 2ppm per block; cap/ppm = 500/2 = 250&lt;br/&gt;&amp;gt;    A3 -&amp;gt; A4 : expiry is in 250 blocks; wants 4ppm per block&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; In each case, the commitment tx would look like:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;    $1000 HTLC paying Y refunding to X&lt;br/&gt;&amp;gt;    $0.50 liquidity fee bonus to X&amp;#39;s balance (500ppm cap)&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;I think this is another take on time-based fees. In this variation, the&lt;br/&gt;victim is trying to take a fee from the attacker. If the attacker is not&lt;br/&gt;willing to pay the fee (and why would they?), then the victim has to force&lt;br/&gt;close. There is no way for the victim to prove that it is someone&lt;br/&gt;downstream holding the HTLC and not them.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; &amp;gt;      - They’re not large enough to be enforceable, so somebody always has&lt;br/&gt;&amp;gt; &amp;gt; to give the money back off chain.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; If the cap is 500ppm per block, then the liquidity fees for a 2000sat&lt;br/&gt;&amp;gt; payment ($0.60) are redeemable onchain.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;This heavily depends on the on-chain fees, and so will need to be&lt;br/&gt;updated as a function of that, and adds another layer of complication.&lt;br/&gt;&lt;br/&gt;Thanks for the interesting email,&lt;br/&gt;Clara&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/20230731/6ca8855f/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230731/6ca8855f/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-08-03T00:15:36&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsv7rnejaket8zj7lfxa9r76pfdjv9xapzrj78qgy6tzcghgtzhjvqzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtuhmhrhz</id>
    
      <title type="html">📅 Original date posted:2023-05-11 🗒️ Summary of this ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsv7rnejaket8zj7lfxa9r76pfdjv9xapzrj78qgy6tzcghgtzhjvqzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtuhmhrhz" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs8kn6amh4kxsarjhjdnvtjar7290kd0n70wkqk8fprkmne5tjn3zcnazy66&#39;&gt;nevent1q…zy66&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-05-11&lt;br/&gt;🗒️ Summary of this message: Join the jamming call on May 15 at 5 pm UTC to discuss HTLC endorsement and local reputation tracking in Lightning Network.&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi List,&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;A reminder that we&amp;#39;ve got another jamming call coming up next week.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Monday 15 May&lt;br/&gt;&lt;br/&gt;5 pm UTC&lt;br/&gt;&lt;br/&gt;&lt;a href=&#34;https://meet.jit.si/UnjammingLN&#34;&gt;https://meet.jit.si/UnjammingLN&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;In this meeting, we’d like to discuss HTLC endorsement and local reputation&lt;br/&gt;[1]. We’ve updated the draft spec PR with some details on what we think&lt;br/&gt;reputation tracking should look like, and would like to get some early&lt;br/&gt;feedback.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Feel free to add agenda items [2].&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;See you there,&lt;br/&gt;&lt;br/&gt;Carla and Clara&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;[1] &lt;a href=&#34;https://github.com/lightning/bolts/pull/1071&#34;&gt;https://github.com/lightning/bolts/pull/1071&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;[2] &lt;a href=&#34;https://github.com/ClaraShk/LNJamming/issues/14&#34;&gt;https://github.com/ClaraShk/LNJamming/issues/14&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/20230511/438ac3c1/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230511/438ac3c1/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-19T19:42:36&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsqealjmwmgssjcgyl8hlufgxaq2ql7d296wct7vzwtjpm87xsnhjczyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtuczp3k4</id>
    
      <title type="html">📅 Original date posted:2023-05-31 🗒️ Summary of this ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsqealjmwmgssjcgyl8hlufgxaq2ql7d296wct7vzwtjpm87xsnhjczyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtuczp3k4" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs286ut59cverx76p4v8jrsaerx24rgntpmxr2pqnxdnc5rwvqaw8g484qnx&#39;&gt;nevent1q…4qnx&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-05-31&lt;br/&gt;🗒️ Summary of this message: The HTLC endorsement model introduces a coupling effect between routing scoring algorithms and channel liquidity, with potential issues of reputation systems.&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi,&lt;br/&gt;&lt;br/&gt;&amp;gt; I think the distinction you&amp;#39;re proposing between routing fees and reputation revenue matters in the HTLC endorsement model. For the example I&amp;#39;m using let&amp;#39;s say Caroll and Bob share the same exact parameters, *reputation_revenue* = 1,000, *routing_window*=100 and *routing_window*=10, where the reputation revenue of Bob towards Caroll is made from multiple incoming links.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; For each HTLC forwarding request issued from Alice, Bob has to make the decision between refusing Alice HTLC forward over the Caroll incoming link, and lose an opportunity of fee income, or accept the HTLC and suffers from a damage if Alice reveals a posteriori as a jamming attacker.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Bob can also forward but not endorse Alice&amp;#39;s HTLC. All of this is a&lt;br/&gt;function of how much credit Bob gives to Alice&amp;#39;s judgment. In case of&lt;br/&gt;jamming, the damage that Alice inflicts should be proportional to the&lt;br/&gt;revenue she recently created for Bob, and so the more damage, the higher&lt;br/&gt;the threshold.&lt;br/&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; This is unclear to me how the compensation mechanism works in the chain of nodes that have high reputation with each other, and I still think the HTLC endorsement mitigation suffers from the classic issues of reputation systems (i.e whitewashing).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; This system guarantees that if a node was jammed, it was paid a&lt;br/&gt;significant some prior to the attack happening. There is no claim about who&lt;br/&gt;is paying or the cost of the attack.&lt;br/&gt;&lt;br/&gt;I think there is a coupling effec introduced between the historical&lt;br/&gt;liquidity buckets of routing scoring algorithms and the introduction&lt;br/&gt;of endorsment scheme with adjustement of the channel liquidity and&lt;br/&gt;slots in function of local topology reputation.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; See the LDK scoring engine comments here : &lt;a href=&#34;https://github.com/lightningdevkit/rust-lightning/blob/eec5ec6b50720144fc23503c3ee9c1c8850517ac/lightning/src/routing/scoring.rs#L336&#34;&gt;https://github.com/lightningdevkit/rust-lightning/blob/eec5ec6b50720144fc23503c3ee9c1c8850517ac/lightning/src/routing/scoring.rs#L336&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;The reading on the channel liquidity can change for different users using&lt;br/&gt;different routes, but the information a node gets is what liquidity is&lt;br/&gt;available for them (and not the state of the channel in general). This&lt;br/&gt;indeed can fluctuate more than it does now, but so is the liquidity&lt;br/&gt;available for a specific node.&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Clara&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/20230531/adab622d/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230531/adab622d/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-19T19:42:26&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqs8fk4fhxpvktuu2n5pjjfntvh9cmvztcja498rk2nlsfrns427puqzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtu7fzfag</id>
    
      <title type="html">📅 Original date posted:2023-05-10 🗒️ Summary of this ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqs8fk4fhxpvktuu2n5pjjfntvh9cmvztcja498rk2nlsfrns427puqzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtu7fzfag" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsgqafsg7yqcrw2ztelcl9ajz6qnl8lgdmwwpr86eywjaz3uc26knca8euq8&#39;&gt;nevent1q…euq8&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-05-10&lt;br/&gt;🗒️ Summary of this message: The Lightning Network&amp;#39;s reputation system is susceptible to sudden behavioral changes and whitewashing attacks, but fees can put a price on having a good reputation. Nodes do not gossip about peer reputation, and data collection will inform future decisions.&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi Christian,&lt;br/&gt;&lt;br/&gt;Thanks for your comments! We will discuss this further in the upcoming call&lt;br/&gt;on the 15th, would be great to see you there!&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; this is an intrinsic issue with reputation systems, and the main&lt;br/&gt;&amp;gt; reason I&amp;#39;m sceptical w.r.t. their usefulness in lightning.&lt;br/&gt;&amp;gt; Fundamentally any reputation system bases their expectations for the&lt;br/&gt;&amp;gt; future on experiences they made in the past, and they are thus always&lt;br/&gt;&amp;gt; susceptible to sudden behavioral changes (going rogue from a prior&lt;br/&gt;&amp;gt; clean record) and whitewashing attacks (switching identity, abusing&lt;br/&gt;&amp;gt; any builtin bootstrapping method for new users to gain a good or&lt;br/&gt;&amp;gt; neutral reputation before turning rogue repeatedly).&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;In the Lightning Network, fees are a native way to put a price on having a&lt;br/&gt;good reputation (see details here [0]). In the design that we suggest, the&lt;br/&gt;reputation gained today cannot be used in the distant future, and funds&lt;br/&gt;need to be invested continuously to keep a good reputation. Good reputation&lt;br/&gt;is also a function of the general environment, and so if there is a fee&lt;br/&gt;spike, reputation will change. It is true that nodes can go rogue, but this&lt;br/&gt;is why we aim for the price of a good reputation to be similar to the&lt;br/&gt;amount of damage they can create.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; This gets compounded as soon as we start gossiping about reputations,&lt;br/&gt;&amp;gt; since now our decisions are no longer based just on information we can&lt;br/&gt;&amp;gt; witness ourselves, or at least verify its correctness, and as such an&lt;br/&gt;&amp;gt; attacker can most likely &amp;#34;earn&amp;#34; a positive reputation in some other&lt;br/&gt;&amp;gt; part of the world, and then turn around and attack the nodes that&lt;br/&gt;&amp;gt; trusted the reputation shared from those other parts.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;Notice that we are not gossiping about our peer&amp;#39;s reputation. The only&lt;br/&gt;thing that a node communicates to its neighbor is whether they see an HTLC&lt;br/&gt;as endorsed or just neutral, that is, should this HTLC be granted access to&lt;br/&gt;all of the resources or just the restricted part.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; I&amp;#39;d be very interested in how many repeat interactions nodes get from&lt;br/&gt;&amp;gt; individual senders, since that also tells us how much use we can get&lt;br/&gt;&amp;gt; out of local-only reputation based systems, and I wouldn&amp;#39;t be&lt;br/&gt;&amp;gt; surprised if, for large routing nodes, we have sufficient data for&lt;br/&gt;&amp;gt; them to make an informed decision, while the edges may be more&lt;br/&gt;&amp;gt; vulnerable, but they&amp;#39;d also be used by way fewer senders, and the&lt;br/&gt;&amp;gt; impact of an attack would also be proportionally smaller.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;This is something we hope to learn once we&amp;#39;ll start collecting data from&lt;br/&gt;our brave volunteers :)&lt;br/&gt;&lt;br/&gt;Cheers,&lt;br/&gt;Clara&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/20230510/e8f3be68/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230510/e8f3be68/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-19T19:42:24&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsp87sm0a0kd5a74x46nhmqgzxctl9za96cm3atrn80gha525w867szyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtud4re7p</id>
    
      <title type="html">📅 Original date posted:2023-05-08 🗒️ Summary of this ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsp87sm0a0kd5a74x46nhmqgzxctl9za96cm3atrn80gha525w867szyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtud4re7p" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsdus9q5emsjgjs4xnmxs6js3dxt8fpv9ffwk848nu5ydf973x9y9ctxhuzj&#39;&gt;nevent1q…huzj&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-05-08&lt;br/&gt;🗒️ Summary of this message: The proposed HTLC endorsement scheme has a vulnerability where local reputation can be abused during high routing fees, and should aim for reputational transitivity.&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi,&lt;br/&gt;&lt;br/&gt;I think the HTLC endorsement scheme as proposed is still suffering from a&lt;br/&gt;&amp;gt; vulnerability as local reputation can be built up during periods of low&lt;br/&gt;&amp;gt; routing fees, endorsement gained and then abused during periods of high&lt;br/&gt;&amp;gt; routing fees. Therefore, it sounds to me this scheme should aim for some&lt;br/&gt;&amp;gt; reputational transitivity between incoming traffic and outgoing traffic.&lt;br/&gt;&amp;gt; Namely, the acquisition cost of the local reputation should be equal to the&lt;br/&gt;&amp;gt; max timevalue damage that one can inflict on a routing node channel&lt;br/&gt;&amp;gt; accessible from its local counterparty granting this high-level of&lt;br/&gt;&amp;gt; reputation.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;This is the reason we have a moving window for the calculation.&lt;br/&gt;Note that if there is a channel between Alice and Bob, then the reputation&lt;br/&gt;of Alice from Bob&amp;#39;s point of view is a function of Bob&amp;#39;s total revenue in&lt;br/&gt;the latest time period. If Bob experiences a spike in routing fees, nodes&lt;br/&gt;might lose their reputation, but it would not work the other way around.&lt;br/&gt;That is, one cannot gain reputation during low fee times and use it when&lt;br/&gt;fees are high.&lt;br/&gt;&lt;br/&gt;See further details in this email [0]&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Clara&lt;br/&gt;&lt;br/&gt;[0]&lt;br/&gt;&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2023-February/003857.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2023-February/003857.html&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/20230508/abc0a16c/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230508/abc0a16c/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-19T19:42:22&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqs874vvqsscq3f86fjf7qtczzgl4rzp3dfw354s3f22dev4y4kzfqgzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtume4vrn</id>
    
      <title type="html">📅 Original date posted:2023-05-08 🗒️ Summary of this ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqs874vvqsscq3f86fjf7qtczzgl4rzp3dfw354s3f22dev4y4kzfqgzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtume4vrn" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsy43ynv0szmhyy8p6um3n92rkevmx4zlvsa5tntghmukjw4dvv0mgvtnphl&#39;&gt;nevent1q…nphl&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-05-08&lt;br/&gt;🗒️ Summary of this message: The HTLC endorsement scheme proposed for routing fees is vulnerable to abuse, and should aim for reputational transitivity between incoming and outgoing traffic.&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi,&lt;br/&gt;&lt;br/&gt;I think the HTLC endorsement scheme as proposed is still suffering from a&lt;br/&gt;&amp;gt; vulnerability as local reputation can be built up during periods of low&lt;br/&gt;&amp;gt; routing fees, endorsement gained and then abused during periods of high&lt;br/&gt;&amp;gt; routing fees. Therefore, it sounds to me this scheme should aim for some&lt;br/&gt;&amp;gt; reputational transitivity between incoming traffic and outgoing traffic.&lt;br/&gt;&amp;gt; Namely, the acquisition cost of the local reputation should be equal to the&lt;br/&gt;&amp;gt; max timevalue damage that one can inflict on a routing node channel&lt;br/&gt;&amp;gt; accessible from its local counterparty granting this high-level of&lt;br/&gt;&amp;gt; reputation.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;This is the reason we have a moving window for the calculation.&lt;br/&gt;Note that if there is a channel between Alice and Bob, then the reputation&lt;br/&gt;of Alice from Bob&amp;#39;s point of view is a function of Bob&amp;#39;s total revenue in&lt;br/&gt;the latest time period. If Bob experiences a spike in routing fees, nodes&lt;br/&gt;might lose their reputation, but it would not work the other way around.&lt;br/&gt;That is, one cannot gain reputation during low fee times and use it when&lt;br/&gt;fees are high.&lt;br/&gt;&lt;br/&gt;See further details in this email [0]&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Clara&lt;br/&gt;&lt;br/&gt;[0]&lt;br/&gt;&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2023-February/003857.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2023-February/003857.html&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/20230508/abc0a16c/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230508/abc0a16c/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:13:18&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqszdy9jtp8pulgztcfeufcyk6546s6saawu5sge8qe9psrdl2hcczszyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtuc6rtxr</id>
    
      <title type="html">📅 Original date posted:2023-03-06 🗒️ Summary of this ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqszdy9jtp8pulgztcfeufcyk6546s6saawu5sge8qe9psrdl2hcczszyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtuc6rtxr" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsq2snqk08tnnj54k8l0huz45hhda9lwch4yh3qtgnkqtnmzzgwwyqemymdz&#39;&gt;nevent1q…ymdz&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-03-06&lt;br/&gt;🗒️ Summary of this message: The criteria for endorsement decisions and the distribution of liquidity/slots on outbound channels are unclear in the local reputation scheme. There may also be exploitable reputation asymmetries.&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi,&lt;br/&gt;&lt;br/&gt;This is unclear on which criterias the endorsement decision is made&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;A node endorses an HTLC if and only if it came from a neighbour that has&lt;br/&gt;reputation 1 that endorsed it.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; Additionally, this is unclear how the available liquidity/slots on a given&lt;br/&gt;&amp;gt; outbound channel are initially distributed between all the inbound channels&lt;br/&gt;&amp;gt; (e.g proportional to the capacity) and how they&amp;#39;re balanced once the&lt;br/&gt;&amp;gt; inbound channels start to accumulate reputation.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;The quotas are for any incoming HTLC that is either from a neighbour with&lt;br/&gt;reputation 0, or is not endorsed. For each channel, the quotas&lt;br/&gt;are independent of other channels and independent of the neighbour that&lt;br/&gt;forwarded the HTLC.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; I don&amp;#39;t know if this local reputation scheme precises how reputation is&lt;br/&gt;&amp;gt; slashed in case of HTLC failure, and if any &amp;#34;grace&amp;#34; amount/rate is granted&lt;br/&gt;&amp;gt; to the inbound channel counterparty, e.g Alice.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Independently of those considerations, I think this local reputation&lt;br/&gt;&amp;gt; scheme might suffer from exploitable reputation asymmetries by a jamming&lt;br/&gt;&amp;gt; adversary.&lt;br/&gt;&amp;gt; Let&amp;#39;s say you have the topology:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Alice - Bob - Caroll - Dave&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Alice accumulated a reputation of 1 towards Bob and same for Bob towards&lt;br/&gt;&amp;gt; Caroll. As `fee_base_msat` Bob picked up 1000 msat and Caroll picked up&lt;br/&gt;&amp;gt; 2000 msat. If Alice forwards a HTLC to Bob and it is endorsed by him&lt;br/&gt;&amp;gt; before relay to Caroll, Alice can now inflict a 50 sat damage to Caroll,&lt;br/&gt;&amp;gt; while only encumbering the lower-priced reputational cost towards Bob.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; This concern could hold in case of asymmetries arising from the dynamic&lt;br/&gt;&amp;gt; adjustment of routing fees during an evaluated period of time. E.g both Bob&lt;br/&gt;&amp;gt; and Caroll requires routing fees of 1000 msat. Alice builds up a reputation&lt;br/&gt;&amp;gt; of 1 towards Bob during this period N. At period N&#43;1, Caroll bumps her&lt;br/&gt;&amp;gt; routing fees to 2000 msat. From now on, Alice can exploit this asymmetry.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;In general, if Bob is a low flow node (resulting in it having a low&lt;br/&gt;threshold for reputation), he cannot have a high reputation with Carroll as&lt;br/&gt;he will never forward enough. Taking into account the differences in fees&lt;br/&gt;is interesting, but should be checked further.&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/20230306/88a444fc/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230306/88a444fc/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:12:51&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqs9hu8h5v9hdxyvvnun70qgh7nrk7vwgu8dl7wqz6cexzqm78zwhtgzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtur85m5q</id>
    
      <title type="html">📅 Original date posted:2023-03-03 🗒️ Summary of this ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqs9hu8h5v9hdxyvvnun70qgh7nrk7vwgu8dl7wqz6cexzqm78zwhtgzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtur85m5q" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqswxthcujpg6d3cpf79xk63m5xcyy5ezxfn7q6m8qks2a2vuew6dqqnv2hz0&#39;&gt;nevent1q…2hz0&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-03-03&lt;br/&gt;🗒️ Summary of this message: The benefits of continuous solutions over binary should be understood before taking a more complicated direction. Reporting truthfully may not always be rational.&lt;br/&gt;📝 Original message:&lt;br/&gt;Could you explain the benefits of continuous solutions over binary? This is&lt;br/&gt;something we should definitely understand before going in a more&lt;br/&gt;complicated direction.&lt;br/&gt;&lt;br/&gt;Also, I&amp;#39;m still not sure that the rational behaviour is to report *c*&lt;br/&gt;truthfully.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;On Fri, Mar 3, 2023 at 11:51 AM Thomas HUET &amp;lt;thomas.huet at acinq.fr&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; By giving a high confidence to HTLCs you increase the chance that they are&lt;br/&gt;&amp;gt; relayed which should be your goal. Having a high reputation is not a goal&lt;br/&gt;&amp;gt; in itself, it&amp;#39;s just a way to make your HTLCs more likely to be relayed. If&lt;br/&gt;&amp;gt; you always report confidence 0, then yes you will have a reputation of 1&lt;br/&gt;&amp;gt; but your HTLCs will still be rejected at the first sign of congestion.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Le ven. 3 mars 2023 à 17:14, Clara Shikhelman &amp;lt;clara.shikhelman at gmail.com&amp;gt;&lt;br/&gt;&amp;gt; a écrit :&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Hi Thomas,&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Thanks for the example.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; - If c &amp;lt; p then yes it gives it a higher reputation but the reputation is&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; capped at 1 anyway, so by underestimating the confidence the node doesn&amp;#39;t&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; gain anything.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Is there anything to gain from giving high confidence? By doing this, you&lt;br/&gt;&amp;gt;&amp;gt; risk lowering your reputation, and it&amp;#39;s not clear what you gain.&lt;br/&gt;&amp;gt;&amp;gt; Could it be that the best selfish strategy is to report confidence 0&lt;br/&gt;&amp;gt;&amp;gt; (that maps to reputation 1) all the time?&lt;br/&gt;&amp;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/20230303/e91b930a/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230303/e91b930a/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:12:50&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsr360xq4cut3vxewx4hmf0zyzryj7hq0cqhcea6kt374dfddqrtgczyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtu0mxw8f</id>
    
      <title type="html">📅 Original date posted:2023-03-03 🗒️ Summary of this ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsr360xq4cut3vxewx4hmf0zyzryj7hq0cqhcea6kt374dfddqrtgczyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtu0mxw8f" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsz5tuj0a8cnlu2mxxndeherqp2re5fzxr0vkft4g0qkd9z2vj4w2csra489&#39;&gt;nevent1q…a489&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-03-03&lt;br/&gt;🗒️ Summary of this message: A continuous solution can differentiate between an active attacker and a low-traffic neighbor, unlike a binary solution that blocks all low-reputation nodes. Reporting c truthfully is crucial to avoid reputation penalties.&lt;br/&gt;📝 Original message:&lt;br/&gt;&amp;gt; With a binary solution a single attacker can easily fill your quota of&lt;br/&gt;&amp;gt; low-confidence HTLCs and then all low-reputation nodes are blocked. But not&lt;br/&gt;&amp;gt; all of them are attackers, some of them just don&amp;#39;t send you enough traffic&lt;br/&gt;&amp;gt; to get a high reputation for instance and you&amp;#39;re going to block them too.&lt;br/&gt;&amp;gt; With a continuous solution you can differentiate between an active attacker&lt;br/&gt;&amp;gt; and someone who just sends to nodes with poor connectivity and only block&lt;br/&gt;&amp;gt; the first.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;If it&amp;#39;s very cheap to behave like a neighbour with poor connectivity, why&lt;br/&gt;wouldn&amp;#39;t the attacker mimic this, and then block?&lt;br/&gt;Differentiating between a potential attacker and just a low-traffic&lt;br/&gt;neighbour is very difficult. I think that instead of &amp;#34;low/high reputation&amp;#34;&lt;br/&gt;a better way to think about it is &amp;#34;unknown/endorsed&amp;#34;, and just consider&lt;br/&gt;which neighbour needs access to all resources and which one doesn&amp;#39;t.&lt;br/&gt;&lt;br/&gt;The idea of different bins was brought up a few times and might help a bit,&lt;br/&gt;but I am not sure at all that it is worth the complication.&lt;br/&gt;&lt;br/&gt;For reporting c truthfully, if you report it too high you will be penalized&lt;br/&gt;&amp;gt; by having your reputation lowered, if you report it too low you will&lt;br/&gt;&amp;gt; penalize your HTLCs and still get the same reputation as if you had&lt;br/&gt;&amp;gt; reported it truthfully.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;It might be that there is a strong motivation to underestimate than&lt;br/&gt;overestimate. That is – the punishment for underestimating by X is&lt;br/&gt;significantly smaller than for overestimating by X (or vice versa). The&lt;br/&gt;formula you choose can affect this significantly.&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/20230303/4c8fa6ae/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230303/4c8fa6ae/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:12:50&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsrcw545hm5s6tfkdtm2edxenxc62wynd5aq9rjum5vhq90wthmhtszyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtuzt3jpr</id>
    
      <title type="html">📅 Original date posted:2023-03-03 🗒️ Summary of this ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsrcw545hm5s6tfkdtm2edxenxc62wynd5aq9rjum5vhq90wthmhtszyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtuzt3jpr" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsrld86gwzpmqsddh57gnefw8g4u7a9tn3k4fr2h7ftqmxgu4e4zmg8v58q2&#39;&gt;nevent1q…58q2&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-03-03&lt;br/&gt;🗒️ Summary of this message: The writer questions the benefits of reporting high confidence in a node&amp;#39;s reputation, suggesting that a strategy of always reporting confidence 0 may be best.&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi Thomas,&lt;br/&gt;&lt;br/&gt;Thanks for the example.&lt;br/&gt;&lt;br/&gt;- If c &amp;lt; p then yes it gives it a higher reputation but the reputation is&lt;br/&gt;&amp;gt; capped at 1 anyway, so by underestimating the confidence the node doesn&amp;#39;t&lt;br/&gt;&amp;gt; gain anything.&lt;br/&gt;&amp;gt;&lt;br/&gt;Is there anything to gain from giving high confidence? By doing this, you&lt;br/&gt;risk lowering your reputation, and it&amp;#39;s not clear what you gain.&lt;br/&gt;Could it be that the best selfish strategy is to report confidence 0 (that&lt;br/&gt;maps to reputation 1) all the time?&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/20230303/ca1a5168/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230303/ca1a5168/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:12:49&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsyuh745xljnqd9a6439z83rxtdzserhr3langle3556f0kzn4aj3szyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtulwse7v</id>
    
      <title type="html">📅 Original date posted:2023-05-31 📝 Original message: Hi, ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsyuh745xljnqd9a6439z83rxtdzserhr3langle3556f0kzn4aj3szyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtulwse7v" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsv5fjs6lptl8dn9k6036f0dmmdvv0fprn7ngjhy22amp55andrz8cqu2ns7&#39;&gt;nevent1q…2ns7&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-05-31&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi,&lt;br/&gt;&lt;br/&gt;&amp;gt; I think the distinction you&amp;#39;re proposing between routing fees and reputation revenue matters in the HTLC endorsement model. For the example I&amp;#39;m using let&amp;#39;s say Caroll and Bob share the same exact parameters, *reputation_revenue* = 1,000, *routing_window*=100 and *routing_window*=10, where the reputation revenue of Bob towards Caroll is made from multiple incoming links.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; For each HTLC forwarding request issued from Alice, Bob has to make the decision between refusing Alice HTLC forward over the Caroll incoming link, and lose an opportunity of fee income, or accept the HTLC and suffers from a damage if Alice reveals a posteriori as a jamming attacker.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Bob can also forward but not endorse Alice&amp;#39;s HTLC. All of this is a&lt;br/&gt;function of how much credit Bob gives to Alice&amp;#39;s judgment. In case of&lt;br/&gt;jamming, the damage that Alice inflicts should be proportional to the&lt;br/&gt;revenue she recently created for Bob, and so the more damage, the higher&lt;br/&gt;the threshold.&lt;br/&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; This is unclear to me how the compensation mechanism works in the chain of nodes that have high reputation with each other, and I still think the HTLC endorsement mitigation suffers from the classic issues of reputation systems (i.e whitewashing).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; This system guarantees that if a node was jammed, it was paid a&lt;br/&gt;significant some prior to the attack happening. There is no claim about who&lt;br/&gt;is paying or the cost of the attack.&lt;br/&gt;&lt;br/&gt;I think there is a coupling effec introduced between the historical&lt;br/&gt;liquidity buckets of routing scoring algorithms and the introduction&lt;br/&gt;of endorsment scheme with adjustement of the channel liquidity and&lt;br/&gt;slots in function of local topology reputation.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; See the LDK scoring engine comments here : &lt;a href=&#34;https://github.com/lightningdevkit/rust-lightning/blob/eec5ec6b50720144fc23503c3ee9c1c8850517ac/lightning/src/routing/scoring.rs#L336&#34;&gt;https://github.com/lightningdevkit/rust-lightning/blob/eec5ec6b50720144fc23503c3ee9c1c8850517ac/lightning/src/routing/scoring.rs#L336&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;The reading on the channel liquidity can change for different users using&lt;br/&gt;different routes, but the information a node gets is what liquidity is&lt;br/&gt;available for them (and not the state of the channel in general). This&lt;br/&gt;indeed can fluctuate more than it does now, but so is the liquidity&lt;br/&gt;available for a specific node.&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Clara&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/20230531/adab622d/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230531/adab622d/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:08:51&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsdzy78dt88y0tpn994dd7mrgn925zkc2rf5kl763vsxjtwr0zewwczyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtung5q8x</id>
    
      <title type="html">📅 Original date posted:2023-05-17 📝 Original message: Hi, ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsdzy78dt88y0tpn994dd7mrgn925zkc2rf5kl763vsxjtwr0zewwczyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtung5q8x" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsr3j3llukj7ty9etg9mprmsu98fz5zklkvcpnemass56y36lgcfnq7d4yta&#39;&gt;nevent1q…4yta&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-05-17&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi,&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; The lack of transitivity of the reputation acquisition cost (e.g based on&lt;br/&gt;&amp;gt; historical fees earned from forwards originating from the peer) between the&lt;br/&gt;&amp;gt; hops of the payment path still raises a vulnerability issue for the&lt;br/&gt;&amp;gt; endorsement scheme, I think.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Namely, let&amp;#39;s say you have Alice, Bob and Caroll where endorsement has&lt;br/&gt;&amp;gt; been obtained by Alice on the Bob incoming link by paying fees for an&lt;br/&gt;&amp;gt; amount of 1000 sats for the last 100 blocks. Caroll offers a far higher&lt;br/&gt;&amp;gt; pricing on her incoming link from Bob, 10000 sats as `fee_base_msat` on her&lt;br/&gt;&amp;gt; endorsed slots. It sounds to me there is nothing preventing Alice from&lt;br/&gt;&amp;gt; sacrificing her earned reputation to inflict a loss of routing fees damage&lt;br/&gt;&amp;gt; on Caroll incoming link ?&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;I think it&amp;#39;s important to differentiate between fees a node charges and&lt;br/&gt;*reputation_revenue*. Reputation is determined as a function of the latter.&lt;br/&gt;If Caroll has a very high *reputation_revenue* and Bob has a very low one,&lt;br/&gt;then Bob probably won&amp;#39;t have a high reputation with Caroll, as the amount&lt;br/&gt;of fees he forwards to Caroll is smaller than the damage he can create.&lt;br/&gt;That is, if Caroll is a huge node and Bob is a raspberry pi, then Bob will&lt;br/&gt;never have a good reputation with Caroll. If they have similar&lt;br/&gt;*reputation_revenue*, then getting a good reputation with Bob is as&lt;br/&gt;difficult as getting a good reputation with Caroll.&lt;br/&gt;&lt;br/&gt;In your example (if I got it correctly) Bob&amp;#39;s *reputation_revenue* = 1,000,&lt;br/&gt;*reputation_window*=100 and *routing_window*=10. Could you explain what are&lt;br/&gt;Caroll&amp;#39;s parameters are in your example? The *fee_base_msat* does not&lt;br/&gt;indicate Carolls *reputation_revenue* (unless Alice is the only one&lt;br/&gt;transacting on the Bob-Caroll channel, and then she is the one paying for&lt;br/&gt;Bob&amp;#39;s reputation).&lt;br/&gt;&lt;br/&gt;That being said, we use *reputation_revenue *to estimate the damage an&lt;br/&gt;attacker can create. If there is a chain of nodes that have high reputation&lt;br/&gt;with each other, and they are jammed, they would be compensated for the&lt;br/&gt;revenue lost during the attack. If Bob finds that having a high reputation&lt;br/&gt;with Caroll is crucial and 1,000 sats will not compensate him for loosing&lt;br/&gt;it, then he should either never endorse anything on that channel, or at&lt;br/&gt;least put a higher bar than *reputation_revenue*.&lt;br/&gt;&lt;br/&gt;There is an independent new observation on the effect of dynamic reputation&lt;br/&gt;&amp;gt; windows on payment reliability, as those windows are not announced to the&lt;br/&gt;&amp;gt; rest of the network, sudden changes in the links throughput based on HTLC&lt;br/&gt;&amp;gt; resolution might break the historical liquidity buckets of routing scoring&lt;br/&gt;&amp;gt; algorithms (at least in the way we&amp;#39;re doing it for LDK), I think ?&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;Not sure what you mean by that.&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Clara&lt;br/&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/20230517/d00db6ae/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230517/d00db6ae/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:08:50&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsqzrkgy2mwlz6pqrgwa20nf6wxvrcs83au72u857yrcqr5nxmfv5gzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtumzfjlr</id>
    
      <title type="html">📅 Original date posted:2023-05-10 📝 Original message: Hi ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsqzrkgy2mwlz6pqrgwa20nf6wxvrcs83au72u857yrcqr5nxmfv5gzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtumzfjlr" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsr8s2tprgztx48d3rpurzxl5gy0zlzjw2nq6jk9cep9gwje40fuygkchjgk&#39;&gt;nevent1q…hjgk&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-05-10&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi Christian,&lt;br/&gt;&lt;br/&gt;Thanks for your comments! We will discuss this further in the upcoming call&lt;br/&gt;on the 15th, would be great to see you there!&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; this is an intrinsic issue with reputation systems, and the main&lt;br/&gt;&amp;gt; reason I&amp;#39;m sceptical w.r.t. their usefulness in lightning.&lt;br/&gt;&amp;gt; Fundamentally any reputation system bases their expectations for the&lt;br/&gt;&amp;gt; future on experiences they made in the past, and they are thus always&lt;br/&gt;&amp;gt; susceptible to sudden behavioral changes (going rogue from a prior&lt;br/&gt;&amp;gt; clean record) and whitewashing attacks (switching identity, abusing&lt;br/&gt;&amp;gt; any builtin bootstrapping method for new users to gain a good or&lt;br/&gt;&amp;gt; neutral reputation before turning rogue repeatedly).&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;In the Lightning Network, fees are a native way to put a price on having a&lt;br/&gt;good reputation (see details here [0]). In the design that we suggest, the&lt;br/&gt;reputation gained today cannot be used in the distant future, and funds&lt;br/&gt;need to be invested continuously to keep a good reputation. Good reputation&lt;br/&gt;is also a function of the general environment, and so if there is a fee&lt;br/&gt;spike, reputation will change. It is true that nodes can go rogue, but this&lt;br/&gt;is why we aim for the price of a good reputation to be similar to the&lt;br/&gt;amount of damage they can create.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; This gets compounded as soon as we start gossiping about reputations,&lt;br/&gt;&amp;gt; since now our decisions are no longer based just on information we can&lt;br/&gt;&amp;gt; witness ourselves, or at least verify its correctness, and as such an&lt;br/&gt;&amp;gt; attacker can most likely &amp;#34;earn&amp;#34; a positive reputation in some other&lt;br/&gt;&amp;gt; part of the world, and then turn around and attack the nodes that&lt;br/&gt;&amp;gt; trusted the reputation shared from those other parts.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;Notice that we are not gossiping about our peer&amp;#39;s reputation. The only&lt;br/&gt;thing that a node communicates to its neighbor is whether they see an HTLC&lt;br/&gt;as endorsed or just neutral, that is, should this HTLC be granted access to&lt;br/&gt;all of the resources or just the restricted part.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; I&amp;#39;d be very interested in how many repeat interactions nodes get from&lt;br/&gt;&amp;gt; individual senders, since that also tells us how much use we can get&lt;br/&gt;&amp;gt; out of local-only reputation based systems, and I wouldn&amp;#39;t be&lt;br/&gt;&amp;gt; surprised if, for large routing nodes, we have sufficient data for&lt;br/&gt;&amp;gt; them to make an informed decision, while the edges may be more&lt;br/&gt;&amp;gt; vulnerable, but they&amp;#39;d also be used by way fewer senders, and the&lt;br/&gt;&amp;gt; impact of an attack would also be proportionally smaller.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;This is something we hope to learn once we&amp;#39;ll start collecting data from&lt;br/&gt;our brave volunteers :)&lt;br/&gt;&lt;br/&gt;Cheers,&lt;br/&gt;Clara&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/20230510/e8f3be68/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230510/e8f3be68/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:08:49&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqs9lynxry55jgqar00y5jz9r6vdt4q5nye79m74awcuddaeng7yj3gzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtun3nd7u</id>
    
      <title type="html">📅 Original date posted:2023-05-08 📝 Original message: Hi, I ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqs9lynxry55jgqar00y5jz9r6vdt4q5nye79m74awcuddaeng7yj3gzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtun3nd7u" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs8gkunpa5hzfasq40y8p0vycjm5fpk99rgqcfewkrfz96jsmed88cjns3t0&#39;&gt;nevent1q…s3t0&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-05-08&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi,&lt;br/&gt;&lt;br/&gt;I think the HTLC endorsement scheme as proposed is still suffering from a&lt;br/&gt;&amp;gt; vulnerability as local reputation can be built up during periods of low&lt;br/&gt;&amp;gt; routing fees, endorsement gained and then abused during periods of high&lt;br/&gt;&amp;gt; routing fees. Therefore, it sounds to me this scheme should aim for some&lt;br/&gt;&amp;gt; reputational transitivity between incoming traffic and outgoing traffic.&lt;br/&gt;&amp;gt; Namely, the acquisition cost of the local reputation should be equal to the&lt;br/&gt;&amp;gt; max timevalue damage that one can inflict on a routing node channel&lt;br/&gt;&amp;gt; accessible from its local counterparty granting this high-level of&lt;br/&gt;&amp;gt; reputation.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;This is the reason we have a moving window for the calculation.&lt;br/&gt;Note that if there is a channel between Alice and Bob, then the reputation&lt;br/&gt;of Alice from Bob&amp;#39;s point of view is a function of Bob&amp;#39;s total revenue in&lt;br/&gt;the latest time period. If Bob experiences a spike in routing fees, nodes&lt;br/&gt;might lose their reputation, but it would not work the other way around.&lt;br/&gt;That is, one cannot gain reputation during low fee times and use it when&lt;br/&gt;fees are high.&lt;br/&gt;&lt;br/&gt;See further details in this email [0]&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Clara&lt;br/&gt;&lt;br/&gt;[0]&lt;br/&gt;&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2023-February/003857.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2023-February/003857.html&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/20230508/abc0a16c/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230508/abc0a16c/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:08:48&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsx00fyqvg48xnj0xnee6zk3kudgaujlv8gznn7kugxnpsmkd7tgcqzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtu9aahrc</id>
    
      <title type="html">📅 Original date posted:2023-03-06 📝 Original message: Hi, ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsx00fyqvg48xnj0xnee6zk3kudgaujlv8gznn7kugxnpsmkd7tgcqzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtu9aahrc" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqszy45m0nwkuy0uf3rhy3p3n7v674m9kpd74pgldwejjkgjxrzqfzqt2np25&#39;&gt;nevent1q…np25&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-03-06&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi,&lt;br/&gt;&lt;br/&gt;This is unclear on which criterias the endorsement decision is made&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;A node endorses an HTLC if and only if it came from a neighbour that has&lt;br/&gt;reputation 1 that endorsed it.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; Additionally, this is unclear how the available liquidity/slots on a given&lt;br/&gt;&amp;gt; outbound channel are initially distributed between all the inbound channels&lt;br/&gt;&amp;gt; (e.g proportional to the capacity) and how they&amp;#39;re balanced once the&lt;br/&gt;&amp;gt; inbound channels start to accumulate reputation.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;The quotas are for any incoming HTLC that is either from a neighbour with&lt;br/&gt;reputation 0, or is not endorsed. For each channel, the quotas&lt;br/&gt;are independent of other channels and independent of the neighbour that&lt;br/&gt;forwarded the HTLC.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; I don&amp;#39;t know if this local reputation scheme precises how reputation is&lt;br/&gt;&amp;gt; slashed in case of HTLC failure, and if any &amp;#34;grace&amp;#34; amount/rate is granted&lt;br/&gt;&amp;gt; to the inbound channel counterparty, e.g Alice.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Independently of those considerations, I think this local reputation&lt;br/&gt;&amp;gt; scheme might suffer from exploitable reputation asymmetries by a jamming&lt;br/&gt;&amp;gt; adversary.&lt;br/&gt;&amp;gt; Let&amp;#39;s say you have the topology:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Alice - Bob - Caroll - Dave&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Alice accumulated a reputation of 1 towards Bob and same for Bob towards&lt;br/&gt;&amp;gt; Caroll. As `fee_base_msat` Bob picked up 1000 msat and Caroll picked up&lt;br/&gt;&amp;gt; 2000 msat. If Alice forwards a HTLC to Bob and it is endorsed by him&lt;br/&gt;&amp;gt; before relay to Caroll, Alice can now inflict a 50 sat damage to Caroll,&lt;br/&gt;&amp;gt; while only encumbering the lower-priced reputational cost towards Bob.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; This concern could hold in case of asymmetries arising from the dynamic&lt;br/&gt;&amp;gt; adjustment of routing fees during an evaluated period of time. E.g both Bob&lt;br/&gt;&amp;gt; and Caroll requires routing fees of 1000 msat. Alice builds up a reputation&lt;br/&gt;&amp;gt; of 1 towards Bob during this period N. At period N&#43;1, Caroll bumps her&lt;br/&gt;&amp;gt; routing fees to 2000 msat. From now on, Alice can exploit this asymmetry.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;In general, if Bob is a low flow node (resulting in it having a low&lt;br/&gt;threshold for reputation), he cannot have a high reputation with Carroll as&lt;br/&gt;he will never forward enough. Taking into account the differences in fees&lt;br/&gt;is interesting, but should be checked further.&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/20230306/88a444fc/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230306/88a444fc/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:08:19&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsp85m4j7ynhaqvje3akq56wuz6r4602d5n2zdrgp7u34nakalw7qgzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtussnd0f</id>
    
      <title type="html">📅 Original date posted:2023-03-06 📝 Original message: Hi ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsp85m4j7ynhaqvje3akq56wuz6r4602d5n2zdrgp7u34nakalw7qgzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtussnd0f" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsdg5rk7p7vsml6u3w4en0ymelgh6tw00shhl4w75y0dz2wadn6x5qfx0pgy&#39;&gt;nevent1q…0pgy&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-03-06&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi List,&lt;br/&gt;&lt;br/&gt;A reminder that we&amp;#39;ve got another jamming call coming up today at 19:00 UTC.&lt;br/&gt;&lt;br/&gt;Monday 06 Mar&lt;br/&gt;19:00 UTC&lt;br/&gt;&lt;a href=&#34;https://meet.jit.si/UnjammingLN&#34;&gt;https://meet.jit.si/UnjammingLN&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Feel free to add additional agenda items here:&lt;br/&gt;&lt;a href=&#34;https://github.com/ClaraShk/LNJamming/issues/&#34;&gt;https://github.com/ClaraShk/LNJamming/issues/&lt;/a&gt;&lt;br/&gt;&amp;lt;&lt;a href=&#34;https://github.com/ClaraShk/LNJamming/issues/5&amp;gt;5&#34;&gt;https://github.com/ClaraShk/LNJamming/issues/5&amp;gt;5&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;See you soon!&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/20230306/12138099/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230306/12138099/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:08:19&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqs95ykjlc6hc8ffls8939umjac7mcm3a43ka4qt93mccacqdutf6pgzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtus8dh65</id>
    
      <title type="html">📅 Original date posted:2023-03-03 📝 Original message: &amp;gt; ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqs95ykjlc6hc8ffls8939umjac7mcm3a43ka4qt93mccacqdutf6pgzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtus8dh65" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsxxvexhl8xyrjhaesp7yu65nalj27yan29hdzqcns0ues0ppnwvlgt8tgtg&#39;&gt;nevent1q…tgtg&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-03-03&lt;br/&gt;📝 Original message:&lt;br/&gt;&amp;gt; With a binary solution a single attacker can easily fill your quota of&lt;br/&gt;&amp;gt; low-confidence HTLCs and then all low-reputation nodes are blocked. But not&lt;br/&gt;&amp;gt; all of them are attackers, some of them just don&amp;#39;t send you enough traffic&lt;br/&gt;&amp;gt; to get a high reputation for instance and you&amp;#39;re going to block them too.&lt;br/&gt;&amp;gt; With a continuous solution you can differentiate between an active attacker&lt;br/&gt;&amp;gt; and someone who just sends to nodes with poor connectivity and only block&lt;br/&gt;&amp;gt; the first.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;If it&amp;#39;s very cheap to behave like a neighbour with poor connectivity, why&lt;br/&gt;wouldn&amp;#39;t the attacker mimic this, and then block?&lt;br/&gt;Differentiating between a potential attacker and just a low-traffic&lt;br/&gt;neighbour is very difficult. I think that instead of &amp;#34;low/high reputation&amp;#34;&lt;br/&gt;a better way to think about it is &amp;#34;unknown/endorsed&amp;#34;, and just consider&lt;br/&gt;which neighbour needs access to all resources and which one doesn&amp;#39;t.&lt;br/&gt;&lt;br/&gt;The idea of different bins was brought up a few times and might help a bit,&lt;br/&gt;but I am not sure at all that it is worth the complication.&lt;br/&gt;&lt;br/&gt;For reporting c truthfully, if you report it too high you will be penalized&lt;br/&gt;&amp;gt; by having your reputation lowered, if you report it too low you will&lt;br/&gt;&amp;gt; penalize your HTLCs and still get the same reputation as if you had&lt;br/&gt;&amp;gt; reported it truthfully.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;It might be that there is a strong motivation to underestimate than&lt;br/&gt;overestimate. That is – the punishment for underestimating by X is&lt;br/&gt;significantly smaller than for overestimating by X (or vice versa). The&lt;br/&gt;formula you choose can affect this significantly.&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/20230303/4c8fa6ae/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230303/4c8fa6ae/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:08:18&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsdhwdhcgwr5y78skvxgdt3s2hh5vlyqd2p9hdz8nxw5dkj5kys8hczyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtudfeqph</id>
    
      <title type="html">📅 Original date posted:2023-03-03 📝 Original message: Hi ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsdhwdhcgwr5y78skvxgdt3s2hh5vlyqd2p9hdz8nxw5dkj5kys8hczyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtudfeqph" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsd3ca7tm78c0ejlutf2lv06tr3h0f78f2gsa5eactqvkd6nxuvzpc4smvyl&#39;&gt;nevent1q…mvyl&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-03-03&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi Thomas,&lt;br/&gt;&lt;br/&gt;Thanks for the example.&lt;br/&gt;&lt;br/&gt;- If c &amp;lt; p then yes it gives it a higher reputation but the reputation is&lt;br/&gt;&amp;gt; capped at 1 anyway, so by underestimating the confidence the node doesn&amp;#39;t&lt;br/&gt;&amp;gt; gain anything.&lt;br/&gt;&amp;gt;&lt;br/&gt;Is there anything to gain from giving high confidence? By doing this, you&lt;br/&gt;risk lowering your reputation, and it&amp;#39;s not clear what you gain.&lt;br/&gt;Could it be that the best selfish strategy is to report confidence 0 (that&lt;br/&gt;maps to reputation 1) all the time?&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/20230303/ca1a5168/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230303/ca1a5168/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:08:17&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsqx2dcfqmv5aqxyhpkqx2ywfzwaar3z9det0fv9vlawwqf5z2sf7czyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtufmgshz</id>
    
      <title type="html">📅 Original date posted:2023-03-03 📝 Original message: Could ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsqx2dcfqmv5aqxyhpkqx2ywfzwaar3z9det0fv9vlawwqf5z2sf7czyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtufmgshz" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs96c4k8a82mekcy2auuncsljlfq4ez8aew4s6yjw0kjd3lhely9ucqy0k6p&#39;&gt;nevent1q…0k6p&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-03-03&lt;br/&gt;📝 Original message:&lt;br/&gt;Could you explain the benefits of continuous solutions over binary? This is&lt;br/&gt;something we should definitely understand before going in a more&lt;br/&gt;complicated direction.&lt;br/&gt;&lt;br/&gt;Also, I&amp;#39;m still not sure that the rational behaviour is to report *c*&lt;br/&gt;truthfully.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;On Fri, Mar 3, 2023 at 11:51 AM Thomas HUET &amp;lt;thomas.huet at acinq.fr&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; By giving a high confidence to HTLCs you increase the chance that they are&lt;br/&gt;&amp;gt; relayed which should be your goal. Having a high reputation is not a goal&lt;br/&gt;&amp;gt; in itself, it&amp;#39;s just a way to make your HTLCs more likely to be relayed. If&lt;br/&gt;&amp;gt; you always report confidence 0, then yes you will have a reputation of 1&lt;br/&gt;&amp;gt; but your HTLCs will still be rejected at the first sign of congestion.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Le ven. 3 mars 2023 à 17:14, Clara Shikhelman &amp;lt;clara.shikhelman at gmail.com&amp;gt;&lt;br/&gt;&amp;gt; a écrit :&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Hi Thomas,&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Thanks for the example.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; - If c &amp;lt; p then yes it gives it a higher reputation but the reputation is&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; capped at 1 anyway, so by underestimating the confidence the node doesn&amp;#39;t&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; gain anything.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Is there anything to gain from giving high confidence? By doing this, you&lt;br/&gt;&amp;gt;&amp;gt; risk lowering your reputation, and it&amp;#39;s not clear what you gain.&lt;br/&gt;&amp;gt;&amp;gt; Could it be that the best selfish strategy is to report confidence 0&lt;br/&gt;&amp;gt;&amp;gt; (that maps to reputation 1) all the time?&lt;br/&gt;&amp;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/20230303/e91b930a/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230303/e91b930a/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:08:17&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsr589qdy5lgggaq7ejv80af6qtp5snlle0h6k3zt47602x7wla5zszyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtuwhz0tw</id>
    
      <title type="html">📅 Original date posted:2023-03-02 📝 Original message: Hi ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsr589qdy5lgggaq7ejv80af6qtp5snlle0h6k3zt47602x7wla5zszyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtuwhz0tw" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsr3rq5hhl6klvpl6p7csmx6lp6jllg2uulxgrvxt9wfsalpwnxddszgqe76&#39;&gt;nevent1q…qe76&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-03-02&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi Thomas,&lt;br/&gt;&lt;br/&gt;I really like the idea of taking into consideration the failures. In our&lt;br/&gt;proposal, a failure won&amp;#39;t benefit your reputation, as the neighbour is&lt;br/&gt;trying to reach a fee threshold, but taking it into account instead of&lt;br/&gt;ignoring it could be helpful against an adversary trying to manipulate&lt;br/&gt;parameters.&lt;br/&gt;&lt;br/&gt;Could you elaborate a bit about &amp;#34;*c, the confidence given by the previous&lt;br/&gt;node.*&amp;#34; It looks from the formula (that has *1/c* component) that the lower&lt;br/&gt;the confidence, the higher the reputation, and I am not sure that this is&lt;br/&gt;the goal. Some numerical examples could help clarify the dynamics you are&lt;br/&gt;aiming for.&lt;br/&gt;&lt;br/&gt;Do you have some estimation of what kind of protection or compensation this&lt;br/&gt;method offers?&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Clara&lt;br/&gt;&lt;br/&gt;On Thu, Mar 2, 2023 at 8:14 AM Thomas HUET &amp;lt;thomas.huet 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; I think the local reputation is more important than upfront fees and&lt;br/&gt;&amp;gt; should be worked on first because 1) the most likely attack against the&lt;br/&gt;&amp;gt; network today is the slow jamming attack against which upfront fees are not&lt;br/&gt;&amp;gt; very effective (an attacker would only consider fast jamming if the network&lt;br/&gt;&amp;gt; is already resilient to slow jamming) and 2) I think that local reputation&lt;br/&gt;&amp;gt; may protect well enough against all types of jamming so that we don&amp;#39;t even&lt;br/&gt;&amp;gt; need upfront fees to protect against fast jamming.&lt;br/&gt;&amp;gt; Regarding the formula itself, I would treat all scores as continuous&lt;br/&gt;&amp;gt; values between 0 and 1 instead of binary classes. My proposed formula is&lt;br/&gt;&amp;gt; detailed here:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://docs.google.com/document/d/1hEt1EzyPFJ3gOY7PAvtm_XotTnlQO2r7LSF8Jx34qgc/edit?usp=sharing&#34;&gt;https://docs.google.com/document/d/1hEt1EzyPFJ3gOY7PAvtm_XotTnlQO2r7LSF8Jx34qgc/edit?usp=sharing&lt;/a&gt;&lt;br/&gt;&amp;gt; However my proposal is compatible with Clara&amp;#39;s one in that the only thing&lt;br/&gt;&amp;gt; that needs to be communicated to the peers is how confident we are that the&lt;br/&gt;&amp;gt; payment will succeed and all the rest is done locally and everyone can use&lt;br/&gt;&amp;gt; their own formula. I would just prefer this confidence value to be more&lt;br/&gt;&amp;gt; than one bit but my formula would work with anything, even zero bits. The&lt;br/&gt;&amp;gt; advantage of using more bits is that we can be more precise in which HTLCs&lt;br/&gt;&amp;gt; we reject and reduce the number of innocent casualties.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Thomas&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Le jeu. 16 févr. 2023 à 22:29, Clara Shikhelman &amp;lt;&lt;br/&gt;&amp;gt; clara.shikhelman at gmail.com&amp;gt; a écrit :&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Hi List,&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; We’re writing to seek early feedback on a draft for a neighbour&lt;br/&gt;&amp;gt;&amp;gt; reputation setting recommendation as a jamming mitigation. The main idea is&lt;br/&gt;&amp;gt;&amp;gt; that allowing full access to liquidity and slots in a channel can result in&lt;br/&gt;&amp;gt;&amp;gt; jamming. To prevent this, we allow full access only to neighbours that&lt;br/&gt;&amp;gt;&amp;gt; forward HTLC that resolve quickly and generate more profit than the damage&lt;br/&gt;&amp;gt;&amp;gt; they can potentially create.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; The full suggested jamming mitigation solution includes upfront fees&lt;br/&gt;&amp;gt;&amp;gt; together with reputation, see [1] for details.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; In the previous episodes:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; As presented here [1], we suggest a two part jamming mitigation strategy.&lt;br/&gt;&amp;gt;&amp;gt; Reputation-based forwarding is aimed to solve “slow jamming”, where the&lt;br/&gt;&amp;gt;&amp;gt; jamming transaction takes a long time to resolve.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; The main idea is that each node gives a binary reputation to its&lt;br/&gt;&amp;gt;&amp;gt; neighbour. Each channel has a quota of liquidity and slots (say 50% of the&lt;br/&gt;&amp;gt;&amp;gt; channel size and 50% of the slots in the channel) dedicated to transactions&lt;br/&gt;&amp;gt;&amp;gt; coming from neighbours with reputation 0, or for transactions coming from&lt;br/&gt;&amp;gt;&amp;gt; neighbours with reputation 1 that were not endorsed by the neighbour.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; For example, when Alice asks Bob to forward to Charlie then:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; If (Alice has reputation 1 with Bob) and (Alice endorses transaction):&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Forward and endorse&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Else:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; If (amount &amp;lt; available liquidity quota) and (available slots in quota&amp;gt;0):&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Forward HTLC without endorsing&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Reduce available liquidity and slots&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Else:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Reject&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Reputation:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; The question we discuss here is how does Alice gain “good” reputation&lt;br/&gt;&amp;gt;&amp;gt; (i.e., a score of 1). Alice starts at 0, and she gains and keeps her good&lt;br/&gt;&amp;gt;&amp;gt; reputation of 1 by continuously paying more fees to Bob than the damage she&lt;br/&gt;&amp;gt;&amp;gt; can inflict.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; The 3 main parameters for reputation that each node operator picks are S,L&lt;br/&gt;&amp;gt;&amp;gt; and M. Our recommendations are as follows:&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;    S should be chosen as the maximum time an HTLC can be unresolved in&lt;br/&gt;&amp;gt;&amp;gt;    any of Bob’s channels.&lt;br/&gt;&amp;gt;&amp;gt;    -&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;    M is the revenue generated by Bob’s node in the time S, representing&lt;br/&gt;&amp;gt;&amp;gt;    the damage Alice could inflict.&lt;br/&gt;&amp;gt;&amp;gt;    -&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;    L is the time in which Alice should generate M revenue for Bob for&lt;br/&gt;&amp;gt;&amp;gt;    her to have a good reputation of 1. We suggest L=10S.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Alice has reputation 1 if, in the last L seconds, she has forwarded&lt;br/&gt;&amp;gt;&amp;gt; payments that generated M satoshi in fees.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; As an example:&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;    Bob has a maximum CLTV delta of 2 weeks [2]&lt;br/&gt;&amp;gt;&amp;gt;    -&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;    Over the last 2 weeks, he has earned 0.5 BTC in routing fees&lt;br/&gt;&amp;gt;&amp;gt;    -&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;    Alice will be considered to have good reputation if she has forwarded&lt;br/&gt;&amp;gt;&amp;gt;    0.5 BTC of routing revenue to Bob over the last 20 weeks&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Formally:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Let t be the current time, and let S and L be constants.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; M is calculated to be the revenue of Bob in time [t-S,t]. The revenue of&lt;br/&gt;&amp;gt;&amp;gt; Bob is the sum of fees from transactions forwarded by any neighbour besides&lt;br/&gt;&amp;gt;&amp;gt; Alice &#43; any payments received by Bob. Note that Bob can choose to also take&lt;br/&gt;&amp;gt;&amp;gt; into account utility gained from sending payments or anything of value&lt;br/&gt;&amp;gt;&amp;gt; to the node operator.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Alice has reputation 1 if in the time [t-L,t] she has forwarded HTLCs&lt;br/&gt;&amp;gt;&amp;gt; that paid M in normalized fees.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; We normalize fees by resolution time to reward payments that resolve&lt;br/&gt;&amp;gt;&amp;gt; quickly and discount slow resolving payments. Here we assume 10 seconds is&lt;br/&gt;&amp;gt;&amp;gt; the “normal” resolution time, this number can be bikesheded, and we round&lt;br/&gt;&amp;gt;&amp;gt; up to avoid penalizing transactions resolved quicker than the “normal”.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; The fee from a single transaction is normalized by the time it took for&lt;br/&gt;&amp;gt;&amp;gt; the HTLC to resolve, counted in slots of 10 seconds. That is:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Normalized_fee = (fee)/[ceiling(time_to_resolve/10s)]&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; Some notes&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;    1.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;    The reputation management happens locally, that is, the only protocol&lt;br/&gt;&amp;gt;&amp;gt;    change needed is the ability to signal endorsement as a TLV in&lt;br/&gt;&amp;gt;&amp;gt;    UpdateAddHTLC. The various parameters can be selected for various&lt;br/&gt;&amp;gt;&amp;gt;    risk preferences.&lt;br/&gt;&amp;gt;&amp;gt;    2.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;    We currently suggest a binary reputation for simplicity. Having&lt;br/&gt;&amp;gt;&amp;gt;    several buckets could be interesting to study, yet we don’t think that the&lt;br/&gt;&amp;gt;&amp;gt;    complexity and the possible privacy issues are worth the potential benefits.&lt;br/&gt;&amp;gt;&amp;gt;    3.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;    For most use cases, having reputation 0 is more than enough. If we&lt;br/&gt;&amp;gt;&amp;gt;    send and receive transactions at a low rate, we usually don’t need the full&lt;br/&gt;&amp;gt;&amp;gt;    liquidity and slots available in a channel. Reputation mostly comes into&lt;br/&gt;&amp;gt;&amp;gt;    play only when a channel is under attack, and then not all transaction are&lt;br/&gt;&amp;gt;&amp;gt;    allowed to go through.&lt;br/&gt;&amp;gt;&amp;gt;    4.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;    Following this thread [3]: it is important to note that we are only&lt;br/&gt;&amp;gt;&amp;gt;    giving reputation to our direct neighbours. An advantage of this is that we&lt;br/&gt;&amp;gt;&amp;gt;    have repeated interactions with them. In practice, this is also the only&lt;br/&gt;&amp;gt;&amp;gt;    clean data we have to use when deciding whether to forward an HTLC or not.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Best,&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Carla and Clara&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; [1]&lt;br/&gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-November/003740.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-November/003740.html&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt; [2]&lt;br/&gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://github.com/lightningnetwork/lnd/blob/de94a4ea5e81799330a72dfde111817b38565d99/htlcswitch/link.go#L51&#34;&gt;https://github.com/lightningnetwork/lnd/blob/de94a4ea5e81799330a72dfde111817b38565d99/htlcswitch/link.go#L51&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt; [3]&lt;br/&gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2023-February/003842.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2023-February/003842.html&lt;/a&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;-------------- 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/20230302/a33c0a42/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230302/a33c0a42/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:08:15&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqs9an9l7pannmtdddapeux7hlsl8g3n4x6e704cjzqpjqyv6g2f78qzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtu4nhuwu</id>
    
      <title type="html">📅 Original date posted:2023-01-18 📝 Original message: Hi ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqs9an9l7pannmtdddapeux7hlsl8g3n4x6e704cjzqpjqyv6g2f78qzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtu4nhuwu" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsthw4h7ld75hshlc5n26ucgq048s7gr643p5jcwzsdsc9pqcy280gxe8qdc&#39;&gt;nevent1q…8qdc&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-01-18&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi All,&lt;br/&gt;&lt;br/&gt;Time to bring back the anti-jamming discussions!&lt;br/&gt;&lt;br/&gt;Our next call will be on January 23rd at 6 pm UTC (notice the time change)&lt;br/&gt;at the usual place: &lt;a href=&#34;https://meet.jit.si/UnjammingLN&#34;&gt;https://meet.jit.si/UnjammingLN&lt;/a&gt;.&lt;br/&gt;&lt;br/&gt;A draft of the agenda is available here:&lt;br/&gt;&lt;a href=&#34;https://github.com/ClaraShk/LNJamming/issues/1&#34;&gt;https://github.com/ClaraShk/LNJamming/issues/1&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Please feel free to add agenda items on the issue!&lt;br/&gt;&lt;br/&gt;See you soon,&lt;br/&gt;Clara&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/20230118/74b63c37/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230118/74b63c37/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:07:56&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsfvy6m8k48ddqmhfh9s28wftumknpn9wn24nagcwlseds8k7nzvfqzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtullraeq</id>
    
      <title type="html">📅 Original date posted:2022-12-09 📝 Original message: Hi ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsfvy6m8k48ddqmhfh9s28wftumknpn9wn24nagcwlseds8k7nzvfqzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtullraeq" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsyju4zfxq74sgprre5yjs2085t2sjr306737qw0y59jyemsy7r5agah3a5y&#39;&gt;nevent1q…3a5y&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-12-09&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi Antoine,&lt;br/&gt;&lt;br/&gt;Thanks for your input.&lt;br/&gt;&lt;br/&gt;The first item is there because we agreed to start where we left off at the&lt;br/&gt;end of the last meeting.&lt;br/&gt;&lt;br/&gt;About your comments on the other items – I think they are very interesting,&lt;br/&gt;but you should probably write them in the relevant thread. Let&amp;#39;s keep this&lt;br/&gt;for meeting housekeeping.&lt;br/&gt;&lt;br/&gt;I agree about a repository, will do this soon.&lt;br/&gt;&lt;br/&gt;As for the frequency, the next one will be in a month because of the&lt;br/&gt;holidays. I like the biweekly because things stay fresh. Of course, there&lt;br/&gt;is no need for everyone to attend, we&amp;#39;ll start publishing a summary for&lt;br/&gt;those who can&amp;#39;t.&lt;br/&gt;&lt;br/&gt;If you would like to write a transcript, it would be very useful and much&lt;br/&gt;appreciated.&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Clara&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;On Thu, Dec 8, 2022 at 10:31 PM Antoine Riard &amp;lt;antoine.riard at gmail.com&amp;gt;&lt;br/&gt;wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; Hi Clara,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Thanks for rolling the ball forward.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; On the agenda, a few more thoughts.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; 1. Which parameters should be considered in reputation-based solutions?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; I think before thinking about the parameters of reputation-based&lt;br/&gt;&amp;gt; solutions, we should discuss the security goal we&amp;#39;re aiming to achieve with&lt;br/&gt;&amp;gt; any potential jamming solutions. Browsing the solution space some have&lt;br/&gt;&amp;gt; aimed to increase the opportunity cost for the attacker (e.g liquidity&lt;br/&gt;&amp;gt; slots), some to reduce the jamming intensity (e.g circuit breakers), some&lt;br/&gt;&amp;gt; inflicting a on-chain fee damage cost back to the adversary (e.g stake&lt;br/&gt;&amp;gt; certificates), some to achieve economic hedge of the routing hops (e.g&lt;br/&gt;&amp;gt; unconditional&lt;br/&gt;&amp;gt; fees, reputation credentials). As of today, I would say a security goal&lt;br/&gt;&amp;gt; designed in the term of a monetary strategy could be more acceptable to the&lt;br/&gt;&amp;gt; routing hops node operators. Beyond that, I believe there is capturing this&lt;br/&gt;&amp;gt; design goal in a &amp;#34;measurable&amp;#34; notion, such as the unjamming lightning&lt;br/&gt;&amp;gt; paper&amp;#39;s breakeven point, and see how we can enrich this &amp;#34;measurable&amp;#34; notion.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; 2. Circuitbreaker [1]&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; While reviewing the circuitbreaker last week, I started to wonder if there&lt;br/&gt;&amp;gt; wasn&amp;#39;t another &amp;#34;hidden&amp;#34; issue while solving channel jamming, namely&lt;br/&gt;&amp;gt; congestion control of the HTLC flows. A node operator is not only&lt;br/&gt;&amp;gt; interested that any liquidity unit allocated for a HTLC forward is paid&lt;br/&gt;&amp;gt; back with routing fees, but also in case of more forward demand than&lt;br/&gt;&amp;gt; liquidity offer, ready to process it (potentially by deferring and sending&lt;br/&gt;&amp;gt; backpressure messages to the HTLC sender). I don&amp;#39;t know, though I think&lt;br/&gt;&amp;gt; that can be an interesting point to discuss.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; 3. Onion relay network [2] and its potential uses.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Onion relay network rate-limits have been discussed earlier this year,&lt;br/&gt;&amp;gt; with a probabilistic backpressure scheme proposed. If the onion relay&lt;br/&gt;&amp;gt; traffic starts to have economically-weighable traffic (offers, credentials&lt;br/&gt;&amp;gt; tokens, etc), there could be a risk of onion-jamming. For the bootstrap of&lt;br/&gt;&amp;gt; the onion relay network, I believe this could be solved by leveraging more&lt;br/&gt;&amp;gt; the channel-network topology for the design of a solution. We could re-use&lt;br/&gt;&amp;gt; the evaluation framework from the unjamming lightning paper, I guess.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; In the meeting, I think it could be very valuable if we have reliable&lt;br/&gt;&amp;gt; transcripts and if we start to maintain a community repository, where we&lt;br/&gt;&amp;gt; can pin the issues, problems and ideas.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; On the frequency of the meeting, note some Lightning developers raised the&lt;br/&gt;&amp;gt; concern that biweekly might be too much:&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://gnusha.org/lightning-dev/2022-11-23.log&#34;&gt;https://gnusha.org/lightning-dev/2022-11-23.log&lt;/a&gt; (once a month could work&lt;br/&gt;&amp;gt; well too, if  we have a sound agenda).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Best,&lt;br/&gt;&amp;gt; Antoine&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Le jeu. 8 déc. 2022 à 11:08, Clara Shikhelman &amp;lt;clara.shikhelman at gmail.com&amp;gt;&lt;br/&gt;&amp;gt; a écrit :&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Hi all,&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; The agenda for next week&amp;#39;s meeting (Monday the 12th, 7 pm UTC) is the&lt;br/&gt;&amp;gt;&amp;gt; following:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; 1. Which parameters should be considered in reputation-based solutions?&lt;br/&gt;&amp;gt;&amp;gt; 2. Circuitbreaker [1]&lt;br/&gt;&amp;gt;&amp;gt; 3. Onion relay network [2] and its potential uses.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; The link to the call:  &lt;a href=&#34;https://meet.jit.si/UnjammingLN&#34;&gt;https://meet.jit.si/UnjammingLN&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; See you there,&lt;br/&gt;&amp;gt;&amp;gt; Clara&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; [1]&lt;br/&gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-December/003781.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-December/003781.html&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt; [2]&lt;br/&gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-December/003780.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-December/003780.html&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; On Sun, Nov 27, 2022 at 9:48 PM Clara Shikhelman &amp;lt;&lt;br/&gt;&amp;gt;&amp;gt; clara.shikhelman at gmail.com&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Hi all,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; In light of recent conversations ([1],[2]), the agenda for the call&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; tomorrow (Monday the 28th, 7 pm UTC) is roughly the following:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; 1. Overview of solutions under discussion&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; 2. Reputation (local/tokens)&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; 3. Fees&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; This is the link to the call: &lt;a href=&#34;https://meet.jit.si/UnjammingLN&#34;&gt;https://meet.jit.si/UnjammingLN&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; See you there,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Clara&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; [1]&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-November/003740.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-November/003740.html&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; [2]&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-November/003754.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-November/003754.html&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;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;&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;-------------- 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/20221208/52e3595c/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20221208/52e3595c/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:07:41&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsgwy4gut4pz0lzpxgfvpymqslgjtc6gtq63zl4rt6u2mg3uyxkacczyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtupwzzv7</id>
    
      <title type="html">📅 Original date posted:2022-12-08 📝 Original message: Hi ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsgwy4gut4pz0lzpxgfvpymqslgjtc6gtq63zl4rt6u2mg3uyxkacczyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtupwzzv7" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsg45cx7rvzxhhan36jk6vld3tf0jyzkqs5wlz7zg6ttutmza7kmjcd4ryc7&#39;&gt;nevent1q…ryc7&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-12-08&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi all,&lt;br/&gt;&lt;br/&gt;The agenda for next week&amp;#39;s meeting (Monday the 12th, 7 pm UTC) is the&lt;br/&gt;following:&lt;br/&gt;&lt;br/&gt;1. Which parameters should be considered in reputation-based solutions?&lt;br/&gt;2. Circuitbreaker [1]&lt;br/&gt;3. Onion relay network [2] and its potential uses.&lt;br/&gt;&lt;br/&gt;The link to the call:  &lt;a href=&#34;https://meet.jit.si/UnjammingLN&#34;&gt;https://meet.jit.si/UnjammingLN&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;See you there,&lt;br/&gt;Clara&lt;br/&gt;&lt;br/&gt;[1]&lt;br/&gt;&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-December/003781.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-December/003781.html&lt;/a&gt;&lt;br/&gt;[2]&lt;br/&gt;&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-December/003780.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-December/003780.html&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;On Sun, Nov 27, 2022 at 9:48 PM Clara Shikhelman &amp;lt;clara.shikhelman at gmail.com&amp;gt;&lt;br/&gt;wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; Hi all,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; In light of recent conversations ([1],[2]), the agenda for the call&lt;br/&gt;&amp;gt; tomorrow (Monday the 28th, 7 pm UTC) is roughly the following:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; 1. Overview of solutions under discussion&lt;br/&gt;&amp;gt; 2. Reputation (local/tokens)&lt;br/&gt;&amp;gt; 3. Fees&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; This is the link to the call: &lt;a href=&#34;https://meet.jit.si/UnjammingLN&#34;&gt;https://meet.jit.si/UnjammingLN&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; See you there,&lt;br/&gt;&amp;gt; Clara&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; [1]&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-November/003740.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-November/003740.html&lt;/a&gt;&lt;br/&gt;&amp;gt; [2]&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-November/003754.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-November/003754.html&lt;/a&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/20221208/5fc41c64/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20221208/5fc41c64/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:07:40&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsphgjxfnsxf2ywzk9x0qmrme0ew66mplzxre0ntqyy36ftzswyzkczyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtu90pk6e</id>
    
      <title type="html">📅 Original date posted:2022-11-25 📝 Original message: Cool, ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsphgjxfnsxf2ywzk9x0qmrme0ew66mplzxre0ntqyy36ftzswyzkczyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtu90pk6e" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsycx52xd8jh2s2ceq9x4wuxcaaps65chqhwnpfdkcaggum4xfdhpsckkqtp&#39;&gt;nevent1q…kqtp&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-11-25&lt;br/&gt;📝 Original message:&lt;br/&gt;Cool, thanks for that.&lt;br/&gt;&lt;br/&gt;Have you done any work on the economic aspects of the new tokens and their&lt;br/&gt;secondary markets?&lt;br/&gt;&lt;br/&gt;On Thu, Nov 24, 2022, 21:22 Antoine Riard &amp;lt;antoine.riard at gmail.com&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; Hi Clara,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; The main benefit of this &amp;#34;staking&amp;#34;/reputational credentials is to save on&lt;br/&gt;&amp;gt; unconditional fees paid by HTLC senders. They benefit from their past HTLC&lt;br/&gt;&amp;gt; routing success in terms of more credentials allocated to them, and as such&lt;br/&gt;&amp;gt; minimize the overhead cost of their future HTLC sends, or allow them to&lt;br/&gt;&amp;gt; lock liquidity for longer periods. From a routing node viewpoint, a 0-risk&lt;br/&gt;&amp;gt; HTLC forwarding acceptance can be maintained by requesting strict binding&lt;br/&gt;&amp;gt; between credentials acquisition cost and channel liquidity routed. If&lt;br/&gt;&amp;gt; higher returns are seeked, the ratio credentials to liquidity can be&lt;br/&gt;&amp;gt; adjusted, of course coming with higher risks, and I think this is where the&lt;br/&gt;&amp;gt; model built for the current unconditional fees proposal could be useful (if&lt;br/&gt;&amp;gt; we integrate the channel congestion rate factor, I believe).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; On top of this monetary paradigm, we can layer a &amp;#34;pure reputation&amp;#34; system,&lt;br/&gt;&amp;gt; where in function of the quality of the identities (e.g&lt;br/&gt;&amp;gt; proof-of-utxo-ownership), HTLC senders are allocated more significant&lt;br/&gt;&amp;gt; liquidity slots. Here, the real bottleneck is the cryptosystem, i.e proving&lt;br/&gt;&amp;gt; a UTXO ownership without revealing any other information. The rationale of&lt;br/&gt;&amp;gt; this &amp;#34;pure reputation&amp;#34; system, we could even save more in&lt;br/&gt;&amp;gt; upfront/unconditional fees in the steady state of the network (however such&lt;br/&gt;&amp;gt; a probabilistic model breaks hard in presence of attackers).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Best,&lt;br/&gt;&amp;gt; Antoine&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Le jeu. 24 nov. 2022 à 09:45, Clara Shikhelman &amp;lt;clara.shikhelman at gmail.com&amp;gt;&lt;br/&gt;&amp;gt; a écrit :&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Hi Antoine,&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; It sounds like unconditional fees cover most of what this policy does,&lt;br/&gt;&amp;gt;&amp;gt; without the extra risks that come from creating a new token. Is there a&lt;br/&gt;&amp;gt;&amp;gt; clear benefit to using a token compared to unconditional fees and&lt;br/&gt;&amp;gt;&amp;gt; local reputation?&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Best,&lt;br/&gt;&amp;gt;&amp;gt; Clara&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; On Wed, Nov 23, 2022 at 9:48 PM Antoine Riard &amp;lt;antoine.riard at gmail.com&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Hi Clara,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; I think the simplest recommended policy you can devise is credential&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; shown to the routing hop should cover for full routing fees, therefore the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; routing hop benefits from a zero-jamming risk situation. Then you can&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; appreciate the &amp;#34;liquidity value&amp;#34; credentials requested in function of your&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; local channel congestion rate, or even network data. Increasing your&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; returns in exchange of higher risk exposure. And even more, you can lay on&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; top a reputation layer, where the reputation scores are fully fungible&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; against monetary credentials, in the acceptance of a HTLC forward request.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; So I think I agree with you a recommended policy is needed, let&amp;#39;s just&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; start with a simple one! And refine it with time once we sense we have&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; solid foundations.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Best,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Antoine&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Le mer. 23 nov. 2022 à 11:00, Clara Shikhelman &amp;lt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; clara.shikhelman at gmail.com&amp;gt; a écrit :&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi Antoine,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; To discuss your proposed solution in detail, I think that some kind of&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; recommended policy is needed. If presenting one is a low priority, and&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; waiting for other things, my main concern is that it will just never happen&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; (&amp;#34;any decade now&amp;#34; kind of situation).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Best,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Clara&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Tue, Nov 22, 2022 at 8:13 PM Antoine Riard &amp;lt;antoine.riard at gmail.com&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&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; Hi Clara,&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; Shared the mail on #lightning-dev Libera chat to get more feedback on&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; schedule.&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; Do you have a timeline in mind for presenting such a policy?&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; See the comments on the BOLT #1043  PR, for now I&amp;#39;m thinking more to&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; refine the proposed credentials architectural framework.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I think dynamic routing policy in function of channel congestion rate,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; and you combine that with reputation to do active risk-management are far&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; more advanced 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; Best,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Antoine&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; Le mar. 22 nov. 2022 à 15:54, Clara Shikhelman &amp;lt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; clara.shikhelman at gmail.com&amp;gt; a écrit :&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; Dear All,&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; If the call time (Monday the 28th at 7 pm UTC) doesn&amp;#39;t work out for&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; you, please reach out!&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; Thanks for your quick and detailed response, Antoine.&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; If by recommend policy, you mean the set of algorithms that should&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; guide the token quantity, rate issuance, token acquisition cost, and the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; adaptations in function of the local channel congestion, or even the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; gossips of the other routing nodes, not at all.&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;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Do you have a timeline in mind for presenting such a policy?&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; Looking forward to discussing this further over the phone call, will&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; make some inquiries to make sure the time works for most people.&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; Best,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Clara&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;&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/20221125/831d4b21/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20221125/831d4b21/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:07:25&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsvs82taltze8mcvlw5p0lt6gs7tf2dthsdcjegrpfzftkveg2gjeszyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtu66nell</id>
    
      <title type="html">📅 Original date posted:2022-11-23 📝 Original message: Hi ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsvs82taltze8mcvlw5p0lt6gs7tf2dthsdcjegrpfzftkveg2gjeszyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtu66nell" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs2pz92ajfg80zrvgwu02nnflxa0ez9tlmx65jty7kr3n7eud4gtjcmc3fc0&#39;&gt;nevent1q…3fc0&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-11-23&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi Antoine,&lt;br/&gt;&lt;br/&gt;To discuss your proposed solution in detail, I think that some kind of&lt;br/&gt;recommended policy is needed. If presenting one is a low priority, and&lt;br/&gt;waiting for other things, my main concern is that it will just never happen&lt;br/&gt;(&amp;#34;any decade now&amp;#34; kind of situation).&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Clara&lt;br/&gt;&lt;br/&gt;On Tue, Nov 22, 2022 at 8:13 PM Antoine Riard &amp;lt;antoine.riard at gmail.com&amp;gt;&lt;br/&gt;wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; Hi Clara,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Shared the mail on #lightning-dev Libera chat to get more feedback on&lt;br/&gt;&amp;gt; schedule.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; Do you have a timeline in mind for presenting such a policy?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; See the comments on the BOLT #1043  PR, for now I&amp;#39;m thinking more to&lt;br/&gt;&amp;gt; refine the proposed credentials architectural framework.&lt;br/&gt;&amp;gt; I think dynamic routing policy in function of channel congestion rate, and&lt;br/&gt;&amp;gt; you combine that with reputation to do active risk-management are far more&lt;br/&gt;&amp;gt; advanced questions.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Best,&lt;br/&gt;&amp;gt; Antoine&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Le mar. 22 nov. 2022 à 15:54, Clara Shikhelman &amp;lt;clara.shikhelman at gmail.com&amp;gt;&lt;br/&gt;&amp;gt; a écrit :&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Dear All,&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; If the call time (Monday the 28th at 7 pm UTC) doesn&amp;#39;t work out for you,&lt;br/&gt;&amp;gt;&amp;gt; please reach out!&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Thanks for your quick and detailed response, Antoine.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; If by recommend policy, you mean the set of algorithms that should guide&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; the token quantity, rate issuance, token acquisition cost, and the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; adaptations in function of the local channel congestion, or even the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; gossips of the other routing nodes, not at all.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Do you have a timeline in mind for presenting such a policy?&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Looking forward to discussing this further over the phone call, will make&lt;br/&gt;&amp;gt;&amp;gt; some inquiries to make sure the time works for most people.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Best,&lt;br/&gt;&amp;gt;&amp;gt; Clara&lt;br/&gt;&amp;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/20221123/ba980de5/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20221123/ba980de5/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:07:24&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsvw657d4dvl5xstthjfn7gha6n36hjcph4alzn8r5cdhyukkh2j5czyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtuww6p8d</id>
    
      <title type="html">📅 Original date posted:2022-11-24 📝 Original message: Hi ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsvw657d4dvl5xstthjfn7gha6n36hjcph4alzn8r5cdhyukkh2j5czyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtuww6p8d" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsf9j5hqjstfchgw95phnjd8q83hqarp5mrhx06sewue6rxu33xrpgnnum6t&#39;&gt;nevent1q…um6t&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-11-24&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi Antoine,&lt;br/&gt;&lt;br/&gt;It sounds like unconditional fees cover most of what this policy does,&lt;br/&gt;without the extra risks that come from creating a new token. Is there a&lt;br/&gt;clear benefit to using a token compared to unconditional fees and&lt;br/&gt;local reputation?&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Clara&lt;br/&gt;&lt;br/&gt;On Wed, Nov 23, 2022 at 9:48 PM Antoine Riard &amp;lt;antoine.riard at gmail.com&amp;gt;&lt;br/&gt;wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; Hi Clara,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; I think the simplest recommended policy you can devise is credential shown&lt;br/&gt;&amp;gt; to the routing hop should cover for full routing fees, therefore the&lt;br/&gt;&amp;gt; routing hop benefits from a zero-jamming risk situation. Then you can&lt;br/&gt;&amp;gt; appreciate the &amp;#34;liquidity value&amp;#34; credentials requested in function of your&lt;br/&gt;&amp;gt; local channel congestion rate, or even network data. Increasing your&lt;br/&gt;&amp;gt; returns in exchange of higher risk exposure. And even more, you can lay on&lt;br/&gt;&amp;gt; top a reputation layer, where the reputation scores are fully fungible&lt;br/&gt;&amp;gt; against monetary credentials, in the acceptance of a HTLC forward request.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; So I think I agree with you a recommended policy is needed, let&amp;#39;s just&lt;br/&gt;&amp;gt; start with a simple one! And refine it with time once we sense we have&lt;br/&gt;&amp;gt; solid foundations.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Best,&lt;br/&gt;&amp;gt; Antoine&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Le mer. 23 nov. 2022 à 11:00, Clara Shikhelman &amp;lt;clara.shikhelman at gmail.com&amp;gt;&lt;br/&gt;&amp;gt; a écrit :&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Hi Antoine,&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; To discuss your proposed solution in detail, I think that some kind of&lt;br/&gt;&amp;gt;&amp;gt; recommended policy is needed. If presenting one is a low priority, and&lt;br/&gt;&amp;gt;&amp;gt; waiting for other things, my main concern is that it will just never happen&lt;br/&gt;&amp;gt;&amp;gt; (&amp;#34;any decade now&amp;#34; kind of situation).&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Best,&lt;br/&gt;&amp;gt;&amp;gt; Clara&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; On Tue, Nov 22, 2022 at 8:13 PM Antoine Riard &amp;lt;antoine.riard at gmail.com&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Hi Clara,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Shared the mail on #lightning-dev Libera chat to get more feedback on&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; schedule.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; Do you have a timeline in mind for presenting such a policy?&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; See the comments on the BOLT #1043  PR, for now I&amp;#39;m thinking more to&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; refine the proposed credentials architectural framework.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; I think dynamic routing policy in function of channel congestion rate,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; and you combine that with reputation to do active risk-management are far&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; more advanced questions.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Best,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Antoine&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Le mar. 22 nov. 2022 à 15:54, Clara Shikhelman &amp;lt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; clara.shikhelman at gmail.com&amp;gt; a écrit :&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Dear All,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; If the call time (Monday the 28th at 7 pm UTC) doesn&amp;#39;t work out for&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; you, please reach out!&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thanks for your quick and detailed response, Antoine.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; If by recommend policy, you mean the set of algorithms that should&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; guide the token quantity, rate issuance, token acquisition cost, and the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; adaptations in function of the local channel congestion, or even the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; gossips of the other routing nodes, not at all.&lt;br/&gt;&amp;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; Do you have a timeline in mind for presenting such a policy?&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Looking forward to discussing this further over the phone call, will&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; make some inquiries to make sure the time works for most people.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Best,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Clara&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;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/20221124/ae8ebfc1/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20221124/ae8ebfc1/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:07:24&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsqw0v7ladg4fg3ml7hhvek6afsks3gtd2t7fndw73xq6kpgn3jjgszyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtul704lx</id>
    
      <title type="html">📅 Original date posted:2022-11-22 📝 Original message: Dear ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsqw0v7ladg4fg3ml7hhvek6afsks3gtd2t7fndw73xq6kpgn3jjgszyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtul704lx" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsq2e7yrjqe8z4xwu5qgpxs33m7njv5x8qfpnu2u7vwvmuthhqdurqvpqxsy&#39;&gt;nevent1q…qxsy&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-11-22&lt;br/&gt;📝 Original message:&lt;br/&gt;Dear All,&lt;br/&gt;&lt;br/&gt;If the call time (Monday the 28th at 7 pm UTC) doesn&amp;#39;t work out for you,&lt;br/&gt;please reach out!&lt;br/&gt;&lt;br/&gt;Thanks for your quick and detailed response, Antoine.&lt;br/&gt;&lt;br/&gt;If by recommend policy, you mean the set of algorithms that should guide&lt;br/&gt;&amp;gt; the token quantity, rate issuance, token acquisition cost, and the&lt;br/&gt;&amp;gt; adaptations in function of the local channel congestion, or even the&lt;br/&gt;&amp;gt; gossips of the other routing nodes, not at all.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;Do you have a timeline in mind for presenting such a policy?&lt;br/&gt;&lt;br/&gt;Looking forward to discussing this further over the phone call, will make&lt;br/&gt;some inquiries to make sure the time works for most people.&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Clara&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/20221122/8760f2a6/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20221122/8760f2a6/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:07:23&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsx066r4dnd3rymte0898qf49m804hxkdtw2y3uhu34pjwc3rrqyvczyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtux9qzug</id>
    
      <title type="html">📅 Original date posted:2022-11-21 📝 Original message: Dear ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsx066r4dnd3rymte0898qf49m804hxkdtw2y3uhu34pjwc3rrqyvczyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtux9qzug" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsqnwj6ha49s5us4tmksxerfsu9yvhpd64m5wtm3udfg2qgcgsattqwjtw5p&#39;&gt;nevent1q…tw5p&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-11-21&lt;br/&gt;📝 Original message:&lt;br/&gt;Dear Antoine and list,&lt;br/&gt;&lt;br/&gt;I think that another call to discuss jamming would be great. I would&lt;br/&gt;suggest making it a repeating call every 2 weeks, starting from Monday the&lt;br/&gt;28th at 7 pm UTC.&lt;br/&gt;&lt;br/&gt;Antoine - Thank you for your work!&lt;br/&gt;I have a few questions to better understand the details.&lt;br/&gt;&lt;br/&gt;1. Are the tokens transferable between users? For example, if Ned is a&lt;br/&gt;routing node, and Alice has some of their tokens, can she give these tokens&lt;br/&gt;to Bob?&lt;br/&gt;If yes - could this lead to the creation of a secondary market?&lt;br/&gt;If no - will that slow down the transaction flow that a new node can send?&lt;br/&gt;&lt;br/&gt;2. Do you have a recommended policy for the creation of tokens and their&lt;br/&gt;use? Ideally, there will be a policy that would mitigate both slow and&lt;br/&gt;quick jamming, without harming usability too much.&lt;br/&gt;&lt;br/&gt;3. You write &amp;#34;the reputation credentials to liquidity units translation can&lt;br/&gt;be severed&amp;#34; - does this mean that the value of the token changes? Is that&lt;br/&gt;in the spirit of changing the fees in a channel?&lt;br/&gt;If this is the case, can&amp;#39;t a routing node &amp;#34;trick&amp;#34; a user into buying many&lt;br/&gt;tokens and then bring the price up?&lt;br/&gt;&lt;br/&gt;4. How would these tokens work with blinded paths and other&lt;br/&gt;privacy-preserving suggestions?&lt;br/&gt;&lt;br/&gt;Thanks again,&lt;br/&gt;Clara&lt;br/&gt;&lt;br/&gt;On Sun, Nov 20, 2022 at 11:01 PM Antoine Riard &amp;lt;antoine.riard at gmail.com&amp;gt;&lt;br/&gt;wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; Hi LN Devs,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; tl;dr A formalization of a reputation-based scheme to solve channel&lt;br/&gt;&amp;gt; jamming is proposed. The system relies on &amp;#34;credentials&amp;#34; issued by routing&lt;br/&gt;&amp;gt; hops and requested to be attached to each HTLC forward request. The&lt;br/&gt;&amp;gt; &amp;#34;credentials&amp;#34; can be used by a reputation algorithm to reward/punish&lt;br/&gt;&amp;gt; payment senders and allocate channel liquidity resources efficiently. The&lt;br/&gt;&amp;gt; &amp;#34;credentials&amp;#34;  initial distribution can be bootstrapped leveraging one-time&lt;br/&gt;&amp;gt; upfront fees paid toward the routing hops. Afterwards, the &amp;#34;credentials&amp;#34;&lt;br/&gt;&amp;gt; subsequent distribution can rely on previous HTLC traffic.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; A protocol description can be found here, with few extensions already to&lt;br/&gt;&amp;gt; the BOLTs:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://github.com/lightning/bolts/pull/1043&#34;&gt;https://github.com/lightning/bolts/pull/1043&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; There is also a work-in-progress proof-of-concept in LDK (on top of our&lt;br/&gt;&amp;gt; coming soon^TM  HTLC intercepting API):&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://github.com/lightningdevkit/rust-lightning/pull/1848&#34;&gt;https://github.com/lightningdevkit/rust-lightning/pull/1848&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; This work builds on previous reputation-scheme research [0] [1]. It also&lt;br/&gt;&amp;gt; integrates the more recent proposals of upfront fees as a straightforward&lt;br/&gt;&amp;gt; mechanism to bootstrap the reputation system. Bootstrapping the system with&lt;br/&gt;&amp;gt; more economically cost-effective privacy-preserving UTXO ownership proofs&lt;br/&gt;&amp;gt; not only add another layer of engineering complexity, there is still a&lt;br/&gt;&amp;gt; proof size vs proof generation/validation trade-off to arbiter between ZKP&lt;br/&gt;&amp;gt; cryptosystems.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Rather to seek for a game-theory equilibrium defined as a breakeven point&lt;br/&gt;&amp;gt; as in the latest unconditional fee research [2], this proposal aims to use&lt;br/&gt;&amp;gt; reputation credentials to allow HTLC traffic-shaping. This not only should&lt;br/&gt;&amp;gt; protect against jamming situations (either malicious&lt;br/&gt;&amp;gt; or spontaneous) but also allow active HTLC traffic-shaping, where a&lt;br/&gt;&amp;gt; routing hop can allow extended channel liquidity lockups based on&lt;br/&gt;&amp;gt; accumulated reputation (e.g for hold-invoices). This is also a reduced&lt;br/&gt;&amp;gt; overhead cost, as upfront fees are only paid at bootstrap, or when the HTLC&lt;br/&gt;&amp;gt; forward behavior can be qualified as &amp;#34;whitewashing&amp;#34; from the routing hop&lt;br/&gt;&amp;gt; viewpoint.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; It should be noted, this current reputation-credential architectural&lt;br/&gt;&amp;gt; framework assumes credentials distribution at the endpoint of the network.&lt;br/&gt;&amp;gt; However, the framework should be flexible enough for the credentials to be&lt;br/&gt;&amp;gt; harvested by the LSPs, and then distributed in a secondary fashion to their&lt;br/&gt;&amp;gt; spokes, when they need it, or even attached transparently thanks to&lt;br/&gt;&amp;gt; trampoline. So one design intuition, there is no strong attachment of the&lt;br/&gt;&amp;gt; reputation to the endpoint HTLC sender, even if the protocol is described&lt;br/&gt;&amp;gt; in a &amp;#34;flat&amp;#34; view for now.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Let&amp;#39;s evaluate quickly this mitigation proposal against a few criterias&lt;br/&gt;&amp;gt; emerged from recent research.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; The mitigation is effective, in the sense a routing hop can apply a&lt;br/&gt;&amp;gt; proportional relationship between the acquisition of the reputation and the&lt;br/&gt;&amp;gt; amount of liquidity resources credited in function of said reputation. In a&lt;br/&gt;&amp;gt; period of steady state, the reputation acquisition cost can be downgraded&lt;br/&gt;&amp;gt; to 0. In periods of channel congestion, the reputation credentials to&lt;br/&gt;&amp;gt; liquidity units translation can be severed, in the limit of routing hop&lt;br/&gt;&amp;gt; acceptable competitiveness.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; The mitigation is incentive-compatible, if the credentials are not honored&lt;br/&gt;&amp;gt; by their issuers, the HTLC senders can evict them from the routing network&lt;br/&gt;&amp;gt; view for a while. The successful usage of credentials can lead to more&lt;br/&gt;&amp;gt; credentials allocated for longer and more capacity-intensive channel&lt;br/&gt;&amp;gt; lockups. In case of HTLC failure, the failure source could be forgiven by&lt;br/&gt;&amp;gt; routing hops to maintain the worthiness of the sender credentials.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; The mitigation can be made transparent from the user, as the credentials&lt;br/&gt;&amp;gt; harvesting can be done automatically from a pre-allocated budget, similar&lt;br/&gt;&amp;gt; to the fee-bumping reserves requirement introduced by anchor output. At the&lt;br/&gt;&amp;gt; end of today, if we take modern browsers as an example, the average user&lt;br/&gt;&amp;gt; doesn&amp;#39;t check manually the TLS certificates (for what they&amp;#39;re worth...).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; The mitigation can conserve high-level privacy, as the usage of blinded&lt;br/&gt;&amp;gt; signature (or another equivalent cryptosystem breaking signature/message&lt;br/&gt;&amp;gt; linking) should allow the credentials issued during a preliminary phase to&lt;br/&gt;&amp;gt; be undistinguishable during the redeem/usage phase. New CPU/memory DoS&lt;br/&gt;&amp;gt; vectors due to the credentials processing should be watched out.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; About the ease of implementation, there are few protocol messages to&lt;br/&gt;&amp;gt; modify, a HTLC intercepting API is assumed as supported by the&lt;br/&gt;&amp;gt; implementation, onion messages support is also implied, landing EC blinded&lt;br/&gt;&amp;gt; signature in libsecp256k1-zkp shouldn&amp;#39;t be a big deal, routing algorithms&lt;br/&gt;&amp;gt; adaptations might be more serious but still reasonable. The&lt;br/&gt;&amp;gt; &amp;#34;credentials-to-liquidity&amp;#34; allocation algorithms are likely the new real&lt;br/&gt;&amp;gt; beast, though I don&amp;#39;t think any reputation scheme can spare them.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; There could be a concern about the centralization inertia introduced by a&lt;br/&gt;&amp;gt; reputation system.  Intuitively, the argument can be made that any&lt;br/&gt;&amp;gt; historical tracking (such as routing buckets) favor established LN&lt;br/&gt;&amp;gt; incumbents at the gain of efficiency. A counter-argument can be made, a new&lt;br/&gt;&amp;gt; routing hop can lower the acquisition cost of its issued credentials to&lt;br/&gt;&amp;gt; attract more HTLC traffic (accepting higher jamming risk).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; On the ecosystem impacts, it should be studied that this proposal would&lt;br/&gt;&amp;gt; impact things like inbound channel routing fees [3], ratecard [4] or&lt;br/&gt;&amp;gt; flow-control valve [5] and the whole liquidity toolchain. Hopefully, we&lt;br/&gt;&amp;gt; don&amp;#39;t significantly restrain the design space for future LN protocol&lt;br/&gt;&amp;gt; upgrades.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; On the proposal modularity and flexibility, each routing node has&lt;br/&gt;&amp;gt; oversight on its routing policy, acquisition methods, credentials to&lt;br/&gt;&amp;gt; liquidity rate. New acquisition methods can be experimented or deployed&lt;br/&gt;&amp;gt; when ready, e.g stakes certificates with only e2e upgrade. The credentials&lt;br/&gt;&amp;gt; themselves could have &amp;#34;innate&amp;#34; expiration time if we use things like&lt;br/&gt;&amp;gt; short-lived ZKP [6]. The credentials framework can be extended beyond&lt;br/&gt;&amp;gt; solving jamming, as a generalized risk-management framework for Bitcoin&lt;br/&gt;&amp;gt; decentralized financial network, e.g transaction signature exchange&lt;br/&gt;&amp;gt; ordering in multi-party transactions [7] or finding reliable Coinjoin&lt;br/&gt;&amp;gt; counterparties.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Feedback welcome.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Cheers,&lt;br/&gt;&amp;gt; Antoine&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; [0]&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2020-November/002884.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2020-November/002884.html&lt;/a&gt;&lt;br/&gt;&amp;gt; [1]&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-August/003673.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-August/003673.html&lt;/a&gt;&lt;br/&gt;&amp;gt; [2]&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-November/003740.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-November/003740.html&lt;/a&gt;&lt;br/&gt;&amp;gt; [3]&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-July/003643.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-July/003643.html&lt;/a&gt;&lt;br/&gt;&amp;gt; [4]&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-September/003685.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-September/003685.html&lt;/a&gt;&lt;br/&gt;&amp;gt; [5]&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-September/003686.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-September/003686.html&lt;/a&gt;&lt;br/&gt;&amp;gt; [6] &lt;a href=&#34;https://eprint.iacr.org/2022/190.pdf&#34;&gt;https://eprint.iacr.org/2022/190.pdf&lt;/a&gt;&lt;br/&gt;&amp;gt; [7] &lt;a href=&#34;https://github.com/lightning/bolts/pull/851#issuecomment-1290727242&#34;&gt;https://github.com/lightning/bolts/pull/851#issuecomment-1290727242&lt;/a&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/20221121/ae6ba7de/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20221121/ae6ba7de/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:07:22&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsfkjpdrfgejkl3wtccsvxlxvw3e73qd75nydz8crwf7l0gf42dsjqzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtu68gfsf</id>
    
      <title type="html">📅 Original date posted:2022-11-07 📝 Original message: Hi ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsfkjpdrfgejkl3wtccsvxlxvw3e73qd75nydz8crwf7l0gf42dsjqzyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtu68gfsf" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqszzsmw5sppqavkfhcem6zte57hvehs5805vcn23cqc8znca3kgs8cm78s2f&#39;&gt;nevent1q…8s2f&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-11-07&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi Antoine,&lt;br/&gt;&lt;br/&gt;Thank you for the detailed response!&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; On the framework for mitigation evaluation, there are few other dimensions&lt;br/&gt;&amp;gt; we have considered in the past with Gleb for our research that could be&lt;br/&gt;&amp;gt; relevant to integrate. One is &amp;#34;centralization&amp;#34;, the solution shouldn&amp;#39;t&lt;br/&gt;&amp;gt; centralize sensibly the LN ecosystem around any of its actors: LSP,&lt;br/&gt;&amp;gt; Lightning Wallet Providers (e.g watchtower or Greenlight-style infra) or&lt;br/&gt;&amp;gt; routing node, where centralization could be defined in terms of &amp;#34;market&lt;br/&gt;&amp;gt; entry cost&amp;#34; for new incumbents. &amp;#34;Protocol evolvability&amp;#34; could be another&lt;br/&gt;&amp;gt; one, as we don&amp;#39;t want a solution rendering the design and operations of&lt;br/&gt;&amp;gt; things like offline-receive, trampoline, negative fees, etc harder.&lt;br/&gt;&amp;gt; &amp;#34;Ecosystem impacts&amp;#34; was one more category we thought about, e.g introducing&lt;br/&gt;&amp;gt; a mass mempool congestion vector (one of the versions of Stakes&lt;br/&gt;&amp;gt; Certificates did it...).&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;These are indeed important dimensions. I think that our solution gets “good&lt;br/&gt;marks” in all of them, but this should definitely be stated explicitly in&lt;br/&gt;the future.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; For the dimensions of your evaluation framework, the &amp;#34;effectiveness&amp;#34;&lt;br/&gt;&amp;gt; sounds to be understood as attacker-centric. However few times after in the&lt;br/&gt;&amp;gt; paper, the viewpoint of the routing nodes sounds to be adopted&lt;br/&gt;&amp;gt; (&amp;#34;compensating them for the financial damage of jamming&amp;#34;, &amp;#34;breakeven point&lt;br/&gt;&amp;gt; n&amp;#34;). If this distinction is real, the first way would be more searching for&lt;br/&gt;&amp;gt; a game-theory equilibrium whereas much damage is inflicted to the attacker.&lt;br/&gt;&amp;gt; The second one would be more to ensure a compensation for the loss income&lt;br/&gt;&amp;gt; for the routing nodes. I believe the first approach is limited as the&lt;br/&gt;&amp;gt; attacker&amp;#39;s resources could overwhelm the victim&amp;#39;s economic sustainability,&lt;br/&gt;&amp;gt; and rationality might be uneconomic. Maybe those two approaches could be&lt;br/&gt;&amp;gt; combined, in the sense that loss income compensation should only be borne&lt;br/&gt;&amp;gt; by &amp;#34;identified&amp;#34; attackers, however this doesn&amp;#39;t sound the direction taken&lt;br/&gt;&amp;gt; by unconditional fees.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;The effectiveness evaluation does have a few facets. From the attacker&amp;#39;s&lt;br/&gt;viewpoint, it might be that mitigation makes the attack impossible,&lt;br/&gt;difficult, or expensive. From the victim&amp;#39;s point of view, we can talk about&lt;br/&gt;protection, compensation, or any combination of the two. Of course, the&lt;br/&gt;best outcome is when the attack is impossible. As this is oftentimes not&lt;br/&gt;something we can do, we have to choose one of the other outcomes.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; About &amp;#34;incentive compatibility&amp;#34;, one element valuable to integrate is how&lt;br/&gt;&amp;gt; much the existence of scoring algorithms allows the routing nodes to adopt&lt;br/&gt;&amp;gt; &amp;#34;honest behaviors&amp;#34; and high-level of service availability. I don&amp;#39;t know if&lt;br/&gt;&amp;gt; a jamming solution can be devised without considerations of the inner&lt;br/&gt;&amp;gt; workings of routing/scoring algorithms, and so far every LN implementation&lt;br/&gt;&amp;gt; has its own cooking.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;We focused on the most basic incentive of not failing transactions that&lt;br/&gt;could have been forwarded. I&amp;#39;ll be happy to discuss other potential&lt;br/&gt;pitfalls if you have something in mind.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; On the structure of the monetary strategy, I think there could be a&lt;br/&gt;&amp;gt; solution to implement a proof-of-burn, where the fee is captured in a&lt;br/&gt;&amp;gt; commitment output sending to a provably unspendable output. Theoretically,&lt;br/&gt;&amp;gt; it&amp;#39;s interesting as &amp;#34;unburning&amp;#34; the fee is dependent on counterparty&lt;br/&gt;&amp;gt; cooperation, the one potentially encumbering the jamming risk.&lt;br/&gt;&amp;gt; Proof-of-work &amp;#34;fee&amp;#34; has been discussed in the past by LN devs, however it&lt;br/&gt;&amp;gt; was quickly dismissed, as it would give an edge to the attacker who is able&lt;br/&gt;&amp;gt; to gather ASICs farms while completely burning the batteries of LN mobile&lt;br/&gt;&amp;gt; clients. It has also been widely discussed to make the fees conditional on&lt;br/&gt;&amp;gt; either outgoing HTLC CLTV value or effective duration. For effective&lt;br/&gt;&amp;gt; duration, an upfront fee shard could be paid after each clock tick (either&lt;br/&gt;&amp;gt; epoch or block-based).&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;The main problem with proof of burn or PoW is that it does not compensate&lt;br/&gt;the victim, we write this explicitly in the newer version of the paper.&lt;br/&gt;Thanks for this comment, we will add further details on previous&lt;br/&gt;discussions.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; On the structure of reputation strategy, I think one interesting missing&lt;br/&gt;&amp;gt; point to me is the blurring of the local/global reputation definition in&lt;br/&gt;&amp;gt; Lightning. At least maybe in a way traditionally defined in P2P&lt;br/&gt;&amp;gt; litterature. Reputation could be enforced on the HTLC sender, as we&amp;#39;ve&lt;br/&gt;&amp;gt; aimed with Stakes Certificates. The upstream peer reputation is not&lt;br/&gt;&amp;gt; accounted for at all. I think it&amp;#39;s an open question if the reputation score&lt;br/&gt;&amp;gt; of a routing node could be exported across nodes (a behavior that one could&lt;br/&gt;&amp;gt; expect if you assume web-of-trust, as the current LN network topology is&lt;br/&gt;&amp;gt; heavily based on). On the statement, that attaching reputation to payment&lt;br/&gt;&amp;gt; contradicts the LN&amp;#39;s privacy-focused goal, I would say it&amp;#39;s a light one in&lt;br/&gt;&amp;gt; regards to the state of cryptography tools like blinded signature, known&lt;br/&gt;&amp;gt; since the 80s.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;I think that further research on assigning the blame to the sender is of&lt;br/&gt;interest, but as we don&amp;#39;t have this right now, it would be good to work&lt;br/&gt;with the available tools.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; On the analysis of the unconditional fee, I think my main objection would&lt;br/&gt;&amp;gt; be the lack of integration of the time uncertainty of the honest use-cases,&lt;br/&gt;&amp;gt; making it hard to classify between quick and slow jamming. As you say &amp;#34;The&lt;br/&gt;&amp;gt; borderline between quick and slow jamming depends on a subjective&lt;br/&gt;&amp;gt; definition of the maximal honest payment resolution delay&amp;#34; An attacker&lt;br/&gt;&amp;gt; should hold all its HTLC jamming for a duration of &amp;#34;maximal honest payment&lt;br/&gt;&amp;gt; resolution delay&amp;#34; minus 1. Without even scoping L2s protocol like swaps or&lt;br/&gt;&amp;gt; hold-invoice where the effective duration might hold for a few blocks,&lt;br/&gt;&amp;gt; modern flows like offline receive where the user has to take manual actions&lt;br/&gt;&amp;gt; to settle the HTLC could far extend beyond a few seconds. To develop my&lt;br/&gt;&amp;gt; point, fair compensation could aim for the most optimistic flow of&lt;br/&gt;&amp;gt; short-held 0.1s payment, however a routing policy could qualify as honest&lt;br/&gt;&amp;gt; payment resolution delay duration of as much as a few minutes. This&lt;br/&gt;&amp;gt; discrepancy could be exploited by an attacker to inflict an asymmetric&lt;br/&gt;&amp;gt; damage to the routing nodes. Of course, one fix could be to scale up the&lt;br/&gt;&amp;gt; unconditional fee amount in function of the maximal honest payment&lt;br/&gt;&amp;gt; resolution delay accepted by the routing node policy&amp;#34;. I wonder if it would&lt;br/&gt;&amp;gt; be suitable in terms of UX.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;For special use cases, where Alice and Bob agree that HTLCs can wait for a&lt;br/&gt;long time over the channel, they can agree that this would not change their&lt;br/&gt;reputation with the other party. If Alice decides to knowingly forward to&lt;br/&gt;Bob an HTLC that will not resolve quickly, without agreeing on this&lt;br/&gt;beforehand, this is a problem and should be solved through the reputation&lt;br/&gt;system.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; For a routing node, there is the uncertainty of downstream payment path&lt;br/&gt;&amp;gt; hops, responsible for some failures, I don&amp;#39;t know if it&amp;#39;s currently&lt;br/&gt;&amp;gt; accounted for in the evaluation of the unconditional fee. If the&lt;br/&gt;&amp;gt; unconditional fee paid downstream is too high, there is a moral hazard for&lt;br/&gt;&amp;gt; the routing node, they can pocket the fee, depending how much they&amp;#39;re&lt;br/&gt;&amp;gt; penalized by the sender scoring algorithm.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;This is addressed in inequality 5 in the paper.&lt;br/&gt;In general, routing algorithms should avoid nodes and channels that&lt;br/&gt;regularly fail their payments. This is true beyond the scope of upfront&lt;br/&gt;fees, and as the upfront fees are rather low, this wouldn&amp;#39;t be the main&lt;br/&gt;motivation for avoiding “bad” nodes.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; On the analysis of the reputation mechanism, there is one recursive issue:&lt;br/&gt;&amp;gt; you might constrain the incoming HTLC traffic of your peers, even if&lt;br/&gt;&amp;gt; they&amp;#39;re all honest. Let&amp;#39;s say you assign K slots and L satoshis of&lt;br/&gt;&amp;gt; liquidity to your upstream peer Carioll, Caroll must know divide by (K, L)&lt;br/&gt;&amp;gt; by two to Alice and Bob, even if Alice and Bob each can offer (K, L) of&lt;br/&gt;&amp;gt; honest HTLC traffic.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;Are we the only node sending anything to Carol? If this is the case, our&lt;br/&gt;channel is Carol&amp;#39;s bottleneck, and indeed whichever limit we choose will be&lt;br/&gt;the limit she will have to handle (this is a bit of &amp;#34;min-cut max-flow&amp;#34;&lt;br/&gt;problem for Carol, where our channel is her min-cut)&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; Further, there is also the attack timing asymmetries, in the sense that a&lt;br/&gt;&amp;gt; high-reputation score might have been earned in period of low-congestion,&lt;br/&gt;&amp;gt; and consumed during period of high-congestion, so it sounds to me&lt;br/&gt;&amp;gt; reputation should be quantitative rather to introduce a low-risk/high-risk&lt;br/&gt;&amp;gt; binary framework, to account for proportionality. This proportionality&lt;br/&gt;&amp;gt; issue is a hard thing, especially if I would like concretely to address&lt;br/&gt;&amp;gt; payments with intentionally delayed resolutions in a non-cooperative-only&lt;br/&gt;&amp;gt; way.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;As reputation policy is determined on the level of an individual node, it&lt;br/&gt;could be that some will choose to take into account congestion.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; Lastly, I wonder if there is not some conceptual issue with the chaining&lt;br/&gt;&amp;gt; of unconditional fee and local reputation. As I understand the distinction&lt;br/&gt;&amp;gt; between quick/slow jamming is based on this idea of maximal honest payment&lt;br/&gt;&amp;gt; resolution delay. However, the bypass of this upper bound is only known&lt;br/&gt;&amp;gt; _after_ the HTLC forward, and as such it sounds to me the strategie regime&lt;br/&gt;&amp;gt; (unconditional fee/local reputation) under which a HTLC forward should be&lt;br/&gt;&amp;gt; evaluated is dependent on the knowledge of a future event.&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;We use reputation as part of a continuous game. You don&amp;#39;t gain or lose high&lt;br/&gt;reputation based on one HTLC, you evaluate based on the continuous behavior&lt;br/&gt;of the node. The unconditional fee is always charged.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Thanks again,&lt;br/&gt;Clara&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/20221107/6ca7c2c0/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20221107/6ca7c2c0/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:07:17&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsp8x4xxfq06ef6k28d5x9sx5l04mg8pv2rkyuktmcklse5p56667czyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtu8ut9u7</id>
    
      <title type="html">📅 Original date posted:2021-11-15 📝 Original message: Hi ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsp8x4xxfq06ef6k28d5x9sx5l04mg8pv2rkyuktmcklse5p56667czyrsjaqy2jwpxd3hlqrw8yw2pktkp559h8hxt89dewenn00tvx8jtu8ut9u7" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqspanlhwh5vn7l94uen288d3wf5gypyzr028cnqjlfgaltf3julk0qly4peq&#39;&gt;nevent1q…4peq&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-11-15&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi Joost,&lt;br/&gt;&lt;br/&gt;A quick way to resolve this is to normalize the payment fees to a [0,1]&lt;br/&gt;scale. Two natural ways to do this are the following.&lt;br/&gt;0 in both of them is some maximum set by the user (maybe with some&lt;br/&gt;reasonable default), 1 could be either the cheapest path or simply 0 sat.&lt;br/&gt;Once we have normalized the fees to a [0,1] scale, we can proceed.&lt;br/&gt;&lt;br/&gt;Let [image: \alpha] be the chosen balance parameter, [image: f] the&lt;br/&gt;fee and [image:&lt;br/&gt;p] the success probability. Then the score of a channel will be  [image:&lt;br/&gt;\alpha\cdot f &#43; (1-\alpha)\cdot p]&lt;br/&gt;&lt;br/&gt;Clara&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;On Mon, Nov 15, 2021 at 10:26 AM Joost Jager &amp;lt;joost.jager at gmail.com&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; In Lightning pathfinding the two main variables to optimize for are&lt;br/&gt;&amp;gt; routing fee and reliability. Routing fee is concrete. It is the sat amount&lt;br/&gt;&amp;gt; that is paid when a payment succeeds. Reliability is a property of a route&lt;br/&gt;&amp;gt; that can be expressed as a probability. The probability that a route will&lt;br/&gt;&amp;gt; be successful.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; During pathfinding, route options are compared against each other. So for&lt;br/&gt;&amp;gt; example:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Route A: fee 10 sat, success probability 50%&lt;br/&gt;&amp;gt; Route B: fee 20 sat, success probability 80%&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Which one is the better route? That depends on user preference. A patient&lt;br/&gt;&amp;gt; user will probably go for route A in the hope of saving on fees whereas for&lt;br/&gt;&amp;gt; a time-sensitive payment route B looks better.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; It would be great to offer this trade-off to the user in a simple way.&lt;br/&gt;&amp;gt; Preferably a single [0, 1] value that controls the selection process. At 0,&lt;br/&gt;&amp;gt; the route is only optimized for fees and probabilities are ignored&lt;br/&gt;&amp;gt; completely. At 1, the route is only optimized for reliability and fees are&lt;br/&gt;&amp;gt; ignored completely.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; But how to choose between the routes A and B for a value somewhere in&lt;br/&gt;&amp;gt; between 0 and 1? For example 0.5 - perfect balance between reliability and&lt;br/&gt;&amp;gt; fee. But what does that mean exactly?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Anyone got an idea on how to approach this best? I am looking for a simple&lt;br/&gt;&amp;gt; formula to decide between routes, preferably with a reasonably sound&lt;br/&gt;&amp;gt; probability-theoretical basis (whatever that means).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Joost&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/20211115/7e7f7ab4/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20211115/7e7f7ab4/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:04:23&#43;02:00</updated>
  </entry>

</feed>