Published on: 2023-09-15T00:23:31+00:00
Salvatore Ingala has presented a proposal for the core opcodes of MATT, including revisions and improvements to the implementation. The code is implemented in the bitcoin-inquisition repository fork, along with OP_CHECKTEMPLATEVERIFY. The changes made include replacing OP_CHECK{IN, OUT}CONTRACTVERIFY with a single opcode called OP_CHECKCONTRACTVERIFY (CCV) and introducing an additional `flags` parameter. The order of parameters has also been modified for better script writing. Various flags are defined, such as CCV_FLAG_CHECK_INPUT and CCV_FLAG_IGNORE_OUTPUT_AMOUNT. Special values are defined for certain parameters. The email emphasizes the flexibility and generality achieved with the new opcode, but acknowledges the potential benefits of additional opcodes and introspection. The email includes several references, including a website mentioning OP_CHECKCONTRACTVERIFY, a mailing list post discussing the MATT proposal, and a GitHub repository with the code implementation.
Updated on: 2023-09-16T01:51:28.673509+00:00