Opcodes · bitwise · enabled

OP_EQUALVERIFY (0x88)

OP_EQUAL followed by OP_VERIFY: fails unless the two top items are equal.

Verified
Stack in → out
a b → ∅
Since
Original Bitcoin script
Cost
Base instruction cost 101: 100 plus the 1-byte true result it pushes and then pops.
Bitcoin status
Same in Bitcoin (BTC)

Example

OP_DUP OP_HASH160 <pkh> OP_EQUALVERIFY OP_CHECKSIG

Step through it opcode by opcode in Bitauth IDE, the in-browser BCH VM debugger.

Sources

  1. Libauth BCH_2023_05 opcodes (bch-2023-opcodes.ts)
  2. BCHN script interpreter (interpreter.cpp)