<oembed><type>rich</type><version>1.0</version><author_name>npub139lamalg6mww4czepk75anugudczcglp8p9ej9kafmkvgxyk4uus7mvj0j</author_name><author_url>https://nostr.ae/npub139lamalg6mww4czepk75anugudczcglp8p9ej9kafmkvgxyk4uus7mvj0j</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2021-04-23&#xA;📝 Original message:&#xA;I propose a simple mitigation to increase the capital requirement of&#xA;channel-jamming attacks. This would prevent an unsophisticated attacker&#xA;with low capital from jamming a target channel.  It seems to me that this&#xA;is a *free* mitigation without any downsides (besides code-writing), so I&#39;d&#xA;like to hear other opinions.&#xA;&#xA;In a commitment transaction, we trim dust HTLC outputs.  I believe that the&#xA;reason for the 483 HTLC limit each side has in the spec is to prevent&#xA;commitment tx&#39;s from growing unreasonably large, and to ensure they are&#xA;still valid tx&#39;s that can be included in a block.  If we don&#39;t include dust&#xA;HTLCs in this calculation, since they are not on the commitment tx, we&#xA;still allow 483 (x2) non-dust HTLCs to be included on the commitment tx.&#xA;There could be a configurable limit on the number of outstanding dust&#xA;HTLCs, but the point is that it doesn&#39;t affect the non-dust throughput of&#xA;the channel.  This raises the capital requirement of channel-jamming so&#xA;that each HTLC must be non-dust, rather than spamming 1 sat payments.&#xA;&#xA;Interested in others&#39; thoughts.&#xA;&#xA;Eugene (Crypt-iQ)&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20210423/28a7f555/attachment.html&gt;</html></oembed>