bitcoin-dev

BIP for OP_CHECKSIGFROMSTACK

BIP for OP_CHECKSIGFROMSTACK

Original Postby Brandon Black

Posted on: May 14, 2024 21:55 UTC

Andrew Poelstra initiated a discussion regarding the inclusion of an implementation for CHECKSIGFROMSTACKADD (CSFSA) in a Bitcoin Improvement Proposal (BIP).

Initially, Poelstra was hesitant to include CSFSA, considering it could be achieved through existing opcodes and alternative stack use. However, after witnessing advanced miniscripting applications presented by Rob Hamilton, the utility and potential prevalence of CSFSA became apparent, leading to a reconsideration towards its addition, suggesting the utilization of another SUCCESS opcode for its implementation.

Another point of contemplation raised was whether to restrict CHECKSIGFROMSTACKVERIFY (CSFSV) to tapscript exclusively. This consideration stems from the proposal's partial aim to complement BIP119 and the nature of CTV as a NOP upgrade that remains compatible with legacy scripts. The inclusion of CSFSV as a NOP within the proposal underscores an openness to community input on whether maintaining its availability across script types (including legacy scripts) is beneficial or if it should be confined to tapscript applications.