From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 07 Sep 2026 08:46:04 -0700 Received: from mail-oa1-f63.google.com ([209.85.160.63]) by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1x3bXo-0005AF-Ct for bitcoindev@gnusha.org; Mon, 07 Sep 2026 08:46:04 -0700 Received: by mail-oa1-f63.google.com with SMTP id 586e51a60fabf-4704f08bcd5sf4051161fac.0 for ; Mon, 07 Sep 2026 08:46:04 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1788795958; cv=pass; d=google.com; s=arc-20260327; b=dfcSv4LoRXZQ4nZiB65rK0WuSOPGIMJHZPq+YyeUKCk6pVUM72SQIzoWZrCkSk2VwE jrrxrNwzAwtRzeuqsE5KwQ0BaD322k0XzLiYX+RwNTdkHiVE84WcsLfrz4WKNLZWTeXq g/5UXb2Cyu3icp9YtOq42yIlcqur6TbfCGTUEWXOTzYJuA2r3ir83PxXFg6MXmVHe8gW ST+JIybubk4a3h85Ni7zeG2VIE11wfYiQxnYD3vzw0ar4qPG5q+RuDyEcH6fnNqNZ4eZ zllvBNeUq7z6mDd/yAkxCE7JGbbJnIDy3zD0sxcz/HzS6YfCFlC4IBA4bsC9P5mbuVpS Ym9w== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:to:subject:message-id:date:from :mime-version:sender:dkim-signature:dkim-signature; bh=4Lk7BRBOoyYHZQJwPrqhhyYhikcVpn1oAuBF7cvKKfg=; fh=qMAkKo3O6aJqNxJst7neGpxRxvtx1RSRXJXijSjC0fY=; b=nmAVIUgzsraHHZJircYc/jYLOJe4bZENUnlwOjnDKiVUFJM8M/gTXIKBJra7OiQKxw SRzJvPwpXvGzQ6G2AmBCStjG6PT3WNAXThpl/sC7PUOB08tIFZBvrF+XPVt9O+wbHqy5 trB98Qd3rNMKKn7XZt9uQLyUtmyHFg2X3UfnneMLiQ8Ow3gs3TdPihsXUGxivGXP8MS/ ctOeSvDxDPzgsxZsNNazrEytSjrEHxkXzIaIr3lTd2Sf8gsfCmmuQG8Nc5jvQMxQE6h0 KYSmLrY7glmX5TS3GnFS/Sgvmuc0N/ltteE7U6jgVPl6ULD14keUhFTamvdhbmqywsHb MCtg==; darn=gnusha.org ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20251104 header.b=cdIM2GCM; arc=pass (i=1); spf=pass (google.com: domain of lilly.lezhi@gmail.com designates 2607:f8b0:4864:20::1132 as permitted sender) smtp.mailfrom=lilly.lezhi@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20251104; t=1788795958; x=1789400758; darn=gnusha.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:content-type:to:subject:message-id:date:from :mime-version:sender:from:to:cc:subject:date:message-id:reply-to :content-type; bh=4Lk7BRBOoyYHZQJwPrqhhyYhikcVpn1oAuBF7cvKKfg=; b=G7IGTX3e69SgETJqu45PHpfwuXXpbrND2K1JJJ24nGm77M4a9A2sY9OjQdJqlz0Zzz NUDAwGhITzr6WwrOday2gkM8839TaHPQuGb67QjbPYQUy+aPUM3dkwfSH/Vp/01ZvOr5 QYNAmbXvSwPgdsoEGQEeY6ewON9epdk3bIPy/070xgrKlqPy0l2p+O98Elsw+EjSB8E2 yp4Qk7Jn6xZvBieghhDnoKN+CGU9LEH5U2/EYFiOJFpTbvStVw8n0eC0WfPy4XoU6iDT DB3gNh1Kzz5Ks2/r+lTb9YAtz3Ytmrv1FtwV6YoCbvEL1ULJIOPTET21VvBKJMihHH7B 1UtA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788795958; x=1789400758; darn=gnusha.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:content-type:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date:message-id:reply-to :content-type; bh=4Lk7BRBOoyYHZQJwPrqhhyYhikcVpn1oAuBF7cvKKfg=; b=jnwIIvFqcg41qtfVl4SBQLuXkmPsNRMPerRQ5ItsJTYKbHL4jGyI4sZrifzBuLBjWa Y7S7mkAG3EG6xHbDHicpghCRPkS5g74WdK3br9nAZIvbmjZpwp1h5kIFwVDHDOt8Y2pe Ts7DPRpl/K1q0AK2rTWTZXAdfCgusPKCnGvMyq7OQWy2H5z91/8vsiGpyg3MaUqYLtdB ExsDFvlE7+cFDO1ysspU2MvocCSeJFWV87UXk3otwGjDZZ4RJizqwgu27Kl5Gz1eLu9y UYKSlMfGCprsCB9k8/R0x16/9X9GSqz2rkZozRMI1aPPxMyboi7FDq0n0KIUzrmMdGyY yZqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788795958; x=1789400758; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:content-type:to:subject:message-id:date:from :mime-version:x-gm-gg:x-beenthere:x-gm-message-state:sender:from:to :cc:subject:date:message-id:reply-to:content-type; bh=4Lk7BRBOoyYHZQJwPrqhhyYhikcVpn1oAuBF7cvKKfg=; b=SHehAe3WhPqMBn3mgGmIYp60N6NQ9mdaSLlOjqR6XO2jhAQ1QiT3NVKcC41PWeHQ5r qr5AJe8/AXNuhGTDv/cz5dGwJffjcEue2BA3hNM9I+Wz66uRgX5zmi8fBUQBP8lR/LTS fzCT6myPin+ihuzXjlgnMG2tAmrOXuOQB0yBmGZkTa1jWEan2MZAi6599BOnQllJzGNO L3FtG4rPzdN4bVjgrg/JEed49+yvvBVF1NhOB/MqUKqVyz5VUh8dqoQ0OPPGxkQDEeqp kh7h0lT6YYND0SD46gAAloOoV8fbSQoTJHRe1IbFNnMOnNQT+zxJ8vPtg/N3s32YgGKE aOnQ== Sender: bitcoindev@googlegroups.com X-Forwarded-Encrypted: i=3; AKwUvByesh01UDsB/Xz0Q+igyYK0A9artZsL1NpdetU3MiD6+iBdCUdC4mOXfMophGuTiDsIWkqLN7o5SiX0@gnusha.org X-Gm-Message-State: AFuF++nDVR/UlCRUwNMrlnAQ56aypaUO0pFQS3BQxoS2HQ4n4Dl2cS/4 2XgALCO2LXnErd5hNpsrzLt1vkfLQ431PXVeJvyBAJZa4ZOHylEkh3A+ X-Received: by 2002:a05:6870:46a8:b0:465:127b:2620 with SMTP id 586e51a60fabf-47553a227bcmr14660805fac.17.1788795958222; Mon, 07 Sep 2026 08:45:58 -0700 (PDT) X-BeenThere: bitcoindev@googlegroups.com; h="ATskLdfm+yjuymfhxrqfmFSaPjmh9wAhW9/D6DbU6nMm8qpICQ==" Received: by 2002:a05:6870:cb85:b0:477:9322:8f3a with SMTP id 586e51a60fabf-4779322938dls1224336fac.2.-pod-prod-03-us; Mon, 07 Sep 2026 08:45:54 -0700 (PDT) X-Received: by 2002:a05:6808:1509:b0:4b3:7c33:456 with SMTP id 5614622812f47-4b96153c38bmr13927696b6e.11.1788795954243; Mon, 07 Sep 2026 08:45:54 -0700 (PDT) Received: by 2002:a05:690c:5610:10b0:844:b608:e8f7 with SMTP id 00721157ae682-86fd5bda7c4ms7b3; Fri, 4 Sep 2026 12:01:32 -0700 (PDT) X-Received: by 2002:a53:cb4e:0:b0:66f:c1bc:87fb with SMTP id 956f58d0204a3-66fc1bc89abmr867742d50.84.1788548489756; Fri, 04 Sep 2026 12:01:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1788548489; cv=pass; d=google.com; s=arc-20260327; b=OzU4Z0NDU9zhYhkd97APJIX53juTuJq3IZZpe2d+YxEauvue3027ADoCdWr4iwTevl mPO8viL5nV0sCinm9Xn5ReCjyV4MGZJcbVHrTCf9HNp/FL6Nr3WxvawOcV9B6lvTYyvf U8svaaPWO30lvXUg/6+bVUSRGOHVD+zJ/A96twjStvSSn6jQyHt3iFvB2kKF4AHuIJKe lHX0PomoFp/6g0G/wazGpN47pkJDBLrHA/UNA4k+VVQ8AHQfBrtHWUC68ZsA8xG+bj8n H0ZAUZYt8mMK9bIuHYCPCNDRDsy9M7YVD4N+LPUi50r0CcF20nuC7fDha1CfvAv/hZvJ 9U1g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=ryLpnBGruJ7FmKbXNBGLOsrlEP2m45noAXlRq4HAwC8=; fh=VcGcg+Zjs9gw1uDcHbxsAILhBAcecnbJzZRdxgKVDIc=; b=USDCiYDqpONxrjYEORYKbtzr97hXuoQ7DMZQGpQVFDQUuirMfyWusct7QYncxHYW02 y3+4qTHI3zhjrceif6HtbCkaz4ZpdN2zm2LN05BJ7W0LIhrzhMMH9H5kKO8KcXwtOkIw 0QfR0cN1+wm9yxQhXsZMzh1wmZa68d0/JzbXx2hOfbEcomHACWiv+1uHRJihbmh74gYL aBxKL8J3sajDwn+DfpGPS1GfbXi5+wvtdkB+2U7Qao3Qrj1IJ/QLwb8mcV/mTgmCJAAY EqbMArQmoCpPmMSm2hXIRZE8kk19pe4Atju3FmEr6QGOqt5846Y0dpxnaP9jJD9CDmAW +MGQ==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20251104 header.b=cdIM2GCM; arc=pass (i=1); spf=pass (google.com: domain of lilly.lezhi@gmail.com designates 2607:f8b0:4864:20::1132 as permitted sender) smtp.mailfrom=lilly.lezhi@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com Received: from mail-yw1-x1132.google.com (mail-yw1-x1132.google.com. [2607:f8b0:4864:20::1132]) by gmr-mx.google.com with ESMTPS id 956f58d0204a3-66fb7c7e938si88740d50.6.2026.09.04.12.01.29 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Sep 2026 12:01:29 -0700 (PDT) Received-SPF: pass (google.com: domain of lilly.lezhi@gmail.com designates 2607:f8b0:4864:20::1132 as permitted sender) client-ip=2607:f8b0:4864:20::1132; Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-865bdc6ed72so27787107b3.2 for ; Fri, 04 Sep 2026 12:01:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1788548489; cv=none; d=google.com; s=arc-20260327; b=owjr/X36lI9QrWVIp5jMjPngz3V42l1aYrfh5TcPLfuD6dSMHW6wLFtD/JTRneSF0v iOIlItXu2J65R0jfbHF5Iip1ro+EbDZy9eKpt4KLN67JgG24WCZgGmMxcS7E1HXQctp0 P1YHSIfNCdTsrRgHCTo8o0Jzr6kl+diTMNsjLl3srjBfsjhOYh9HNLHxixQQ5LxnHQct DxdqBg5JbHh9eUDzZxunnxbE4TtUoVX21JuIuGpY5GcYroSfOkRXYYyPzVq6rcpPuA54 FsK48+9P5vL01HkC0qwxj3petJWUwtHMJ2tpCdu0zlNN83nj+FrkYWYQBcwjzK2Ejxhu lYDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=ryLpnBGruJ7FmKbXNBGLOsrlEP2m45noAXlRq4HAwC8=; fh=VcGcg+Zjs9gw1uDcHbxsAILhBAcecnbJzZRdxgKVDIc=; b=PsUTxMAZURHfdetAOmR+yd47qRvNdlWMkQ7Oqdg4+FQzfDUNBMSfdy4my7eUdsgvpH 6AijQTBqzntkv2y4unYXhfd7CZd3eNi/zLghXu4YuQjCvFfrnZH/9gXpbppKxMvRdRup 2eKurWsilwgO+NmPaIQJ+nN0OdENiMwh3LGxraePR3oWLUAlH2PE/BTafMBJ/QBdZCK5 SfMeHyJ/ByTFgr3cBinWAUjntDiHCPirsqxFBfrt/s2zXb9zJNKqM6OvceXIIk4WqVJe nJEB/7M/yx9gTXg12oqvUy3+0tN7RH1MRtpUr0Fj41lCZt/5ECYn2vrJBYH+hl4tuf6q XE+w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; arc=none X-Gm-Gg: AYBFou3LlT8JWiC3XGRnn+fGFbAjleejxYzHLprLWueiIKOCvgR/wfqjn+JiXPr/8y1 41WCXwEwp+mikHyznrFbAfxl6aBC8cawoKG5A8xec3/5qjFYu4rXhRfxBE9YE06wDH6XMqQf1t3 1jtGM8Z2HYCIYcpVTZvaLLZou5aK5akCKaXKCwCGYdbMBeUW5C35M3/Z276F4d62942u2oWOXPB P69/z6jx0zhtBxmqyC0L2scx7897sXGVa7wG+YIaaittKGHrcy0P8ajraqHv35wiIHMlK26K2Rt u9AsjDovkCzi9a2SuXkRLr56+u0wX0tNN9d7M56fgUrO7xbY6x0JsYxm+VgdDkze58Y= X-Received: by 2002:a05:690c:6e90:b0:869:718b:ea10 with SMTP id 00721157ae682-87125efa162mr47757637b3.16.1788548489197; Fri, 04 Sep 2026 12:01:29 -0700 (PDT) MIME-Version: 1.0 From: Lillian Wang Date: Fri, 4 Sep 2026 15:01:22 -0400 X-Gm-Features: AcwNN1XlL3BtI8RHQUyPTHdL1JO2Q4-4idV0_Ak6fvWu6n8dvPlWff4bo0Yn1V8 Message-ID: Subject: [bitcoindev] Comparison of Bitcoin Covenant Proposals for Vaults To: bitcoindev@googlegroups.com Content-Type: multipart/alternative; boundary="0000000000005cba01065aace5fc" X-Original-Sender: lilly.lezhi@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20251104 header.b=cdIM2GCM; arc=pass (i=1); spf=pass (google.com: domain of lilly.lezhi@gmail.com designates 2607:f8b0:4864:20::1132 as permitted sender) smtp.mailfrom=lilly.lezhi@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com Precedence: list Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com List-ID: X-Google-Group-Id: 786775582512 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Score: -0.5 (/) --0000000000005cba01065aace5fc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello list, I am sharing a report comparing simplified Bitcoin vault constructions using presigned transactions, CTV, APO/APOAS, TXHASH, CCV, and an OP_CAT-based Purrfect Vault construction. Comparison factors include partial withdrawals, withdrawal address commitment timing, flexibility for in-transaction fee management, operational complexity, and on-chain cost. In the basic vault constructions we considered, CTV and APOAS have fully precomputed outputs and thus, like presigned transactions using SIGHASH_ALL, do not support arbitrary partial withdrawals. OP_CTV constrains the number of inputs, sequence values, and the current input index but not the input outpoints, allowing some flexibility in choosing fee-paying inputs. Meanwhile, APOAS omits more input information, meaning inputs can be added more freely. TXHASH and CCV enable vaults with greater but differing functionality. TXHASH allows vault designers to select which transaction fields and input or output indices to commit to. This versatility provides more support for fee management and partial withdrawals at the cost of placing greater responsibility on the implementer to ensure the correctness and security of each vault. CCV can enforce how the current input=E2=80=99s amount is distr= ibuted across different outputs, supporting partial withdrawals that require remaining value to be revaulted. Additionally, CCV vaults can commit to the withdrawal address in the unvault transaction rather than only during vault setup. OP_CAT can support more arbitrary introspection and constraints, depending on the construction, but the construction considered in this report requires more complex scripts and witnesses and is thus less practical in its current form. Here=E2=80=99s the full report: https://raw.githubusercontent.com/Skyler-Cloud/Bitcoin-Vault-Comparison/mai= n/bitcoin-vault-comparison.pdf I have also opened a discussion on Delving Bitcoin: https://delvingbitcoin.org/t/comparing-bitcoin-covenant-proposals-for-vault= s/2877 Hoping it will be useful for other work consolidating analyses of vault constructions. I'd appreciate any feedback or corrections, especially with my interpretations of the APOAS and CCV constructions, comparison methodology, and other opcode combinations or vault properties. Best, Lillian Wang --=20 You received this message because you are subscribed to the Google Groups "= Bitcoin Development Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to bitcoindev+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/= CAPRk7czXnrB%2ByGV5X5UnfcXK8UBrrmSayhFPVNFvY2b6BFsTng%40mail.gmail.com. --0000000000005cba01065aace5fc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello list,

