1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-05-12 12:03:29 +00:00

Notes that the opcode used is the same as the original cat opcode

This commit is contained in:
Ethan Heilman 2024-01-07 16:34:23 -05:00 committed by GitHub
parent 82fe9fc3db
commit f9e100e9de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@
==Abstract== ==Abstract==
This BIP reintroduces OP_CAT in the form of a new tapscript opcode which allows the concatenation of two values on the stack. This opcode would be activated via a soft fork by redefining the opcode OP_SUCCESS126 (the opcode 0x7e). This BIP reintroduces OP_CAT in the form of a new tapscript opcode which allows the concatenation of two values on the stack. This opcode would be activated via a soft fork by redefining the opcode OP_SUCCESS126 (126 in decimal and 0x7e in hexidecimal). This is same opcode value used by the original OP_CAT.
When evaluated the OP_CAT instruction: When evaluated the OP_CAT instruction:
# Pops the top two values off the stack, # Pops the top two values off the stack,