Feature or Enhancement?
- (x) New feature
- ( ) Enhancement of existing feature
Description
New op, OP_CHECK_MULTISIG_STACK, that behaves like OP_CHECK_MULTISIG and OP_CHECK_SIG_STACK:
- Read uint8
m and n from tape
- Pull
n VerifyKeys from the stack
- Pull message from the stack
- Pull
m signatures from the stack
- If the signatures validate against the keys, and each key produced only one signature, put
True onto the stack; otherwise, put False onto the stack
Additional context
- Aliases:
OP_CMSS and CMSS
- It might be useful to also add
OP_CHECK_SIG_STACK_VERIFY and OP_CHECK_MULTISIG_STACK_VERIFY since all 4 uses of OP_CHECK_SIG_STACK in the tooling follow it with OP_VERIFY
Feature or Enhancement?
Description
New op,
OP_CHECK_MULTISIG_STACK, that behaves likeOP_CHECK_MULTISIGandOP_CHECK_SIG_STACK:mandnfrom tapenVerifyKeys from the stackmsignatures from the stackTrueonto the stack; otherwise, putFalseonto the stackAdditional context
OP_CMSSandCMSSOP_CHECK_SIG_STACK_VERIFYandOP_CHECK_MULTISIG_STACK_VERIFYsince all 4 uses ofOP_CHECK_SIG_STACKin the tooling follow it withOP_VERIFY