{"type":"rich","version":"1.0","title":"darosior [ARCHIVE] wrote","author_name":"darosior [ARCHIVE] (npub1pj…x22xp)","author_url":"https://yabu.me/npub1pj9022f74rzq7d5x7gnxje6wpsgk4r5jgeck8y5awd423ydhan3q7x22xp","provider_name":"njump","provider_url":"https://yabu.me","html":"📅 Original date posted:2022-04-22\n📝 Original message:I would like to know people's sentiment about doing (a very slightly tweaked version of) BIP118 in place of\n(or before doing) BIP119.\n\nSIGHASH_ANYPREVOUT and its precedent iterations have been discussed for over 6 years. It presents proven and\nimplemented usecases, that are demanded and (please someone correct me if i'm wrong) more widely accepted than\nCTV's.\n\nSIGHASH_ANYPREVOUTANYSCRIPT, if its \"ANYONECANPAY\" behaviour is made optional [0], can emulate CTV just fine.\nSure then you can't have bare or Segwit v0 CTV, and it's a bit more expensive to use. But we can consider CTV\nan optimization of APO-AS covenants.\n\nCTV advocates have been presenting vaults as the flagship usecase. Although as someone who've been trying to\nimplement practical vaults for the past 2 years i doubt CTV is necessary nor sufficient for this (but still\nuseful!), using APO-AS covers it. And it's not a couple dozen more virtual bytes that are going to matter for\na potential vault user.\n\nIf after some time all of us who are currently dubious about CTV's stated usecases are proven wrong by onchain\nusage of a less efficient construction to achieve the same goal, we could roll-out CTV as an optimization.  In\nthe meantime others will have been able to deploy new applications leveraging ANYPREVOUT (Eltoo, blind\nstatechains, etc..[1]).\n\n\nGiven the interest in, and demand for, both simple covenants and better offchain protocols it seems to me that\nBIP118 is a soft fork candidate that could benefit more (if not most of) Bitcoin users.\nActually i'd also be interested in knowing if people would oppose the APO-AS part of BIP118, since it enables\nCTV's features, for the same reason they'd oppose BIP119.\n\n\n[0] That is, to not commit to the other inputs of the transaction (via `sha_sequences` and maybe also\n`sha_amounts`). Cf https://github.com/bitcoin/bips/blob/master/bip-0118.mediawiki#signature-message.\n\n[1] https://anyprevout.xyz/ \"Use Cases\" section"}
