fiatjaf / anyprevout.xyz

a website promoting bip118
https://anyprevout.xyz/
9 stars 2 forks source link

Revise claim that all CTV Covenants are possible with AnyPrevout #1

Open JeremyRubin opened 3 years ago

JeremyRubin commented 3 years ago

It's not technically accurate, there are some key differences that are possible with CTV and not with ANYPREVOUT. If you need help indexing them, I can help point out.

fiatjaf commented 3 years ago

I've followed some discussions between you and Ruben and that was my conclusion. But since you're saying no then I need help understanding. Maybe just pointing me to examples.

JeremyRubin commented 3 years ago

not sure they're archived completely anywhere, but a few off the dome:

1) CTV can commit to multiple sequences in a single txn (uses for hashrate contracts) 2) CTV does not commit to amounts, which makes it easier to pay into (you have to specify pay at least X, but it's not pay exact which has uses for dynamic fees). 3) CTV can commit to scriptsigs for other inputs, which enables CTV to be used in apps which:

fiatjaf commented 3 years ago

Ok, thank you, I don't quite follow all these, but for now will change "all" to "some" and hopefully later I can add more details. Sorry for the trouble and misleading information. 133c2460723d8f9f9748139d4b75889054bb5ef3

Maybe I should just remove any reference to OP_CTV and just list what anyprevout can do instead.

JeremyRubin commented 3 years ago

no sweat; it's pretty confusing and there is a lot of edge wrt what can be done and in what contexts.