Also the core-devs has put a “regtest” label on the PR, can I see thr opcodes running on something like mempool.space?
regtest means you can only use it on your own computer on a private blockchain.
lol, atleast let me run on some test net that we all can view through mempool space UI.
Has anyone actually published a branch that has both CTV+CSFS? From skimming through this topic I don’t see one. It would be nice to have one on top of the major latest release of bitcoin core for integration testing the 2 opcodes together.
Good point. Greg has a PR to introduce CSFS to inquisition. This is in effect a branch with both CTV+CSFS. It’s worth noting nobody bothered reviewing it in the past 3 months.
I think the @RobinLinus and @ajtowns interactions on the BitVM & CTV+CSFS thread illustrates the subtle foot guns that come with OP_CTV as an OP_NOP and OP_SUCCESS. I don’t think I would have caught this subtle vulnerability that comes with supporting legacy Script.
This interaction occurred after the posts on this thread arguing about OP_NOP support, so I feel like its worthwhile to highlight it here.
It seems like this could be worked around since OP_CTV does commit to the scriptSig according to instagibbs
However this seems rather unpleasant.
I think Jeremy Rubin is conceding the point that at least for p2sh OP_CTV is broken?
Which leaves us with only spending “raw”/“bare” outputs to be able to commit to meaningful data in the scriptSig with CTV.
Is the juice really worth the squeeze for committing to scriptSig data?
I’ve come to see this capability of CTV (committing to other prevouts in very round-about way) as an anti-feature, an unexpected capability that is so sharp-edged that if it’s something we want we should explicitly design for it instead to discourage such bizarre usage.
Alternatively we could remove the capability by making non-empty scriptSigs fail the script execution. This of course only makes sense in a post-segwit world only which I’ve already advocated above as a taproot-only push opcode.
This of course only makes sense in a post-segwit world only which I’ve already advocated above as a taproot-only push opcode.
@instagibbs If a taproot-only push opcode is the way to go, would it make sense to introduce a new witness version for bare tapscript?
That way, you can still make bare CTV commitments (leaving other types of bare scripts non-standard).
I did here CTV+CSFS: Can we reach consensus on a first step towards covenants? - #58 by instagibbs
I find it nice to consider both separately, even if they both end up being adopted.