The Great Script Restoration With Rusty Russell

What if we brought back all of Bitcoin’s previous scripting capabilities taken away by Satoshi Nakamoto. That’s the idea behind the Great Script Restoration from Blockstream developer Rusty Russell.

  • Bitcoin has a stack-based scripting language, which was truncated in 2010. This resulted in a less expressive scripting language.
  • OP_ADD, OP_MUL, OP_CAT, OP_INVERT, OP_LSHIFT and stack element were all opcodes that had no data limit, which could have theoretically entailed exponential, unrestricted use of computing resources when using them. OP_CAT and others were removed entirely, while others were pared down. 
  • If we restore some of these opcodes with certain limits, we can unlock old (and new!) uses cases for bitcoin
  • We need to test out different data limits to see what the optimal computation speed will be. 
  • “All current opcodes are most reasonably implemented using linear accesses to stack data (though sometimes multiple times), so the the cost model uses the length of the stack inputs (or occasionally outputs).”

Related Episodes

Want to do more with bitcoin? Bitcoin miner MARA has a sidechain for you!
Nov 18, 2024
Weikeng Chen of L2 Iterative walks us through the use of STARKs on Bitcoin, plus some talk on OP_CAT!
Nov 18, 2024
What if we created Bitcoin covenants using fancy encryption? That's the idea behind Bitcoin PIPEs!
Nov 18, 2024
Miner extractable value is a fundamental problem when it comes to Bitcoin's scaling choices. How do we limit or eliminate MEV is a pretty difficult ask, however.
Nov 18, 2024
Ark picks up where on-chain Bitcoin and Lightning drops off.
Nov 14, 2024
Bitcoin is going to break at some point. It's just in the math. But how do we stop that from happening beforehand? Hunter takes us into quantum proofing Bitcoin.
Nov 14, 2024
How can we get better safety and security around storing Bitcoin? There's an OP_CODE for that!
Nov 14, 2024
Have we really hit a block size limit with the Bitcoin L1? Lightning Network co-inventor Tadge Dryja thinks not.
Nov 12, 2024
Subscribe To read the content

By subscribing, you agree to the Blockspace Privacy Policy and Terms and Conditions.