3

Do BIP199 HTLCs suffer from sigscript malleability like multisigs do due to OP_CHECKMULTISIG?

1 Answer 1

1

The Script define in bip-0199 may suffer from OP_IF malleability if not used in a witness Script (which enforces that the argument to OP_IF is minimal, that is either the empty vector or 0x01).

There may be other malleability sources in this Script that i didn't spot, and more generally malleability being very difficult to reason about it's worth using tools such as Miniscript to prevent your Script's satisfaction(s) to be (too much) malleable.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.