CTV+CSFS: Can we reach consensus on a first step towards covenants?

FYI: after discussion a while back, I hacked together very small loc changes that:

  1. Makes bare CTV a first class citizen
  2. Converts CTV into a push-onto-stack taproot-only opcode

It’s a very small set of changes, does not change the hash digest formula for BIP119 (nor invalidate the unit tests), cheaper to use in conjunction with CSFS for any floating signature scheme.

edit: I also tried another alternative where bare CTV follows exactly he format today, but only softforks for that OP_NOP template, to reduce the scope of the softforking behavior where we only have to test the single bare CTV case vs additional bare scripts. It was messy and not worth it.

1 Like