计算机科学 > 计算工程、金融与科学
[提交于 2026年11月28日]
标题:CTV Without CTV: Verified Template Checks and Reusable State Authorization with CSFS+CAT
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Baixing Liu[v1] 2026年11月28日 星期六 07:48:28 UTC (153 KB)