CheckTemplateVerify (CTV)
bitcoin · scripting · proposal
A proposed Bitcoin covenant opcode that would require a spending transaction to match a committed template.
- Also known as
- OP_CHECKTEMPLATEVERIFY, BIP119
CheckTemplateVerify (CTV) is the opcode proposed in BIP119. A CTV output commits to selected fields of a future spending transaction; spending succeeds only when the transaction's template hash matches.
Proposed uses include vaults, payment pools, congestion control, and precommitted transaction trees. CTV is deliberately less expressive than general transaction introspection, which simplifies some analysis while limiting dynamic conditions.
BIP119 remains a draft proposal and is not an active Bitcoin consensus opcode. Other chains may implement different covenant or introspection mechanisms; similarity of use case does not make them CTV.
Related terms
Covenant
→A UTXO spending condition that restricts properties of the transaction or outputs created when it is spent.
script · smart-contract · security
Opcode
→An encoded instruction interpreted by a virtual machine or transaction script engine.
technical · scripting
Bitcoin Improvement Proposal (BIP)
→A published proposal or information document for Bitcoin protocols, applications, or community processes.
governance · technology
Smart Contract
→Blockchain-enforced program or script logic that controls how assets or state may change.
blockchain · scripting