bitcoin-dev

CHECKSIGFROMSTACK(VERIFY/ADD)

CHECKSIGFROMSTACK(VERIFY/ADD)

Original Postby moonsettler

Posted on: November 23, 2024 19:45 UTC

The discussion revolves around the potential removal of OP_CHECKSIGFROMSTACKVERIFY (CSFSV), designated as NOP5, from both LNhance and the CSFS BIP.

The primary reasons for considering this action include the observation that CSFS is more likely to find its application in Symmetry rather than needing CSFSV specifically. Moreover, it's pointed out that if CSFSV functionality is desired, combining OP_CSFS with OP_VERIFY serves as a viable solution, thereby simplifying the codebase. Additionally, there is a lack of concrete use cases for CSFSV within the legacy system as of now, which strengthens the argument for its removal. The scarcity of upgradeable NOPs further supports the case for eliminating CSFSV to free up space for potentially more useful operations. Furthermore, backporting tapscript is mentioned as a means to bring all necessary functionality to the legacy system, suggesting that removing CSFSV would not result in a loss of capabilities. This proposal reflects a strategic consideration aimed at streamlining and optimizing the development process by focusing on functionalities that offer clear benefits and applications.