BIP 119 (status Draft as of 20 November 2026) specifies OP_CHECKTEMPLATEVERIFY (CTV), a redefinition of OP_NOP4. When the top stack element is 32 bytes, the script fails unless it equals a hash of the spending transaction's version, locktime, input and output counts, sequences, outputs, input index and, when present, scriptSigs; other sizes are treated as a NOP.
Sources and checks
This BIP proposes a new opcode, OP_CHECKTEMPLATEVERIFY, to be activated as a change to the semantics of OP_NOP4.
Abstract, first sentence, read 2026-11-20
Still in bip-0119.mediawiki at the head of bitcoin/bips (9f3d3bc6a6), read 26 Nov 2026.
is equal to the element on the stack, fail otherwise
Summary, rules for OP_CHECKTEMPLATEVERIFY, read 2026-11-20
Still in bip-0119.mediawiki at the head of bitcoin/bips (9f3d3bc6a6), read 26 Nov 2026.
The element on the stack is 32 bytes long, NOP otherwise
Summary, element size rule, read 2026-11-20
Still in bip-0119.mediawiki at the head of bitcoin/bips (9f3d3bc6a6), read 26 Nov 2026.
T2Bitcoin Optech topic, OP_CHECKTEMPLATEVERIFYBitcoin Optech, says this directly
its version, locktime, signature scripts, number of inputs, sequences, number of outputs, outputs,
Topic definition, read 2026-11-20
BIP 119's Status is "Draft" on the default branch.
Run it yourself
curl -s https://raw.githubusercontent.com/bitcoin/bips/master/bip-0119.mediawiki | grep -m1 -E '^ *Statuss?:'Checked at block 977,452, 25 Nov 2026, 02:30 UTC: quotes 4/4, code 1/1
History
Nothing is edited silently; every revision keeps what it replaced.
- 25 Nov 2026, 02:30 UTCblock 977,452
Published Revision 1, run 2026-11-20-seed-covenants