<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <updated>2023-06-07T01:23:15Z</updated>
  <generator>https://yabu.me</generator>

  <title>Nostr notes by Nadav Ivgi [ARCHIVE]</title>
  <author>
    <name>Nadav Ivgi [ARCHIVE]</name>
  </author>
  <link rel="self" type="application/atom+xml" href="https://yabu.me/npub1f2w9pm06c4k9ay8rst7757thahg2tfrtd0n645zxrtsqwhvaysrswydpll.rss" />
  <link href="https://yabu.me/npub1f2w9pm06c4k9ay8rst7757thahg2tfrtd0n645zxrtsqwhvaysrswydpll" />
  <id>https://yabu.me/npub1f2w9pm06c4k9ay8rst7757thahg2tfrtd0n645zxrtsqwhvaysrswydpll</id>
  <icon></icon>
  <logo></logo>




  <entry>
    <id>https://yabu.me/nevent1qqsfh7dl3w6s37gynemz8nx3udgntddwwqqrag02007w9w4y53eqgzgzyp9fc58dltzkch5suwp0m6newlkapfdydd4702ksgcdwqp6an5jqwtsm5lu</id>
    
      <title type="html">📅 Original date posted:2022-05-01 📝 Original message:&amp;gt; ...</title>
    
    <link rel="alternate" href="https://yabu.me/nevent1qqsfh7dl3w6s37gynemz8nx3udgntddwwqqrag02007w9w4y53eqgzgzyp9fc58dltzkch5suwp0m6newlkapfdydd4702ksgcdwqp6an5jqwtsm5lu" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsysla7epxrjhju72jna30dpcaajeue2urpw86ucfygq0hgzun78xg46mjcy&#39;&gt;nevent1q…mjcy&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-05-01&lt;br/&gt;📝 Original message:&amp;gt; via `sha_sequences`&lt;br/&gt;&lt;br/&gt;Since you cannot expect txid stability with &amp;gt;1 inputs either way[0], it&lt;br/&gt;should be sufficient to commit just to the current input&amp;#39;s&lt;br/&gt;nSequence/scriptSig to get txid stability for single input transactions. I&lt;br/&gt;chatted with Jeremy about this and he appears to agree.&lt;br/&gt;&lt;br/&gt;Not committing to the nSequence of other inputs gives them the freedom to&lt;br/&gt;set it independently, so for example you can spend a CSV-encumbered output&lt;br/&gt;alongside the covenant. And there seems to be no downside to doing this [1].&lt;br/&gt;&lt;br/&gt;APO/APOAS already commits to the nSequence of the current input. And since&lt;br/&gt;APO is Taproot-only, the scriptSig of the covenant input is guarrnated to&lt;br/&gt;be empty, so it is also already committed to in a way.&lt;br/&gt;&lt;br/&gt;However, without committing to all the nSequences which implicitly commits&lt;br/&gt;to the number of inputs, the number has to be committed separately.&lt;br/&gt;&lt;br/&gt;So my suggestion is to explicitly commit to the number of inputs, instead&lt;br/&gt;of commiting to `sha_sequences`.&lt;br/&gt;&lt;br/&gt;Cheers&lt;br/&gt;shesek&lt;br/&gt;&lt;br/&gt;[0] the additional input(s) will be third-party malleable, since their&lt;br/&gt;prevouts can be replaced with an entirely different txid:vout&lt;br/&gt;[1] BIP 119&amp;#39;s rationale for committing to the nSequences is txid&lt;br/&gt;malleability:&lt;br/&gt;&lt;a href=&#34;https://github.com/bitcoin/bips/blob/master/bip-0119.mediawiki#committing-to-the-sequences-hash&#34;&gt;https://github.com/bitcoin/bips/blob/master/bip-0119.mediawiki#committing-to-the-sequences-hash&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;On Sat, Apr 30, 2022 at 11:09 AM Nadav Ivgi &amp;lt;nadav at shesek.info&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; Hi darosior,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; It&amp;#39;s interesting to note that APOAS|SINGLE (with the ANYONECANPAY&lt;br/&gt;&amp;gt; behaviour and without covering the spent input index) has some interesting&lt;br/&gt;&amp;gt; uses for cases where the covenant only needs to restrict a single output&lt;br/&gt;&amp;gt; (so useful for e.g. vaults or spacechains, but not for batch channels or&lt;br/&gt;&amp;gt; congestion control).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; For example in the vault use-case, it makes it possible to bump fees on&lt;br/&gt;&amp;gt; the unvault tx by adding more inputs and a change output, as well as&lt;br/&gt;&amp;gt; unvault multiple vaulted outputs in a single transaction.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; For spacechains, it makes it possible to add the spaceblock hash OP_RETURN&lt;br/&gt;&amp;gt; and pay fees directly in the tx chain, instead of having to use an&lt;br/&gt;&amp;gt; additional tx to prepare an output that gets spent in the tx chain  (see&lt;br/&gt;&amp;gt; the diagram in [0]).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; via `sha_sequences` and maybe also `sha_amounts`&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; CTV does not commit to the input amounts. This has some practical&lt;br/&gt;&amp;gt; implications:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; 1. If it is committed, sending an even slightly incorrect amount will make&lt;br/&gt;&amp;gt; the covenant-encumbered spend path unusable.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; With CTV, sending a slightly lower amount results in slightly lower fees,&lt;br/&gt;&amp;gt; while any extra gets spent/burned on fees. The covenant spend path only&lt;br/&gt;&amp;gt; becomes unusable if the amount is too low to cover for the outputs (&#43;relay&lt;br/&gt;&amp;gt; fee for it to also be standard).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; 2. The ability to allow for additional inputs with unknown amounts makes&lt;br/&gt;&amp;gt; it possible to fee-bump the covenant spending transaction (with whole utxos&lt;br/&gt;&amp;gt; and no change). You can have one tapleaf for spending the covenant output&lt;br/&gt;&amp;gt; alone, and another one for attaching an extra fee input to it.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; This also makes it possible to resolve the under-payment issue described&lt;br/&gt;&amp;gt; in (1), by adding an input that covers the original intended amount.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; So my suggestion would be to either not cover `sha_amounts` in the msg&lt;br/&gt;&amp;gt; hash, or to make it optional behind a flag.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; shesek&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; [0] &lt;a href=&#34;https://github.com/fiatjaf/simple-ctv-spacechain&#34;&gt;https://github.com/fiatjaf/simple-ctv-spacechain&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; On Fri, Apr 22, 2022 at 2:23 PM darosior via bitcoin-dev &amp;lt;&lt;br/&gt;&amp;gt; bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; I would like to know people&amp;#39;s sentiment about doing (a very slightly&lt;br/&gt;&amp;gt;&amp;gt; tweaked version of) BIP118 in place of&lt;br/&gt;&amp;gt;&amp;gt; (or before doing) BIP119.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; SIGHASH_ANYPREVOUT and its precedent iterations have been discussed for&lt;br/&gt;&amp;gt;&amp;gt; over 6 years. It presents proven and&lt;br/&gt;&amp;gt;&amp;gt; implemented usecases, that are demanded and (please someone correct me if&lt;br/&gt;&amp;gt;&amp;gt; i&amp;#39;m wrong) more widely accepted than&lt;br/&gt;&amp;gt;&amp;gt; CTV&amp;#39;s.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; SIGHASH_ANYPREVOUTANYSCRIPT, if its &amp;#34;ANYONECANPAY&amp;#34; behaviour is made&lt;br/&gt;&amp;gt;&amp;gt; optional [0], can emulate CTV just fine.&lt;br/&gt;&amp;gt;&amp;gt; Sure then you can&amp;#39;t have bare or Segwit v0 CTV, and it&amp;#39;s a bit more&lt;br/&gt;&amp;gt;&amp;gt; expensive to use. But we can consider CTV&lt;br/&gt;&amp;gt;&amp;gt; an optimization of APO-AS covenants.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; CTV advocates have been presenting vaults as the flagship usecase.&lt;br/&gt;&amp;gt;&amp;gt; Although as someone who&amp;#39;ve been trying to&lt;br/&gt;&amp;gt;&amp;gt; implement practical vaults for the past 2 years i doubt CTV is necessary&lt;br/&gt;&amp;gt;&amp;gt; nor sufficient for this (but still&lt;br/&gt;&amp;gt;&amp;gt; useful!), using APO-AS covers it. And it&amp;#39;s not a couple dozen more&lt;br/&gt;&amp;gt;&amp;gt; virtual bytes that are going to matter for&lt;br/&gt;&amp;gt;&amp;gt; a potential vault user.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; If after some time all of us who are currently dubious about CTV&amp;#39;s stated&lt;br/&gt;&amp;gt;&amp;gt; usecases are proven wrong by onchain&lt;br/&gt;&amp;gt;&amp;gt; usage of a less efficient construction to achieve the same goal, we could&lt;br/&gt;&amp;gt;&amp;gt; roll-out CTV as an optimization.  In&lt;br/&gt;&amp;gt;&amp;gt; the meantime others will have been able to deploy new applications&lt;br/&gt;&amp;gt;&amp;gt; leveraging ANYPREVOUT (Eltoo, blind&lt;br/&gt;&amp;gt;&amp;gt; statechains, etc..[1]).&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Given the interest in, and demand for, both simple covenants and better&lt;br/&gt;&amp;gt;&amp;gt; offchain protocols it seems to me that&lt;br/&gt;&amp;gt;&amp;gt; BIP118 is a soft fork candidate that could benefit more (if not most of)&lt;br/&gt;&amp;gt;&amp;gt; Bitcoin users.&lt;br/&gt;&amp;gt;&amp;gt; Actually i&amp;#39;d also be interested in knowing if people would oppose the&lt;br/&gt;&amp;gt;&amp;gt; APO-AS part of BIP118, since it enables&lt;br/&gt;&amp;gt;&amp;gt; CTV&amp;#39;s features, for the same reason they&amp;#39;d oppose BIP119.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; [0] That is, to not commit to the other inputs of the transaction (via&lt;br/&gt;&amp;gt;&amp;gt; `sha_sequences` and maybe also&lt;br/&gt;&amp;gt;&amp;gt; `sha_amounts`). Cf&lt;br/&gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://github.com/bitcoin/bips/blob/master/bip-0118.mediawiki#signature-message&#34;&gt;https://github.com/bitcoin/bips/blob/master/bip-0118.mediawiki#signature-message&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt; .&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; [1] &lt;a href=&#34;https://anyprevout.xyz/&#34;&gt;https://anyprevout.xyz/&lt;/a&gt; &amp;#34;Use Cases&amp;#34; section&lt;br/&gt;&amp;gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt;&amp;gt; bitcoin-dev mailing list&lt;br/&gt;&amp;gt;&amp;gt; bitcoin-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20220501/515b1504/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20220501/515b1504/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T23:08:53Z</updated>
  </entry>

  <entry>
    <id>https://yabu.me/nevent1qqsxv5q0s3e23q04tyv9klutna2mu75ykxd256gd0gkuvtwzzg372jczyp9fc58dltzkch5suwp0m6newlkapfdydd4702ksgcdwqp6an5jqwydymtv</id>
    
      <title type="html">📅 Original date posted:2022-04-29 📝 Original ...</title>
    
    <link rel="alternate" href="https://yabu.me/nevent1qqsxv5q0s3e23q04tyv9klutna2mu75ykxd256gd0gkuvtwzzg372jczyp9fc58dltzkch5suwp0m6newlkapfdydd4702ksgcdwqp6an5jqwydymtv" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqspvyqm7kugr8q47qc3yn022p3yjhk7s5l880hpuskcqqxpx4np4wgu6jr5n&#39;&gt;nevent1q…jr5n&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-04-29&lt;br/&gt;📝 Original message:Here&amp;#39;s a summary of the trade-offs I see for using APO as a CTV alternative:&lt;br/&gt;&lt;br/&gt;1. The resulting txids are not stable.&lt;br/&gt;&lt;br/&gt;CTV commits to enough tx information such that given the txid:vout of the&lt;br/&gt;covenant-encumbered output, you can predict the txid of the spending tx&lt;br/&gt;permitted by CTV (and of the entire transaction graph descending from it).&lt;br/&gt;&lt;br/&gt;This property could be important for some of the proposed CTV use-cases,&lt;br/&gt;like channel factories.&lt;br/&gt;&lt;br/&gt;2. APO will only be available on Taproot, which some people might prefer to&lt;br/&gt;avoid for long-term multi-decade vault storage due to QC concerns. (also&lt;br/&gt;see my previous post on this thread [0])&lt;br/&gt;&lt;br/&gt;3. Higher witness satisfaction cost of roughly 3x vbytes vs CTV-in-Taproot&lt;br/&gt;(plus 33 extra vbytes vs CTV-in-segwitv0 *in the case of a single CTV&lt;br/&gt;branch*, for the taproot control block. with more branches CTV-in-taproot&lt;br/&gt;eventually becomes preferable).&lt;br/&gt;&lt;br/&gt;4. Higher network-wide full-node validation costs (checking a signature is&lt;br/&gt;quite more expensive than hashing, and the hashing is done in both cases).&lt;br/&gt;&lt;br/&gt;5. As APO is currently spec&amp;#39;d, it would suffer from the half-spend problem:&lt;br/&gt;if you have multiple outputs encumbered under an APO covenant that requires&lt;br/&gt;the same tx sigmsg hash, it becomes possible to spend all of them together&lt;br/&gt;as multiple inputs in a single transaction and burn the extra to mining&lt;br/&gt;fees.&lt;br/&gt;&lt;br/&gt;If I&amp;#39;m not mistaken, I believe this makes the simple-apo-vault&lt;br/&gt;implementation [1] vulnerable to spending multiple vaulted outputs of the&lt;br/&gt;same denomination together and burning all but the first one. I asked the&lt;br/&gt;author for a more definitive answer on twitter [2].&lt;br/&gt;&lt;br/&gt;Fixing this requires amending BIP 118 with some new sigmsg flags (making&lt;br/&gt;the ANYONECANPAY behaviour optional, as mentioned in the OP).&lt;br/&gt;&lt;br/&gt;This is definitely possible but also means that APO as-is isn&amp;#39;t a&lt;br/&gt;CTV-replacement candidate, without first going through some more design and&lt;br/&gt;review iterations.&lt;br/&gt;&lt;br/&gt;shesek&lt;br/&gt;&lt;br/&gt;[0]&lt;br/&gt;&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2022-April/020326.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2022-April/020326.html&lt;/a&gt;&lt;br/&gt;[1] &lt;a href=&#34;https://github.com/darosior/simple-anyprevout-vault&#34;&gt;https://github.com/darosior/simple-anyprevout-vault&lt;/a&gt;&lt;br/&gt;[2] &lt;a href=&#34;https://twitter.com/shesek/status/1519874493434544128&#34;&gt;https://twitter.com/shesek/status/1519874493434544128&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;On Fri, Apr 22, 2022 at 2:23 PM darosior via bitcoin-dev &amp;lt;&lt;br/&gt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; I would like to know people&amp;#39;s sentiment about doing (a very slightly&lt;br/&gt;&amp;gt; tweaked version of) BIP118 in place of&lt;br/&gt;&amp;gt; (or before doing) BIP119.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; SIGHASH_ANYPREVOUT and its precedent iterations have been discussed for&lt;br/&gt;&amp;gt; over 6 years. It presents proven and&lt;br/&gt;&amp;gt; implemented usecases, that are demanded and (please someone correct me if&lt;br/&gt;&amp;gt; i&amp;#39;m wrong) more widely accepted than&lt;br/&gt;&amp;gt; CTV&amp;#39;s.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; SIGHASH_ANYPREVOUTANYSCRIPT, if its &amp;#34;ANYONECANPAY&amp;#34; behaviour is made&lt;br/&gt;&amp;gt; optional [0], can emulate CTV just fine.&lt;br/&gt;&amp;gt; Sure then you can&amp;#39;t have bare or Segwit v0 CTV, and it&amp;#39;s a bit more&lt;br/&gt;&amp;gt; expensive to use. But we can consider CTV&lt;br/&gt;&amp;gt; an optimization of APO-AS covenants.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; CTV advocates have been presenting vaults as the flagship usecase.&lt;br/&gt;&amp;gt; Although as someone who&amp;#39;ve been trying to&lt;br/&gt;&amp;gt; implement practical vaults for the past 2 years i doubt CTV is necessary&lt;br/&gt;&amp;gt; nor sufficient for this (but still&lt;br/&gt;&amp;gt; useful!), using APO-AS covers it. And it&amp;#39;s not a couple dozen more virtual&lt;br/&gt;&amp;gt; bytes that are going to matter for&lt;br/&gt;&amp;gt; a potential vault user.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; If after some time all of us who are currently dubious about CTV&amp;#39;s stated&lt;br/&gt;&amp;gt; usecases are proven wrong by onchain&lt;br/&gt;&amp;gt; usage of a less efficient construction to achieve the same goal, we could&lt;br/&gt;&amp;gt; roll-out CTV as an optimization.  In&lt;br/&gt;&amp;gt; the meantime others will have been able to deploy new applications&lt;br/&gt;&amp;gt; leveraging ANYPREVOUT (Eltoo, blind&lt;br/&gt;&amp;gt; statechains, etc..[1]).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Given the interest in, and demand for, both simple covenants and better&lt;br/&gt;&amp;gt; offchain protocols it seems to me that&lt;br/&gt;&amp;gt; BIP118 is a soft fork candidate that could benefit more (if not most of)&lt;br/&gt;&amp;gt; Bitcoin users.&lt;br/&gt;&amp;gt; Actually i&amp;#39;d also be interested in knowing if people would oppose the&lt;br/&gt;&amp;gt; APO-AS part of BIP118, since it enables&lt;br/&gt;&amp;gt; CTV&amp;#39;s features, for the same reason they&amp;#39;d oppose BIP119.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; [0] That is, to not commit to the other inputs of the transaction (via&lt;br/&gt;&amp;gt; `sha_sequences` and maybe also&lt;br/&gt;&amp;gt; `sha_amounts`). Cf&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://github.com/bitcoin/bips/blob/master/bip-0118.mediawiki#signature-message&#34;&gt;https://github.com/bitcoin/bips/blob/master/bip-0118.mediawiki#signature-message&lt;/a&gt;&lt;br/&gt;&amp;gt; .&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; [1] &lt;a href=&#34;https://anyprevout.xyz/&#34;&gt;https://anyprevout.xyz/&lt;/a&gt; &amp;#34;Use Cases&amp;#34; section&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; bitcoin-dev mailing list&lt;br/&gt;&amp;gt; bitcoin-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20220429/08486216/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20220429/08486216/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T23:08:03Z</updated>
  </entry>

  <entry>
    <id>https://yabu.me/nevent1qqsr6av756y540j2dxe5wgrqd5xkssqtk8v4m2s26sq7wkt02ld02dqzyp9fc58dltzkch5suwp0m6newlkapfdydd4702ksgcdwqp6an5jqwpchkjd</id>
    
      <title type="html">📅 Original date posted:2022-04-25 📝 Original ...</title>
    
    <link rel="alternate" href="https://yabu.me/nevent1qqsr6av756y540j2dxe5wgrqd5xkssqtk8v4m2s26sq7wkt02ld02dqzyp9fc58dltzkch5suwp0m6newlkapfdydd4702ksgcdwqp6an5jqwpchkjd" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs0l26er23q208aa76klzqzq7m5m2pgmapz0z5mnqpqsaznyc2ml0sxslv38&#39;&gt;nevent1q…lv38&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-04-25&lt;br/&gt;📝 Original message:darosior via bitcoin-dev wrote:&lt;br/&gt;&amp;gt; i doubt CTV is necessary nor sufficient for this&lt;br/&gt;&lt;br/&gt;I would be interested to hear more on this.&lt;br/&gt;&lt;br/&gt;Is it not necessary because you can exchange and store pre-signed&lt;br/&gt;transactions instead?&lt;br/&gt;&lt;br/&gt;What purpose is it not sufficient for? There are some vault designs out&lt;br/&gt;there that are able to achieve interesting properties with CTV, like James&lt;br/&gt;O&amp;#39;Beirne&amp;#39;s simple-ctv-vault:&lt;br/&gt;&lt;br/&gt;&lt;a href=&#34;https://github.com/jamesob/simple-ctv-vault&#34;&gt;https://github.com/jamesob/simple-ctv-vault&lt;/a&gt;&lt;br/&gt;(the basic design expressed in Minsc:&lt;br/&gt;&lt;a href=&#34;https://min.sc/nextc/#gist=001cf1fcb0e24ca9f3614c4db9bfe57d:4&#34;&gt;https://min.sc/nextc/#gist=001cf1fcb0e24ca9f3614c4db9bfe57d:4&lt;/a&gt;)&lt;br/&gt;&lt;br/&gt;On Fri, Apr 22, 2022 at 2:23 PM darosior via bitcoin-dev &amp;lt;&lt;br/&gt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; I would like to know people&amp;#39;s sentiment about doing (a very slightly&lt;br/&gt;&amp;gt; tweaked version of) BIP118 in place of&lt;br/&gt;&amp;gt; (or before doing) BIP119.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; SIGHASH_ANYPREVOUT and its precedent iterations have been discussed for&lt;br/&gt;&amp;gt; over 6 years. It presents proven and&lt;br/&gt;&amp;gt; implemented usecases, that are demanded and (please someone correct me if&lt;br/&gt;&amp;gt; i&amp;#39;m wrong) more widely accepted than&lt;br/&gt;&amp;gt; CTV&amp;#39;s.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; SIGHASH_ANYPREVOUTANYSCRIPT, if its &amp;#34;ANYONECANPAY&amp;#34; behaviour is made&lt;br/&gt;&amp;gt; optional [0], can emulate CTV just fine.&lt;br/&gt;&amp;gt; Sure then you can&amp;#39;t have bare or Segwit v0 CTV, and it&amp;#39;s a bit more&lt;br/&gt;&amp;gt; expensive to use. But we can consider CTV&lt;br/&gt;&amp;gt; an optimization of APO-AS covenants.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; CTV advocates have been presenting vaults as the flagship usecase.&lt;br/&gt;&amp;gt; Although as someone who&amp;#39;ve been trying to&lt;br/&gt;&amp;gt; implement practical vaults for the past 2 years i doubt CTV is necessary&lt;br/&gt;&amp;gt; nor sufficient for this (but still&lt;br/&gt;&amp;gt; useful!), using APO-AS covers it. And it&amp;#39;s not a couple dozen more virtual&lt;br/&gt;&amp;gt; bytes that are going to matter for&lt;br/&gt;&amp;gt; a potential vault user.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; If after some time all of us who are currently dubious about CTV&amp;#39;s stated&lt;br/&gt;&amp;gt; usecases are proven wrong by onchain&lt;br/&gt;&amp;gt; usage of a less efficient construction to achieve the same goal, we could&lt;br/&gt;&amp;gt; roll-out CTV as an optimization.  In&lt;br/&gt;&amp;gt; the meantime others will have been able to deploy new applications&lt;br/&gt;&amp;gt; leveraging ANYPREVOUT (Eltoo, blind&lt;br/&gt;&amp;gt; statechains, etc..[1]).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Given the interest in, and demand for, both simple covenants and better&lt;br/&gt;&amp;gt; offchain protocols it seems to me that&lt;br/&gt;&amp;gt; BIP118 is a soft fork candidate that could benefit more (if not most of)&lt;br/&gt;&amp;gt; Bitcoin users.&lt;br/&gt;&amp;gt; Actually i&amp;#39;d also be interested in knowing if people would oppose the&lt;br/&gt;&amp;gt; APO-AS part of BIP118, since it enables&lt;br/&gt;&amp;gt; CTV&amp;#39;s features, for the same reason they&amp;#39;d oppose BIP119.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; [0] That is, to not commit to the other inputs of the transaction (via&lt;br/&gt;&amp;gt; `sha_sequences` and maybe also&lt;br/&gt;&amp;gt; `sha_amounts`). Cf&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://github.com/bitcoin/bips/blob/master/bip-0118.mediawiki#signature-message&#34;&gt;https://github.com/bitcoin/bips/blob/master/bip-0118.mediawiki#signature-message&lt;/a&gt;&lt;br/&gt;&amp;gt; .&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; [1] &lt;a href=&#34;https://anyprevout.xyz/&#34;&gt;https://anyprevout.xyz/&lt;/a&gt; &amp;#34;Use Cases&amp;#34; section&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; bitcoin-dev mailing list&lt;br/&gt;&amp;gt; bitcoin-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20220425/cd6fa22e/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20220425/cd6fa22e/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T23:08:02Z</updated>
  </entry>

  <entry>
    <id>https://yabu.me/nevent1qqs0l26er23q208aa76klzqzq7m5m2pgmapz0z5mnqpqsaznyc2ml0szyp9fc58dltzkch5suwp0m6newlkapfdydd4702ksgcdwqp6an5jqwc3vr73</id>
    
      <title type="html">📅 Original date posted:2022-04-25 📝 Original ...</title>
    
    <link rel="alternate" href="https://yabu.me/nevent1qqs0l26er23q208aa76klzqzq7m5m2pgmapz0z5mnqpqsaznyc2ml0szyp9fc58dltzkch5suwp0m6newlkapfdydd4702ksgcdwqp6an5jqwc3vr73" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqspe04gk55j9980crkn0fmp0mzmcrve8wrxck0z4fk3u3g0rxag0yc3jpzsk&#39;&gt;nevent1q…pzsk&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-04-25&lt;br/&gt;📝 Original message:darosior via bitcoin-dev wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; CTV advocates have been presenting vaults as the flagship usecase.&lt;br/&gt;Although as someone who&amp;#39;ve been trying to&lt;br/&gt;&amp;gt; implement practical vaults for the past 2 years i doubt CTV is necessary&lt;br/&gt;nor sufficient for this (but still&lt;br/&gt;&amp;gt; useful!), using APO-AS covers it. And it&amp;#39;s not a couple dozen more&lt;br/&gt;virtual bytes that are going to matter for&lt;br/&gt;&amp;gt; a potential vault user.&lt;br/&gt;&lt;br/&gt;Some potential vault users looking to store funds for long time periods&lt;br/&gt;(say of decades) might have quantumphobia and prefer to avoid Taproot for&lt;br/&gt;that reason.&lt;br/&gt;&lt;br/&gt;One of the arguments presented for not using pubkey hashes in Taproot is&lt;br/&gt;that quantumphobic people could choose to continue using non-Taproot&lt;br/&gt;outputs. Making a feature that&amp;#39;s targeted for long-term cold-storage vaults&lt;br/&gt;available on Taproot only might be less ideal in that view.&lt;br/&gt;&lt;br/&gt;Cheers&lt;br/&gt;shesek&lt;br/&gt;&lt;br/&gt;On Fri, Apr 22, 2022 at 2:23 PM darosior via bitcoin-dev &amp;lt;&lt;br/&gt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; I would like to know people&amp;#39;s sentiment about doing (a very slightly&lt;br/&gt;&amp;gt; tweaked version of) BIP118 in place of&lt;br/&gt;&amp;gt; (or before doing) BIP119.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; SIGHASH_ANYPREVOUT and its precedent iterations have been discussed for&lt;br/&gt;&amp;gt; over 6 years. It presents proven and&lt;br/&gt;&amp;gt; implemented usecases, that are demanded and (please someone correct me if&lt;br/&gt;&amp;gt; i&amp;#39;m wrong) more widely accepted than&lt;br/&gt;&amp;gt; CTV&amp;#39;s.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; SIGHASH_ANYPREVOUTANYSCRIPT, if its &amp;#34;ANYONECANPAY&amp;#34; behaviour is made&lt;br/&gt;&amp;gt; optional [0], can emulate CTV just fine.&lt;br/&gt;&amp;gt; Sure then you can&amp;#39;t have bare or Segwit v0 CTV, and it&amp;#39;s a bit more&lt;br/&gt;&amp;gt; expensive to use. But we can consider CTV&lt;br/&gt;&amp;gt; an optimization of APO-AS covenants.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; CTV advocates have been presenting vaults as the flagship usecase.&lt;br/&gt;&amp;gt; Although as someone who&amp;#39;ve been trying to&lt;br/&gt;&amp;gt; implement practical vaults for the past 2 years i doubt CTV is necessary&lt;br/&gt;&amp;gt; nor sufficient for this (but still&lt;br/&gt;&amp;gt; useful!), using APO-AS covers it. And it&amp;#39;s not a couple dozen more virtual&lt;br/&gt;&amp;gt; bytes that are going to matter for&lt;br/&gt;&amp;gt; a potential vault user.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; If after some time all of us who are currently dubious about CTV&amp;#39;s stated&lt;br/&gt;&amp;gt; usecases are proven wrong by onchain&lt;br/&gt;&amp;gt; usage of a less efficient construction to achieve the same goal, we could&lt;br/&gt;&amp;gt; roll-out CTV as an optimization.  In&lt;br/&gt;&amp;gt; the meantime others will have been able to deploy new applications&lt;br/&gt;&amp;gt; leveraging ANYPREVOUT (Eltoo, blind&lt;br/&gt;&amp;gt; statechains, etc..[1]).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Given the interest in, and demand for, both simple covenants and better&lt;br/&gt;&amp;gt; offchain protocols it seems to me that&lt;br/&gt;&amp;gt; BIP118 is a soft fork candidate that could benefit more (if not most of)&lt;br/&gt;&amp;gt; Bitcoin users.&lt;br/&gt;&amp;gt; Actually i&amp;#39;d also be interested in knowing if people would oppose the&lt;br/&gt;&amp;gt; APO-AS part of BIP118, since it enables&lt;br/&gt;&amp;gt; CTV&amp;#39;s features, for the same reason they&amp;#39;d oppose BIP119.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; [0] That is, to not commit to the other inputs of the transaction (via&lt;br/&gt;&amp;gt; `sha_sequences` and maybe also&lt;br/&gt;&amp;gt; `sha_amounts`). Cf&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://github.com/bitcoin/bips/blob/master/bip-0118.mediawiki#signature-message&#34;&gt;https://github.com/bitcoin/bips/blob/master/bip-0118.mediawiki#signature-message&lt;/a&gt;&lt;br/&gt;&amp;gt; .&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; [1] &lt;a href=&#34;https://anyprevout.xyz/&#34;&gt;https://anyprevout.xyz/&lt;/a&gt; &amp;#34;Use Cases&amp;#34; section&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; bitcoin-dev mailing list&lt;br/&gt;&amp;gt; bitcoin-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20220425/598ecaae/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20220425/598ecaae/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T23:08:01Z</updated>
  </entry>

</feed>