Does a OP_CHECKSIGADD and OP_EQUAL script for a threshold signature fail should you present too many legitimate signatures within the unlocking script?

Does a OP_CHECKSIGADD and OP_EQUAL script for a threshold signature fail should you present too many legitimate signatures within the unlocking script?

[ad_1]

For this CHECKSIGADD script for a 2-of-3 multisig:

<pk1> OP_CHECKSIG <pk2> OP_CHECKSIGADD <pk3> OP_CHECKSIGADD OP_2 OP_EQUAL

What occurs should you present greater than the two required signatures, on this case 3 legitimate signatures for the three related public keys? 3 just isn’t equal to the required 2 so the OP_EQUAL would trigger the unlocking script to fail? Would it’s essential use a larger than or equal opcode as a substitute of OP_EQUAL if you’ll present extra legitimate signatures than required?

[ad_2]

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *