Skip to content

Feature/Enhancement Request: OP_CHECK_MULTISIG_STACK #26

Description

@k98kurz

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions