Open antonilol opened 2 years ago
Using sighash_none
is generally quite dangerous, so it's likely not a good idea (I haven't looked into it in details though). Especially considering that sweeping multiple htlcs or ptlcs in a single transaction is generally not a good idea (it's more dangerous than sweeping them independently), I don't think this change would be useful. But take this with a grain of salt, I haven't looked into it much, as again this isn't the goal of this article, this discussion will make sense on the bolts repo when taproot gets specified.
from https://github.com/t-bast/lightning-docs/blob/master/taproot-updates.md:
in the case where the funds from a ptlc success/timeout are not sent to the local delayed pubkey (claiming from the remote commitment), a
sighash none | anyone can pay
can be used on the adaptor, of course the local signature will use sighash all to prevent malleability with this, alln
ptlcs can be swept in one transaction withn
inputs and 1 outputis this right or am i missing something?