More thoughts on NOINPUT safety



Summary:

The discussion on the bitcoin-dev mailing list regarding the eltoo paper suggests that OP_CSV (BIP112) is not necessary for update and settlement purposes. Instead, BIP68 relative-time is sufficient. A and B will co-sign a muSig with nLockTime = t for update purposes without committing to the scriptCode and BIP68 lock time, while for settlement purposes, they will co-sign with an agreed BIP68 locktime and commit to the scriptCode. The update sig could be bound to any previous update tx immediately, while the settlement sig would only bind to a specific update tx after the relative locktime has passed. The eltoo paper incorrectly suggests using OP_CSV; however, it is only needed if one party could single-handedly decide the relative locktime, which is not the case with a muSig. Finally, even a script using OP_CHECKLOCKTIMEVERIFY OP_DROP OP_CHECKSIGVERIFY OP_CHECKSIG doesn't require OP_CSV because the two signatures must use the same relative locktime, or the transaction is invalid.


Updated on: 2023-05-23T01:57:32.935640+00:00