An alternative: OP_CAT & OP_CHECKSIGFROMSTACK



Summary:

Russell O'Connor, a Bitcoin developer, recently criticized the SIGHASH_ANYPREVOUT and OP_CHECKOUTPUTHASHVERIFY proposals as being too narrow in their applications and adding complexities to Bitcoin operations. Instead, he proposed implementing the OP_CAT and OP_CHECKSIGFROMSTACKVERIFY operations which would enable several applications such as oracle signature verification, amortized secure multiparty computations, and transaction introspection, including simulated SIGHASH_ANYPREVOUT. Russell believes that these two straightforward opcodes whose semantics are pure computational operations on stack values embody the idea of "programmable money" and can be further optimized for popular constructions that come up in the future.


Updated on: 2023-06-13T18:58:33.546584+00:00