CTV Without CTV: Verified Template Checks and Reusable State Authorization with CSFS+CAT
Abstract
Can template authorization remain reusable when a payment channel state spends a different previous output? We use the proposed CAT and CHECKSIGFROMSTACK (CSFS) opcodes to construct a Tapscript macro that checks the 32-byte BIP-119 CHECKTEMPLATEVERIFY (CTV) predicate for a defined family of single-input Taproot transactions with fixed output-script lengths. A publicly refreshable auxiliary signature, checked by both CSFS and CHECKSIG, binds witness-supplied fields to the actual transaction. A separate participant signature authorizes the template hash and remains valid across eligible previous outputs sharing that hash. Unlike the auxiliary signature, this authorization need not commit to the spent outpoint, amount, or tapleaf. We prove soundness, public completeness, and stack preservation for the macro, and give conditions for substituting it into a CTV+CSFS state-replacement protocol. An executable compiler and Bitcoin Inquisition experiments on regtest and public Signet demonstrate a confirmed stale-state override and delayed settlement in a two-party, three-update prototype with public recovery data. The measured update costs 496 vB, versus 241 vB with native CTV+CSFS. The result is a bounded, higher-cost route to state replacement under proposed opcodes, without native CTV or ANYPREVOUT.
Create a lesson
Metadata
- Categories
- cs.CE, cs.CR
Related papers
Selecting and verifying load-bearing periodic cells for elastic-wave band gaps with numerical acceptance checks
Shared title terminologycs.CEShaoliang Yang, Jun Wang
Understanding traffic flow evolution in mixed autonomy traffic through trajectory-informed, traffic-state-conditioned behavioral parameterization
Shared title terminologycs.CEHao Lyu, Yanyong Guo, Claudio Roncoli
Learning Markovian Lifts for Rough Heston: Pricing Accuracy with Fewer States
Shared title terminologycs.CEArthur Chagas, Arthur Buzelin, Pedro Bento et al.
Verifying the Outputs of PDE Solvers: From Finite Elements to Neural Surrogates
Shared title terminologycs.CEKonstantinos Dovelos
Truthgate: Checking Coding Agents Against a Record They Cannot Edit - Cheating, Deterrence and Disclosure on Impossible Tasks
Shared title terminologycs.CEBravish Ghosh
What Do LLMs Use to Judge Synthesis Recipes? An Experimental Analysis on 240 Solid-State Syntheses
Shared title terminologycs.CEDerek van Tilborg, Laura-Bianca Pasca, Harry Sevi et al.