<?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/npub139lamalg6mww4czepk75anugudczcglp8p9ej9kafmkvgxyk4uus7mvj0j.rss" />
  <link href="https://nostr.ae/npub139lamalg6mww4czepk75anugudczcglp8p9ej9kafmkvgxyk4uus7mvj0j" />
  <id>https://nostr.ae/npub139lamalg6mww4czepk75anugudczcglp8p9ej9kafmkvgxyk4uus7mvj0j</id>
  <icon></icon>
  <logo></logo>




  <entry>
    <id>https://nostr.ae/nevent1qqswr747xzryptaegprq795qg83dnhn9vnvrmhzlte8sc6dcrk32drczyzyhlh0hartde6hqtyxm6nk03r3hqtpruyuyhxgkm48we3qcj6hnjrajxwz</id>
    
      <title type="html">📅 Original date posted:2022-08-10 📝 Original message: I ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqswr747xzryptaegprq795qg83dnhn9vnvrmhzlte8sc6dcrk32drczyzyhlh0hartde6hqtyxm6nk03r3hqtpruyuyhxgkm48we3qcj6hnjrajxwz" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsxlnfpr8zr75tnw9hkvarkgg5pwwpru26skm4dw5c89uysjyyaldsvtw55v&#39;&gt;nevent1q…w55v&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-08-10&lt;br/&gt;📝 Original message:&lt;br/&gt;I quickly looked it up and it seems that bitcoind has a function&lt;br/&gt;PaysMoreThanConflicts which checks that the tx pays a higher feerate than&lt;br/&gt;the replaced tx. This isn&amp;#39;t a BIP125 rule AFAICT so I think that&amp;#39;s what&lt;br/&gt;tripped me up. That means I&amp;#39;m wrong about the ancestor bulking variant as a&lt;br/&gt;malicious counterparty can put a high feerate splice tx at the bottom of&lt;br/&gt;the mempool, requiring a higher feerate to replace it.&lt;br/&gt;&lt;br/&gt;On Wed, Aug 10, 2022 at 12:31 PM Greg Sanders &amp;lt;gsanders87 at gmail.com&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; Your reading is correct.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; My example was that if TxB, size 100vB with feerate 1000 sat/vbyte, has an&lt;br/&gt;&amp;gt; 100kvB ancestor paying 1 sat/vbyte. The effective package rate for those&lt;br/&gt;&amp;gt; two transactions will be (100*1,000 &#43; 100,000*1)/(100,000 &#43; 100) = ~2&lt;br/&gt;&amp;gt; sat/vybte&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; This means TxB will not be picked up if the prevailing rate is &amp;gt; 2&lt;br/&gt;&amp;gt; sat/byte.  Let&amp;#39;s say it&amp;#39;s 4 sat/vbyte prevailing rate. To replace it with&lt;br/&gt;&amp;gt; TxB&amp;#39;, one still has to pay to evict TxB, at roughly 1000/4=250 times the&lt;br/&gt;&amp;gt; normal feerate.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Sorry if I got the math wrong here, but at least trying to get the idea&lt;br/&gt;&amp;gt; across.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; On Wed, Aug 10, 2022 at 12:20 PM Eugene Siegel &amp;lt;elzeigel at gmail.com&amp;gt; wrote:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Looking it up, rule 3 is &amp;#34;The replacement transaction pays an absolute&lt;br/&gt;&amp;gt;&amp;gt; fee of at least the sum paid by the original transactions.&amp;#34; but here the&lt;br/&gt;&amp;gt;&amp;gt; ancestors aren&amp;#39;t getting replaced so I don&amp;#39;t think the replacement has to&lt;br/&gt;&amp;gt;&amp;gt; pay for them? Or maybe your comment was just generally about how it can&lt;br/&gt;&amp;gt;&amp;gt; matter in certain cases&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; On Wed, Aug 10, 2022 at 12:06 PM Greg Sanders &amp;lt;gsanders87 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; &amp;gt; I think the ancestor bulking variant of pinning only matters if you&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; are trying to add a new descendant and can&amp;#39;t due to the ancestor/descendant&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; limits.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Not quite. It also matters if you want to RBF that transaction, since&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; low feerate ancestor junk puts the transaction at the bottom of the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; mempool, so to speak, even if it has a high feerate itself. You are forced&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; to pay &amp;#34;full freight&amp;#34; to replace it via bip125 rule#3 even though it&amp;#39;s not&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; going to be mined.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; (I don&amp;#39;t know if that applies here, just noting the wrinkle)&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; On Wed, Aug 10, 2022 at 11:37 AM Eugene Siegel &amp;lt;elzeigel at gmail.com&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I think the ancestor bulking variant of pinning only matters if you are&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; trying to add a new descendant and can&amp;#39;t due to the ancestor/descendant&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; limits. In this  example, since all of the outputs are locked with `1&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; OP_CSV`, you can&amp;#39;t add a descendant to the splice tx. The ancestor bulking&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; also shouldn&amp;#39;t matter for RBF since you wouldn&amp;#39;t be replacing any of the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ancestors, only the splice tx. I think it might matter if the new funding&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; output isn&amp;#39;t encumbered.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The new funding output can&amp;#39;t have `1 OP_CSV` unless we also change the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; commit tx format, and I&amp;#39;m not sure if it would work. The commit tx has the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; disable bit set in nSequence so it isn&amp;#39;t compatible with the sequence lock.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Enabling the bit might be tricky since then the commit tx may have a&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; time-based or block-based locktime based on the lower bits of the obscured&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; commitment number, and it must be block-based (and non-zero) for the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; sequence lock to work. That means if it&amp;#39;s not encumbered, pinning exists&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; since an attacker can make a junk tree using the anchor output. It is&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; replaceable using RBF since you have your own commit tx (with anchor) to&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; broadcast.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Eugene&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&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/20220810/547ba05f/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20220810/547ba05f/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:06:40&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqstg4gmc0u62mkeuc6ct0pu434jhgfa2ak3cqwjnvn32q20gyxcc2qzyzyhlh0hartde6hqtyxm6nk03r3hqtpruyuyhxgkm48we3qcj6hnj6pe2kq</id>
    
      <title type="html">📅 Original date posted:2022-08-10 📝 Original message: ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqstg4gmc0u62mkeuc6ct0pu434jhgfa2ak3cqwjnvn32q20gyxcc2qzyzyhlh0hartde6hqtyxm6nk03r3hqtpruyuyhxgkm48we3qcj6hnj6pe2kq" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqspa7y63mkqf6u5d69mlffx8l8g3cwd2dzhyck5hc6szsegpgkddhc9q9472&#39;&gt;nevent1q…9472&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-08-10&lt;br/&gt;📝 Original message:&lt;br/&gt;Looking it up, rule 3 is &amp;#34;The replacement transaction pays an absolute fee&lt;br/&gt;of at least the sum paid by the original transactions.&amp;#34; but here the&lt;br/&gt;ancestors aren&amp;#39;t getting replaced so I don&amp;#39;t think the replacement has to&lt;br/&gt;pay for them? Or maybe your comment was just generally about how it can&lt;br/&gt;matter in certain cases&lt;br/&gt;&lt;br/&gt;On Wed, Aug 10, 2022 at 12:06 PM Greg Sanders &amp;lt;gsanders87 at gmail.com&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; &amp;gt; I think the ancestor bulking variant of pinning only matters if you are&lt;br/&gt;&amp;gt; trying to add a new descendant and can&amp;#39;t due to the ancestor/descendant&lt;br/&gt;&amp;gt; limits.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Not quite. It also matters if you want to RBF that transaction, since low&lt;br/&gt;&amp;gt; feerate ancestor junk puts the transaction at the bottom of the mempool, so&lt;br/&gt;&amp;gt; to speak, even if it has a high feerate itself. You are forced to pay &amp;#34;full&lt;br/&gt;&amp;gt; freight&amp;#34; to replace it via bip125 rule#3 even though it&amp;#39;s not going to be&lt;br/&gt;&amp;gt; mined.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; (I don&amp;#39;t know if that applies here, just noting the wrinkle)&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; On Wed, Aug 10, 2022 at 11:37 AM Eugene Siegel &amp;lt;elzeigel at gmail.com&amp;gt; wrote:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Hi,&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; I think the ancestor bulking variant of pinning only matters if you are&lt;br/&gt;&amp;gt;&amp;gt; trying to add a new descendant and can&amp;#39;t due to the ancestor/descendant&lt;br/&gt;&amp;gt;&amp;gt; limits. In this  example, since all of the outputs are locked with `1&lt;br/&gt;&amp;gt;&amp;gt; OP_CSV`, you can&amp;#39;t add a descendant to the splice tx. The ancestor bulking&lt;br/&gt;&amp;gt;&amp;gt; also shouldn&amp;#39;t matter for RBF since you wouldn&amp;#39;t be replacing any of the&lt;br/&gt;&amp;gt;&amp;gt; ancestors, only the splice tx. I think it might matter if the new funding&lt;br/&gt;&amp;gt;&amp;gt; output isn&amp;#39;t encumbered.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; The new funding output can&amp;#39;t have `1 OP_CSV` unless we also change the&lt;br/&gt;&amp;gt;&amp;gt; commit tx format, and I&amp;#39;m not sure if it would work. The commit tx has the&lt;br/&gt;&amp;gt;&amp;gt; disable bit set in nSequence so it isn&amp;#39;t compatible with the sequence lock.&lt;br/&gt;&amp;gt;&amp;gt; Enabling the bit might be tricky since then the commit tx may have a&lt;br/&gt;&amp;gt;&amp;gt; time-based or block-based locktime based on the lower bits of the obscured&lt;br/&gt;&amp;gt;&amp;gt; commitment number, and it must be block-based (and non-zero) for the&lt;br/&gt;&amp;gt;&amp;gt; sequence lock to work. That means if it&amp;#39;s not encumbered, pinning exists&lt;br/&gt;&amp;gt;&amp;gt; since an attacker can make a junk tree using the anchor output. It is&lt;br/&gt;&amp;gt;&amp;gt; replaceable using RBF since you have your own commit tx (with anchor) to&lt;br/&gt;&amp;gt;&amp;gt; broadcast.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Eugene&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/20220810/d2cd3edd/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20220810/d2cd3edd/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:06:40&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsd6lgfqswkkr5g6lx38jw3cv585ksauqukhdq9yvrmq4q9glqzpkgzyzyhlh0hartde6hqtyxm6nk03r3hqtpruyuyhxgkm48we3qcj6hnjcagwef</id>
    
      <title type="html">📅 Original date posted:2022-08-10 📝 Original message: Hi, I ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsd6lgfqswkkr5g6lx38jw3cv585ksauqukhdq9yvrmq4q9glqzpkgzyzyhlh0hartde6hqtyxm6nk03r3hqtpruyuyhxgkm48we3qcj6hnjcagwef" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsgd3utx7c9xru8wqw4yqj98ke0cl8vjvaful5u4ant6gzdax8u7gc0r9dkz&#39;&gt;nevent1q…9dkz&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-08-10&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi,&lt;br/&gt;&lt;br/&gt;I think the ancestor bulking variant of pinning only matters if you are&lt;br/&gt;trying to add a new descendant and can&amp;#39;t due to the ancestor/descendant&lt;br/&gt;limits. In this  example, since all of the outputs are locked with `1&lt;br/&gt;OP_CSV`, you can&amp;#39;t add a descendant to the splice tx. The ancestor bulking&lt;br/&gt;also shouldn&amp;#39;t matter for RBF since you wouldn&amp;#39;t be replacing any of the&lt;br/&gt;ancestors, only the splice tx. I think it might matter if the new funding&lt;br/&gt;output isn&amp;#39;t encumbered.&lt;br/&gt;&lt;br/&gt;The new funding output can&amp;#39;t have `1 OP_CSV` unless we also change the&lt;br/&gt;commit tx format, and I&amp;#39;m not sure if it would work. The commit tx has the&lt;br/&gt;disable bit set in nSequence so it isn&amp;#39;t compatible with the sequence lock.&lt;br/&gt;Enabling the bit might be tricky since then the commit tx may have a&lt;br/&gt;time-based or block-based locktime based on the lower bits of the obscured&lt;br/&gt;commitment number, and it must be block-based (and non-zero) for the&lt;br/&gt;sequence lock to work. That means if it&amp;#39;s not encumbered, pinning exists&lt;br/&gt;since an attacker can make a junk tree using the anchor output. It is&lt;br/&gt;replaceable using RBF since you have your own commit tx (with anchor) to&lt;br/&gt;broadcast.&lt;br/&gt;&lt;br/&gt;Eugene&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/20220810/667a9a6b/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20220810/667a9a6b/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:06:39&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqszd2vp0j9avlr8tmgpg4qwy795tm32ux9knly6jhf48f4xe0y9dfqzyzyhlh0hartde6hqtyxm6nk03r3hqtpruyuyhxgkm48we3qcj6hnjgdpz90</id>
    
      <title type="html">📅 Original date posted:2021-04-26 📝 Original message: Lnd ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqszd2vp0j9avlr8tmgpg4qwy795tm32ux9knly6jhf48f4xe0y9dfqzyzyhlh0hartde6hqtyxm6nk03r3hqtpruyuyhxgkm48we3qcj6hnjgdpz90" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqspdhuv70s2ju4g2fyj3u6cw8ugyu087574cj7kt4rn42qt595cjjs5h0rlv&#39;&gt;nevent1q…0rlv&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-04-26&lt;br/&gt;📝 Original message:&lt;br/&gt;Lnd counts dust &#43; trimmed HTLCs towards max_accepted_htlcs.  We definitely&lt;br/&gt;shouldn&amp;#39;t be counting dust towards that amount.  I would have to think more&lt;br/&gt;about the issue where it&amp;#39;s not possible to lower the feerate though.  That&lt;br/&gt;seems like a spec issue?&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/20210426/cf896556/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20210426/cf896556/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:02:23&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsqwa7278xtvvnwlh7cswnn40zrgrm7jpajflt5kcgx0zq8agz3ydgzyzyhlh0hartde6hqtyxm6nk03r3hqtpruyuyhxgkm48we3qcj6hnjsnsvps</id>
    
      <title type="html">📅 Original date posted:2021-04-23 📝 Original message: ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsqwa7278xtvvnwlh7cswnn40zrgrm7jpajflt5kcgx0zq8agz3ydgzyzyhlh0hartde6hqtyxm6nk03r3hqtpruyuyhxgkm48we3qcj6hnjsnsvps" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsddpaas5mzxnguhlg9lrt4qmp4sgxu4x67qw6yfzqcyq8zref4gxs05ys4a&#39;&gt;nevent1q…ys4a&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-04-23&lt;br/&gt;📝 Original message:&lt;br/&gt;Thanks for replying.&lt;br/&gt;&lt;br/&gt;I was under the impression that long-term update_fee was going to be&lt;br/&gt;removed since second-level HTLC txn&amp;#39;s can bring their own fees?&lt;br/&gt;&lt;br/&gt;On Fri, Apr 23, 2021 at 12:24 PM Bastien TEINTURIER &amp;lt;bastien at acinq.fr&amp;gt;&lt;br/&gt;wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; Hi Eugene,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; The reason dust HTLCs count for the 483 HTLC limit is because of&lt;br/&gt;&amp;gt; `update_fee`.&lt;br/&gt;&amp;gt; If you don&amp;#39;t count them and exceed the 483 HTLC limit, you can&amp;#39;t lower the&lt;br/&gt;&amp;gt; fee anymore&lt;br/&gt;&amp;gt; because some HTLCs that were previously dust won&amp;#39;t be dust anymore and you&lt;br/&gt;&amp;gt; may end&lt;br/&gt;&amp;gt; up with more than 483 HTLC outputs in your commitment, which opens the&lt;br/&gt;&amp;gt; door to other&lt;br/&gt;&amp;gt; kinds of attacks.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; This is the first issue that comes to mind, but there may be other&lt;br/&gt;&amp;gt; drawbacks if we dig into&lt;br/&gt;&amp;gt; this enough with an attacker&amp;#39;s mindset.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Bastien&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Le ven. 23 avr. 2021 à 17:58, Eugene Siegel &amp;lt;elzeigel at gmail.com&amp;gt; a écrit :&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; I propose a simple mitigation to increase the capital requirement of&lt;br/&gt;&amp;gt;&amp;gt; channel-jamming attacks. This would prevent an unsophisticated attacker&lt;br/&gt;&amp;gt;&amp;gt; with low capital from jamming a target channel.  It seems to me that this&lt;br/&gt;&amp;gt;&amp;gt; is a *free* mitigation without any downsides (besides code-writing), so I&amp;#39;d&lt;br/&gt;&amp;gt;&amp;gt; like to hear other opinions.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; In a commitment transaction, we trim dust HTLC outputs.  I believe that&lt;br/&gt;&amp;gt;&amp;gt; the reason for the 483 HTLC limit each side has in the spec is to prevent&lt;br/&gt;&amp;gt;&amp;gt; commitment tx&amp;#39;s from growing unreasonably large, and to ensure they are&lt;br/&gt;&amp;gt;&amp;gt; still valid tx&amp;#39;s that can be included in a block.  If we don&amp;#39;t include dust&lt;br/&gt;&amp;gt;&amp;gt; HTLCs in this calculation, since they are not on the commitment tx, we&lt;br/&gt;&amp;gt;&amp;gt; still allow 483 (x2) non-dust HTLCs to be included on the commitment tx.&lt;br/&gt;&amp;gt;&amp;gt; There could be a configurable limit on the number of outstanding dust&lt;br/&gt;&amp;gt;&amp;gt; HTLCs, but the point is that it doesn&amp;#39;t affect the non-dust throughput of&lt;br/&gt;&amp;gt;&amp;gt; the channel.  This raises the capital requirement of channel-jamming so&lt;br/&gt;&amp;gt;&amp;gt; that each HTLC must be non-dust, rather than spamming 1 sat payments.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Interested in others&amp;#39; thoughts.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Eugene (Crypt-iQ)&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/20210423/5765f8e9/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20210423/5765f8e9/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:02:22&#43;02:00</updated>
  </entry>

</feed>