Skip to main content
4 of 7
added 51 characters in body
Michael Folkson
  • 15.8k
  • 3
  • 21
  • 58

Are eltoo channel constructions possible with the proposed CheckTemplateVerify opcode?

SIGHASH_ANYPREVOUT has been designed as I understand primarily for the eltoo channel construction use case although it has many other potential use cases too.

It was stated on Twitter that the proposed opcode CHECKTEMPLATEVERIFY can also support eltoo channel constructions. Is this the case?

The second part of that tweet ("APO isn’t enough on its own for Eltoo") I think is just false unless they are referring to ANYPREVOUTANYSCRIPT.

Jeremy Rubin stated on IRC that CTV commits to all scriptsigs and sequences whereas ANYPREVOUT does not.

He also stated that CTV and CHECKSIGFROMSTACK can emulate ANYPREVOUT but I haven't found further details.

Michael Folkson
  • 15.8k
  • 3
  • 21
  • 58