CSFS and CAT macro checks CTV templates without native CTV
Original title: CTV Without CTV: Verified Template Checks and Reusable State Authorization with CSFS+CAT
A two-party, three-update prototype confirmed a stale-state override on Signet; updates cost 496 vB versus 241 vB with native CTV plus CSFS.
The paper builds a Tapscript macro from proposed CAT and CHECKSIGFROMSTACK opcodes that checks the 32-byte BIP-119 CTV predicate for a defined family of single-input Taproot transactions. A refreshable auxiliary signature binds witness-supplied fields, while a separate participant signature authorizes the template hash across eligible previous outputs. The authors prove soundness, public completeness, and stack preservation, and state conditions for use in a CTV+CSFS state-replacement protocol. Bitcoin Inquisition tests on regtest and public Signet show stale-state override and delayed settlement, at higher cost than native CTV.
Unconfirmed: The construction depends on proposed opcodes and was shown on regtest and Signet, not described as mainnet use.
- The macro targets fixed output-script lengths and does not use ANYPREVOUT.
- The template authorization need not commit to outpoint, amount, or tapleaf.
- An executable compiler and regtest plus public Signet experiments are included.
- Public recovery data is part of the two-party, three-update prototype.
From the original article
1 min read at arxiv.orgCan 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.
By Baixing Liu · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.