I am sharing a report comparing simplif= ied Bitcoin vault constructions using presigned transactions, CTV, APO/APOA= S, TXHASH, CCV, and an OP_CAT-based Purrfect Vault construction. Comparison= factors include partial withdrawals, withdrawal address commitment timing,= flexibility for in-transaction fee management, operational complexity, and= on-chain cost.

In the basic vault constructions we considered, CTV = and APOAS have fully precomputed outputs and thus, like presigned transacti= ons using SIGHASH_ALL, do not support arbitrary partial withdrawals. OP_CTV= constrains the number of inputs, sequence values, and the current input in= dex but not the input outpoints, allowing some flexibility in choosing fee-= paying inputs. Meanwhile, APOAS omits more input information, meaning input= s can be added more freely.

TXHASH and CCV enable vaults with greate= r but differing functionality. TXHASH allows vault designers to select whic= h transaction fields and input or output indices to commit to. This versati= lity provides more support for fee management and partial withdrawals at th= e cost of placing greater responsibility on the implementer to ensure the c= orrectness and security of each vault. CCV can enforce how the current inpu= t=E2=80=99s amount is distributed across different outputs, supporting part= ial withdrawals that require remaining value to be revaulted. Additionally,= CCV vaults can commit to the withdrawal address in the unvault transaction= rather than only during vault setup. OP_CAT can support more arbitrary int= rospection and constraints, depending on the construction, but the construc= tion considered in this report requires more complex scripts and witnesses = and is thus less practical in its current form.

Here=E2=80=99s the f= ull report:
https://raw.githubusercontent.com/Skyler-Cloud/Bitcoin-Vault-Comparison= /main/bitcoin-vault-comparison.pdf

I have also opened a discussi= on on Delving Bitcoin:
https://d= elvingbitcoin.org/t/comparing-bitcoin-covenant-proposals-for-vaults/2877

Hoping it will be useful for other work consolidating analyses of= vault constructions. I'd appreciate any feedback or corrections, espec= ially with my interpretations of the APOAS and CCV constructions, compariso= n methodology, and other opcode combinations or vault properties.

Be= st,
Lillian Wang=C2=A0=C2=A0

--
You received this message because you are subscribed to the Google Groups &= quot;Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to
bitcoind= ev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/= msgid/bitcoindev/CAPRk7czXnrB%2ByGV5X5UnfcXK8UBrrmSayhFPVNFvY2b6BFsTng%40ma= il.gmail.com.
--0000000000005cba01065aace5fc--