TLUV
OP_TAPLEAF_UPDATE_VERIFY
Links
- bitcoin-dev e-mails: overview, technical details
- Bitcoin Optech
Introduction
A new OP_TAPLEAF_UPDATE_VERIFY
(TLUV) opcode is proposed that takes information about the taproot
input being spent, makes modifications described in a tapscript, and requires that the result be
equivalent to the scriptPubKey in the output in the same position as the input. This allows TLUV to
constrain where the bitcoin can be spent (the definition of a covenant), similar to other proposed
opcodes such as OP_CHECKSIGFROMSTACK (CSFS) and OP_CHECKTEMPLATEVERIFY (CTV).
Where it differs from previous proposals is that it allows the created tapscript to specify modifications to both the internal key and a tapscript tree (MAST).
Ideally, TLUV would be activated in conjunction with some additional opcode or mechanism to introspect the amounts of inputs and outputs in the current transaction.