BIP 347 (status Complete as of 20 November 2026) specifies OP_CAT in tapscript by redefining OP_SUCCESS126 (0x7e): the opcode concatenates the top two stack elements and fails if the result would exceed the 520-byte maximum script element size.
Sources and checks
by redefining the tapscript opcode OP_SUCCESS126 (126 in decimal and 0x7e in hexadecimal) to OP_CAT
Specification, opcode assignment, read 2026-11-20
Still in bip-0347.mediawiki at the head of bitcoin/bips (9f3d3bc6a6), read 26 Nov 2026.
if a concatenated value would have a combined size greater than the maximum script element size of 520 bytes
Specification, size limit, read 2026-11-20
Still in bip-0347.mediawiki at the head of bitcoin/bips (9f3d3bc6a6), read 26 Nov 2026.
T1Bitcoin Inquisition src/script/interpreter.cpp, EvalScript, case OP_CATSource code, supports part of it
if (vch1.size() + vch2.size() > MAX_SCRIPT_ELEMENT_SIZE)
EvalScript, case OP_CAT, read 2026-11-20
Still in src/script/interpreter.cpp at the head of bitcoin-inquisition/bitcoin (3db09a1b58), read 26 Nov 2026.
BIP 347's Status is "Complete" on the default branch.
Run it yourself
curl -s https://raw.githubusercontent.com/bitcoin/bips/master/bip-0347.mediawiki | grep -m1 -E '^ *Statuss?:'bitcoin-inquisition/bitcoin at 3db09a1b58 contains this text in src/script/interpreter.cpp.
Run it yourself
git clone https://github.com/bitcoin-inquisition/bitcoin && git -C bitcoin show 3db09a1b5821b049af295091055c39e0f80846c7:src/script/interpreter.cpp | grep -nF 'if (vch1.size() + vch2.size() > MAX_SCRIPT_ELEMENT_SIZE)'Checked at block 977,445, 25 Nov 2026, 00:55 UTC: quotes 3/3, code 2/2
History
Nothing is edited silently; every revision keeps what it replaced.
- 25 Nov 2026, 00:55 UTCblock 977,445
Published Revision 1, run 2026-11-20-seed-covenants