Sep 27 - Sep 27, 2025
The essence of these proposals is encapsulated within four Bitcoin Improvement Proposals (BIPs), each addressing a different aspect of the scripting system. The overarching goal is to navigate the fine balance between ensuring rapid script evaluation for security and efficiency while unlocking the original, more extensive scripting powers envisioned for Bitcoin.
The first proposal introduces a "varops budget," which builds upon and extends the concept of the sigops budget from BIP342. This new framework proposes a transaction-wide budget based on the transaction's weight, designed to limit the computational intensity of scripts without unduly restricting scripting potential. The varops budget mechanism relies on detailed benchmarks across various machines, ensuring that the limitations set forth are rooted in empirical data and practical considerations.
Following the establishment of the varops budget, the second proposal outlines the restoration of previously disabled script functionalities. With the safety net provided by the varops budget, it becomes feasible to re-enable disabled opcodes, increase stack object sizes and total capacities, and reintroduce arbitrary-length arithmetic operations, albeit with the stipulation that numbers are always treated as unsigned.
The third proposal, OP_TX, addresses the need for improved introspection within scripts. By allowing scripts to push parts of the current transaction onto the stack, this opcode significantly simplifies the process of introspection. The concrete design of OP_TX opens up a rich field for discussion and refinement, highlighting its potential impact on script functionality.
Finally, the fourth proposal ventures into speculative territory by suggesting several new opcodes for Tapscript v2. These include OP_CHECKSIGFROMSTACK, OP_SEGMENT, OP_BYTEREV, OP_ECPOINTADD, OP_INTERNALKEY, and OP_MULTI. Some of these proposals revive older ideas, while others introduce novel concepts to the scripting language. This mix of familiar and new elements underscores the innovative spirit of the proposals, inviting feedback and debate from the community.
In addition to these proposals, a prototype implementation has been shared, offering a practical basis for testing and further development. Through these comprehensive proposals, Rusty Russell and Julian Moik aim to rejuvenate Bitcoin's scripting capabilities, aligning them more closely with the platform's original vision while ensuring robustness and efficiency in script processing.
TLDR
We’ll email you summaries of the latest discussions from high signal bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.
We'd love to hear your feedback on this project.
Give Feedback