{"type":"rich","version":"1.0","author_name":"npub17fjkngg0s0mfx4uhhz6n4puhflwvrhn2h5c78vdr5xda4mvqx89swntr0s","author_url":"https://nostr.ae/npub17fjkngg0s0mfx4uhhz6n4puhflwvrhn2h5c78vdr5xda4mvqx89swntr0s","provider_name":"njump","provider_url":"https://nostr.ae","html":"📅 Original date posted:2021-04-24\n📝 Original message:\nYou're right, I was thinking about trimmed HTLCs (which can re-appear in\nthe commit tx\nif you lower the feerate via update_fee).\n\nDust HTLCs will never appear in the commit tx regardless of subsequent\nupdate_fees,\nso Eugene's suggestion could make sense!\n\nLe sam. 24 avr. 2021 à 06:02, Matt Corallo \u003clf-lists at mattcorallo.com\u003e a\nécrit :\n\n\u003e The update_fee message does not, as far as I recall, change the dust limit\n\u003e for outputs in a channel (though I’ve suggested making such a change).\n\u003e\n\u003e On Apr 23, 2021, at 12:24, Bastien TEINTURIER \u003cbastien at acinq.fr\u003e wrote:\n\u003e\n\u003e ﻿\n\u003e Hi Eugene,\n\u003e\n\u003e The reason dust HTLCs count for the 483 HTLC limit is because of\n\u003e `update_fee`.\n\u003e If you don't count them and exceed the 483 HTLC limit, you can't lower the\n\u003e fee anymore\n\u003e because some HTLCs that were previously dust won't be dust anymore and you\n\u003e may end\n\u003e up with more than 483 HTLC outputs in your commitment, which opens the\n\u003e door to other\n\u003e kinds of attacks.\n\u003e\n\u003e This is the first issue that comes to mind, but there may be other\n\u003e drawbacks if we dig into\n\u003e this enough with an attacker's mindset.\n\u003e\n\u003e Bastien\n\u003e\n\u003e Le ven. 23 avr. 2021 à 17:58, Eugene Siegel \u003celzeigel at gmail.com\u003e a écrit :\n\u003e\n\u003e\u003e I propose a simple mitigation to increase the capital requirement of\n\u003e\u003e channel-jamming attacks. This would prevent an unsophisticated attacker\n\u003e\u003e with low capital from jamming a target channel.  It seems to me that this\n\u003e\u003e is a *free* mitigation without any downsides (besides code-writing), so I'd\n\u003e\u003e like to hear other opinions.\n\u003e\u003e\n\u003e\u003e In a commitment transaction, we trim dust HTLC outputs.  I believe that\n\u003e\u003e the reason for the 483 HTLC limit each side has in the spec is to prevent\n\u003e\u003e commitment tx's from growing unreasonably large, and to ensure they are\n\u003e\u003e still valid tx's that can be included in a block.  If we don't include dust\n\u003e\u003e HTLCs in this calculation, since they are not on the commitment tx, we\n\u003e\u003e still allow 483 (x2) non-dust HTLCs to be included on the commitment tx.\n\u003e\u003e There could be a configurable limit on the number of outstanding dust\n\u003e\u003e HTLCs, but the point is that it doesn't affect the non-dust throughput of\n\u003e\u003e the channel.  This raises the capital requirement of channel-jamming so\n\u003e\u003e that each HTLC must be non-dust, rather than spamming 1 sat payments.\n\u003e\u003e\n\u003e\u003e Interested in others' thoughts.\n\u003e\u003e\n\u003e\u003e Eugene (Crypt-iQ)\n\u003e\u003e _______________________________________________\n\u003e\u003e Lightning-dev mailing list\n\u003e\u003e Lightning-dev at lists.linuxfoundation.org\n\u003e\u003e https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev\n\u003e\u003e\n\u003e _______________________________________________\n\u003e Lightning-dev mailing list\n\u003e Lightning-dev at lists.linuxfoundation.org\n\u003e https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev\n\u003e\n\u003e\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20210424/e0afd2d9/attachment.html\u003e"}
