This document proposes new opcodes to be added to the elements network along with the taproot upgrade. The new tapscript OP_SUCCESS
opcodes allow introducing new opcodes more cleanly than through OP_NOP
. In this document, we propose modifying the following OP_SUCCESS
to have the additional semantics. We use opcodes serially OP_SUCCESS200
, 201
... in order
to avoid conflict with bitcoin potentially using OP_SUCESSSx
(assuming bitcoin uses those serially based on availability).
Taproot already increases a lot of resource limitations from segwitv0, so there is no additional need to alter any of those. In particular, from BIP 342
- Script size limit: the maximum script size of 10000 bytes does not apply. Their size is only implicitly bounded by the block weight limit.