{"type":"rich","version":"1.0","title":"rot13maxi [ARCHIVE] wrote","author_name":"rot13maxi [ARCHIVE] (npub12a…llglz)","author_url":"https://yabu.me/npub12aguh8y7hacsxc3c7fsjzkqh95nu9cuh4ec6htx9y3sz75722npqmllglz","provider_name":"njump","provider_url":"https://yabu.me","html":"📅 Original date posted:2022-04-22\n📝 Original message:Good morning darosior,\n\nDo you know if there is a working implementation of APO somewhere that people can use to try out some of the proposed usecases? For example, it would be great to see what eltoo would actually look like on an APO signet. Or to see some working code for a vault using covenants in an APO world.\n\nI haven’t seen much in the way of APO implementations recently, but I also haven’t gone looking, so would appreciate any links!\n\nThanks\n\nOn Fri, Apr 22, 2022 at 7:11 AM, darosior via bitcoin-dev \u003cbitcoin-dev at lists.linuxfoundation.org\u003e wrote:\n\n\u003e I would like to know people's sentiment about doing (a very slightly tweaked version of) BIP118 in place of\n\u003e (or before doing) BIP119.\n\u003e\n\u003e SIGHASH_ANYPREVOUT and its precedent iterations have been discussed for over 6 years. It presents proven and\n\u003e implemented usecases, that are demanded and (please someone correct me if i'm wrong) more widely accepted than\n\u003e CTV's.\n\u003e\n\u003e SIGHASH_ANYPREVOUTANYSCRIPT, if its \"ANYONECANPAY\" behaviour is made optional [0], can emulate CTV just fine.\n\u003e Sure then you can't have bare or Segwit v0 CTV, and it's a bit more expensive to use. But we can consider CTV\n\u003e an optimization of APO-AS covenants.\n\u003e\n\u003e CTV advocates have been presenting vaults as the flagship usecase. Although as someone who've been trying to\n\u003e implement practical vaults for the past 2 years i doubt CTV is necessary nor sufficient for this (but still\n\u003e useful!), using APO-AS covers it. And it's not a couple dozen more virtual bytes that are going to matter for\n\u003e a potential vault user.\n\u003e\n\u003e If after some time all of us who are currently dubious about CTV's stated usecases are proven wrong by onchain\n\u003e usage of a less efficient construction to achieve the same goal, we could roll-out CTV as an optimization. In\n\u003e the meantime others will have been able to deploy new applications leveraging ANYPREVOUT (Eltoo, blind\n\u003e statechains, etc..[1]).\n\u003e\n\u003e Given the interest in, and demand for, both simple covenants and better offchain protocols it seems to me that\n\u003e BIP118 is a soft fork candidate that could benefit more (if not most of) Bitcoin users.\n\u003e Actually i'd also be interested in knowing if people would oppose the APO-AS part of BIP118, since it enables\n\u003e CTV's features, for the same reason they'd oppose BIP119.\n\u003e\n\u003e [0] That is, to not commit to the other inputs of the transaction (via `sha_sequences` and maybe also\n\u003e `sha_amounts`). Cf https://github.com/bitcoin/bips/blob/master/bip-0118.mediawiki#signature-message.\n\u003e\n\u003e [1] https://anyprevout.xyz/ \"Use Cases\" section\n\u003e _______________________________________________\n\u003e bitcoin-dev mailing list\n\u003e bitcoin-dev at lists.linuxfoundation.org\n\u003e https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20220422/801f1d1e/attachment.html\u003e"}
