Opcodes · criptografía · habilitado

OP_CHECKMULTISIGVERIFY (0xaf)

OP_CHECKMULTISIG seguido de OP_VERIFY.

Verificado
Pila: entrada → salida
dummy sig… m pubkey… n → ∅
Desde
Script original de Bitcoin
Costo
Base instruction cost 101 (including the 1-byte true result it pushes and then pops) plus 26,000 per signature check, plus hashing cost for the signing serialization (2025 VM limits). Schnorr mode counts one check per signature (M). ECDSA mode counts one per public key (N), or none if every signature is empty. Also counted by the 2020 SigChecks limit.
Estado en Bitcoin
Funciona de otra manera en Bitcoin (BTC)Disabled in BTC Tapscript (BIP-342); no Schnorr mode.

Ejemplo

OP_0 <sigA> <sigB> OP_2 <pkA> <pkB> <pkC> OP_3 OP_CHECKMULTISIGVERIFY

Recórrelo opcode por opcode en Bitauth IDE, el depurador de la VM de BCH en el navegador.

Fuentes

  1. Libauth BCH_2023_05 opcodes (bch-2023-opcodes.ts)
  2. BCHN upgrade specs: 2019-11-15 Schnorr multisig
  3. CHIP-2021-05 VM Limits: Targeted Virtual Machine Limits
  4. BIP-342: Validation of Taproot Scripts
  5. BCHN script interpreter (interpreter.cpp)