Joost Jager [ARCHIVE] on Nostr: 📅 Original date posted:2019-10-26 📝 Original message: > > * Output type: normal ...
📅 Original date posted:2019-10-26
📝 Original message:
>
> * Output type: normal P2WKH. At one point, an additional spending path was
> proposed that was unconditional except for a 10 block csv lock. The
> intention of this was to prevent utxo set pollution by allowing anyone to
> clean up. This however also opens up the possibility for an attacker to
> 'use up' the cpfp carve-out after those 10 blocks. If the user A is offline
> for that period of time, a malicious peer B may already have broadcasted
> the commitment tx and pinned down user A's anchor output with a low fee
> child. That way, the commitment tx could still remain unconfirmed while an
> important htlc expires.
>
Ok, this 'attack' scenario doesn't make sense. Of course with a csv lock,
this spend path is closed when the commitment tx is unconfirmed. But it is
still a question whether user A would appreciate their anchor output being
taken by someone else when they are offline for more than 10 blocks.
If we do like this utxo set clean up path, one could also argue that this
should then be applied to every near-dust output on the commitment tx (eg
small htlcs).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20191026/8c9a5819/attachment.html>
📝 Original message:
>
> * Output type: normal P2WKH. At one point, an additional spending path was
> proposed that was unconditional except for a 10 block csv lock. The
> intention of this was to prevent utxo set pollution by allowing anyone to
> clean up. This however also opens up the possibility for an attacker to
> 'use up' the cpfp carve-out after those 10 blocks. If the user A is offline
> for that period of time, a malicious peer B may already have broadcasted
> the commitment tx and pinned down user A's anchor output with a low fee
> child. That way, the commitment tx could still remain unconfirmed while an
> important htlc expires.
>
Ok, this 'attack' scenario doesn't make sense. Of course with a csv lock,
this spend path is closed when the commitment tx is unconfirmed. But it is
still a question whether user A would appreciate their anchor output being
taken by someone else when they are offline for more than 10 blocks.
If we do like this utxo set clean up path, one could also argue that this
should then be applied to every near-dust output on the commitment tx (eg
small htlcs).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20191026/8c9a5819/attachment.html>