Summary: In this episode, Murch from Localhost Research rejoins Christine to discuss the latest updates in Bitcoin Core development, starting with the release of version 32.1. They also discuss updates in Bitcoin protocol development, specifically a recently proposed soft fork upgrade known as the Great Script Restoration (GSR). Murch and Christine discuss the proposal's motivation, design, and likelihood of activation. This episode was recorded on November 11, 2026. Timestamps: (00:33) Bitcoin Core v32.1 release updates (19:01) Bitcoin Core v32 major features (25:34) Concerns about Bitcoin’s post-quantum readiness (32:39) Overview of BIP-440 and BIP-441 (38:26) Overview of OP_TX and Extended Primitives (49:01) Overview of Reusable Macros (55:04) Differences between Bitcoin’s programmability vs. Ethereum’s (57:47) Use cases that GSR would enable on Bitcoin Show links: Bitcoin Core v32.1 release notes (https://bitcoincore.org/en/releases/32.1/) CVE-2025-62861 - Block template creation halted by TRUC sibling eviction during reorg (https://bitcoincore.org/en/2026/11/10/disclose-cve-2025-62861/) CVE-2025-62860 - Inbound Tor connections wrongly receive whitelist permissions (https://bitcoincore.org/en/2026/11/10/disclose-cve-2025-62860/) CVE-2025-62859 - Block processing stall via witness malleation (https://bitcoincore.org/en/2026/11/10/disclose-cve-2025-62859/) Tapleaf 0xc2: An overview of the Great Script Restoration (https://mirror.b10c.me/lists/bitcoindev/34b14b4f-7dce-466e-9d80-1af3b465c40fn@googlegroups.com/#r) Christine’s overview of GSR (https://christinedkim.substack.com/p/issue-62) This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit christinedkim.substack.com/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
[music]
SPEAKER_00Welcome back to Ready for Merch, the podcast about the evolution of Bitcoin and Ethereum. I'm your host, Christine D. Kim, and today we're joined by Merch from Localhost Research. Hey Merch, it's been a while.
SPEAKER_01Yeah, nice to be back.
SPEAKER_00Yeah, glad to have you back. What are we going to be discussing on today's show?
SPEAKER_01I think today we're going to talk about the recent Bitcoin Core release and then we're going to talk about the great script restoration proposal.
SPEAKER_00Let's get started with the Bitcoin Core V32 release updates because a lot has happened while you were away. V32 finally got released and Bitcoin Core developers had to do a bit of a hot fix and formally release V32.1 and ask all the node operators to actually update to that one because in it there was a couple of bug fixes that that they also updated their
SPEAKER_00Bitcoin Core's bug disclosure policies. So I felt like there was a lot happening around v32. Did you also get that sense? Was it a lot to
SPEAKER_01come back to? Yeah, I did. I also get a little surprised by the 32.1 release. The security disclosure update makes sense. We can talk about that briefly, maybe. So Bitcoin Core security disclosures had always been moving fairly slow because the uptake of new versions was also relatively slow. Usually maybe 20% to 30% of listing notes would upgrade in the first month. And now, of course, in the last few months, maybe in the last couple of years,
SPEAKER_01actually, security research has been moving much faster than we're used to. The antecedent of AI and LLM and the drastic improvements of the capabilities of those systems have made bug discovery and security research a completely different game. Beyond being inundated with tons of bug reports due to people finding all sorts of things and DLLMs being notoriously nitty about what they report.
SPEAKER_01So there have been on one side just a huge load of things to go through. But on the other side, there have been also... New types of security vulnerabilities discovered where things get chained together from multiple smaller vulnerabilities to create larger exploit chains. And apparently LLMs are not completely terrible at discovering stuff like that. So for what happened here,
SPEAKER_01I think the last release candidate was taking a little longer and or the release went to the fourth release candidate and the Security list had already heard about a couple issues and then there was some issue with signing, I think. It required another fix and then the developers decided to just go ahead and treat the 32.0 tag as release candidate 5
SPEAKER_01and instead release 32.1 with the two bug fixes that they were going to release right after anyway. So they just folded a piece of future work right into the main release. So the context there was these bugs were discovered by AI-powered systems. And the new approach to AI-discovered bugs or bugs that have been disclosed multiple times in parallel by different security researchers is that they are considered easily discoverable
SPEAKER_01and easily discoverable Issues are not treated the same way as other security vulnerabilities, which still mostly follow the old disclosure policy. But rather, the easily discoverable issues are fixed immediately. There's a release for the major versions immediately, and the disclosure is also immediate, while immediate being two or three days. So what happened here was that the pull requests to fix these two issues
SPEAKER_01that were fixed last minute in 32.1 were opened two days before the final release was cut and signed and Uploaded to the website. So something around 48 hours from opening the pull requests and thereby disclosing what the bugs were about to there being a fully fleshed release for all of the latest major branches that are still maintained.
SPEAKER_00It sounds like the change in policy for easily discoverable bugs being immediately disclosed, or I should say like within 48 hours, it means that users need to be a lot more on the ball about upgrading their software.
SPEAKER_01Yeah, the game's been changed a little bit. I think generally people have to be way more... Attentive in all sorts of regards. I think some of the exploit and bug hunting by gray and black hats first happened on cryptocurrency systems because you can just take money But now we're seeing exploits affecting other systems too. So we might have just been an early target of a whole wave of security breaches.
SPEAKER_01In the long run, hopefully this is going to be Causing positive effects, secondary effects that generally all of our infrastructure and systems and software will be more secure and updated. But right now, it's quite rough. People have been, especially security researchers and people taking a leading role on security in Bitcoin, have been extremely busy in the past few months.
SPEAKER_00Yeah, hopefully this all leads to more resilient digital infrastructure with time. And luckily, the easily discoverable bugs that were disclosed for 32.1 were, I believe there was like two medium severity ones and one low. There wasn't anything high severity regarding the easily discoverable ones, which is good. But there was also three bugs that were disclosed later after V32.1
SPEAKER_00that Bitcoin Core developers, they disclosed on the regular timeline of waiting a few weeks. I think it was two weeks before Bitcoin. Publicly disclosing the information about it. I didn't get a chance to go over what was disclosed, but I believe one of them was actually a high -severity one. Did you get a change to take a look at what those three bugs were and how urgent is it for users to upgrade now?
SPEAKER_01So yeah, there were two medium and one high severity issue disclosed. All of these were fixed in version 30, actually. So for security vulnerabilities, generally the disclosure policy in Bitcoin Core is that low severity issues will be disclosed after the first major release that has a fix for it. And for medium and high for the website, it is that once the last major version that did not have a fix, End of life,
SPEAKER_01they will be disclosed two weeks after that. So 29.0 or the major branch 29, I think 29.5 was the latest release on that, went end of life with the release of version 32. So the issues that were affecting 29 or up to 29 that were fixed in version 30 were now disclosed. The three issues are CVE -2025, 62859. So this one was a DOS attack
SPEAKER_01where if you malleated the witness of a transaction in a compact block announcement to appear, They would be able to stall your block processing. They gave you a transaction that was almost right, but not quite. And then you'd ask them back, hey, give me that block again. Something was wrong here. And then they could wait up to 10 minutes and give it to you again. And you'd go like, hey, give it to me again. If someone on purpose Gave you such a block,
SPEAKER_01they could stall you from following the best chain. The second one, I'm not going to say the numbers. They don't mean anything to people anyway. But the second one was actually very interesting. So you can run Bitcoin nodes to connect over Tor. And if you run a Tor daemon on your local system, the peers that you're communicating with appear to have the IP address of the Tor daemon. Now, if the Tor daemon is running on your own system, that is your own system's IP address.
SPEAKER_01And some of the other software that is often used together with Bitcoin Core requires you to whitelist the RPC or the connections for Bitcoin Core so that when you connect with, I don't know, some light client software or Block Explorer software or other similar sort of services that people run for themselves, It
SPEAKER_00will be able to do as many RPC
SPEAKER_01and other requests as it needs. Now, that caused a lot of people to whitelist the local machine in their RPCs, which meant that for every single Tor, They were also whitelisted because the Tor daemon was whitelisted because it runs on your own machine. So this meant that, for example, these whitelisted peers wouldn't get kicked off if they misbehaved or they could request a lot more data.
SPEAKER_00And other things like that.
SPEAKER_01And this was affecting a lot of people, especially because some other Bitcoin core derivatives very heavily encouraged people to whitelist the local host IP range. And yeah, so basically that was an interesting issue. All Tor peers were treated as whitelisted if you whitelisted your local machine.
SPEAKER_00Gotcha. And this was the high severity?
SPEAKER_01No, that was the medium.
SPEAKER_00Wait, which one was the high one?
SPEAKER_01So it's medium because it requires you to do something on your own machine in order to be vulnerable to it.
SPEAKER_00Ah, okay. You need to first whitelist your own connection.
SPEAKER_01Yeah. Okay. Maybe the implications of that were not fully understood. And certainly the idea that Tor would get whitelisted if you whitelist your own machine was not the intention. But you're only vulnerable if you use this specific configuration. So I think that makes it a medium vulnerability. The high severity vulnerability was CVE 2025, 62,861. And that is block concept creation halted by truck sibling eviction during reorg.
SPEAKER_01And this one's high severity because you could intentionally cause this by creating a reorg, so truck Track transactions are topologically restricted until confirmation transactions. This is a primitive used, for example, for smart contracts on the Lightning Network, where you want to have specific topologies for your transaction groups. Track transactions have the special property that they only allow
SPEAKER_01a single child transaction while they're unconfirmed. And if you give a second child, even if it spends a different, you take so. So let's say you have a transaction A that has two outputs, and you have a transaction B that spends one of the outputs of transaction A, so a child transaction. And now a second child spends the second output, they're siblings, right? Usually you would be allowed to have both outputs spent in parallel.
SPEAKER_01But on truck transactions, because they can only have one child transactions, these two siblings compete for a slot in the mempool. So if you spend the other output, you can evict the sibling transaction. Following so far?
SPEAKER_00What... What problem does this create if you were to evict a sibling transaction? What is the negative consequence on your actual node operations?
SPEAKER_01For the most part, none. For miners, maybe you could collect a little less fees in a single block by only collecting one of the two siblings. But generally, that's exactly the intended behavior. The problem was when you have a block reorganization. So there are two competing chain tips. You're on one of the chain tips and this chain tip gets ousted by the other chain tip extending.
SPEAKER_00You get some orphan blocks too, right?
SPEAKER_01Yes, the block you were on will become stale. The node rolls back that block, goes to the shared ancestor block, and then puts the two other blocks from the alternative chain tip to reorganize to the best chain tip. When you reorganize, some of the mempool limits are bypassed. A single transaction could only have 25% in transactions at the same time. There was a limit on the package. But when you reorganize and you step back one block,
SPEAKER_01you're pushing all of the transactions that were confirmed in your chain back into the mempool. So for a moment, you might have larger limits because if there actually were more descendants of that original unconfirmed transaction, you might well go over the 25 and have 30, 35. So for the reorganization, the mempool limits are bypassed until those other two blocks are applied and then the mempool limits are reinforced.
SPEAKER_01Sibling eviction was active during the reorg. So maybe if there was a sibling that could have been in the mempool, and now you'd have two siblings that are both children of the truck transaction in the mempool during the reorg, and sibling eviction happens. And if that sibling transaction had further descendants, We would kick out the sibling but not the descendants. And now the mempool would be in an inconsistent state. There would be a transaction in the mempool for which the ancestors are missing.
SPEAKER_01So it's invalid and cannot be included in a block. And this inconsistency in the mempool, the mempool should only ever contain things that can be included in a block right away. But now we have an orphan transaction, a transaction whose ancestry is evicted due to the sibling eviction that is left in the mempool. And if someone builds a block and includes that transaction, their block template was invalid. And it would build the block and recognize that the block template is invalid
SPEAKER_01and then not be able to build a block until the node is restarted and it reloads the mempool and realizes this orphan transaction is in there.
SPEAKER_00I see. So has this ever happened when there was like a reorg, there was suddenly these sibling transactions that didn't have the appropriate answers? Did that ever create invalid blocks on Bitcoin?
SPEAKER_01Well, A, it can't create an invalid block on Bitcoin, but a node that is creating block templates could have its mempool in a state where it would create invalid block templates and then be prevented from mining. So they would lose money. But if someone were to publish that block, yes, that would be an invalid block. As far as I'm aware, none of these have happened. I think this one was discovered with fuzzing or LLM help.
SPEAKER_00You know what's kind of funny, though? In this age of AI and LLMs, I can't imagine that you could ever have a bug that is not easily discoverable by an AI. I guess we'll see, though, how this policy pans out. But in my mind, that's just...
SPEAKER_01I mean, it could be that this is the last bit of ones or maybe the ones after next release are going to be the last ones discovered and disclosed per the old disclosure policy, but there might There might well be some issues that lead to effects we don't want on the network. There are levels of context that are still hard to get into LLMs. They're very good at local context. They're all right at repository-wide things, getting much better at those over time.
SPEAKER_01But I'm not sure whether, for example, Cross-implementation issues would already fall out of LLMs. Say if there were two implementations that had a consensus failure with each other, we might discover something with cross-implementation fuzzing, but not with LLMs. And then sometimes there are ways to fix things by just, oh, we always wanted to rewrite this aspect and we're finally improving that aspect.
SPEAKER_01And while just rebuilding, refactoring that whole area with a new approach that has benefits that you were looking for, you also get rid of an aspect that was problematic there. This is a way how people do covert fixes sometimes, is to do more work in that area to hide that they're fixing a vulnerability.
SPEAKER_00I want to get onto our topic, our main topic of the great script restoration. But very quickly before I do, is there anything we should touch on on this episode that you think is important to highlight about V33, the next major release?
SPEAKER_01Actually, we should maybe highlight something about V32. We didn't really talk about what's in V32, right? Or did we do that in a previous episode?
SPEAKER_00V32. Well, why don't you give us the little high-level overview?
SPEAKER_01My personal highlights are that we have the new mempool-based fee rate estimation. So that's been... In the works for many years. That's going to be pretty cool. The new mempool-based fee rate estimation is only used to lower the estimates of the other block confirmation-based fee rate estimation. So you get the smaller of the two. And the TX index and the transaction output spender index both have reduced their data footprint
SPEAKER_01by about half if you rebuilt them. So that's pretty cool. And then there's a few other smaller things. We have an export watch-only RPC, which would make it easier to have a headless setup somewhere. And bit 323 was implemented, so you can use more bits in the version field for entropy for the block template. And we kicked out the lib event dependency by writing our own HTTP server. That's my highlights.
SPEAKER_00Correct me if I'm wrong, but v32, there's quite a few speed-ups in node syncing. Is that right? That too, yes. Definitely. IPD is way faster.
SPEAKER_01Yeah, people have been working on that quite a bit in the last few years, and they found a lot of different ways how we can do it faster. For example, when you process a block, you immediately start loading all of the UTXLs that are being spent in the block. So you don't go to a transaction. Oh, what do you take cells am I missing? Go to the disk, get them. But like load all of them in parallel while you're starting to process the block. There were some data structure improvements just to increase read and write speed.
SPEAKER_01There were some ways of keeping More UTxOs hot in the cache. What else? I'm probably missing five things. There have been so many. It's at least 2x faster in the last few versions. It might even be 3x or 4x now.
SPEAKER_00It's a good point, though, that those changes are building on top of one another. It's not one big radical change. It's these improvements that developers are noticing. If we just move this data around a little bit or restructure it, It's going to be a lot faster. And the fee thing is really cool, too, of just having a bit more sophisticated logic around fee estimations. And the other two that we mentioned actually in prior episodes is number one, that change in V32 that would make Bitcoin Core ready for the great consensus cleanup if and when it does happen.
SPEAKER_00And I believe the second one we talked about was also a disabling of, or maybe I shouldn't say disabling, but like a rewording of the private broadcast feature that was implemented in V31 major release. Which was also kind of interesting. But that's all in V32.
SPEAKER_01There were quite a few improvements to private broadcasts in the V32 release. So for people interested in that, they should read the release notes. I think in hindsight that came maybe off the press a little hot. And we should have probably labeled it experimental before shipping it. People also have second thoughts about the name because It's really hard to make privacy guarantees about transaction broadcasting. So there's been quite a bit of follow-ups for private broadcasts
SPEAKER_01and there might still be a little more work. That's actually one of the things that might come into version 33. There might be some plumbing improvements for private broadcasts.
SPEAKER_00Nice. I love the focus on privacy, like making Bitcoin more private and running your own Bitcoin node in a private way.
SPEAKER_01Yeah, I think that's definitely great. There are some limitations to that in general with just the whole transaction graph being public information forever. And one interesting one, so I just came back from Bitcoin Research Week a couple of weeks ago in Amsterdam. And one thing that was mentioned to me that I hadn't considered before and kind of breaks my heart is I'm a really big fan of silent payments as a way of having a static payment instruction. That still produces unique addresses.
SPEAKER_01And someone pointed out to me that with If there ever in the future are ubiquitous quantum computers, it's trivial to go from the static payment instructions to silent payment address to the entire set of received funds via silent payments. Because the silent payments payment instruction is two public keys. If you can calculate the private keys from that, you can scan yourself. Which silent payments were received to that instruction?
SPEAKER_01So people using silent payments right now are basically already caught in the collect now, decrypt later situation that all of the UTXOs sent to their silent payments instruction will be trivially clusterable by a cryptographically relevant quantum computer, if they ever come in the future. Privacy is hard.
SPEAKER_00Also, who knows when CRQCs are going to exist? It could be a very long time before, even if somebody was harvesting that kind of information, to decrypt it later.
SPEAKER_01Yes, so the Bitcoin Research Prize went to the team at Google that discovered the improvement to the algorithm that significantly reduced the number of gates necessary to calculate private keys from public keys for elliptic curves. And so one of the researchers was there to give a talk, and he gave us a bit of a rundown on their lab's research and progress
SPEAKER_01in the last few years and his expectations for the future discoveries and timelines. Now, obviously this is a person that works in that space and very much needs to be optimistic to go to work every day. But the timeline that he had in mind is certainly putting us on notice.
SPEAKER_00What's the timeline?
SPEAKER_01He said by 2030, you better be ready. There's like a 50 % chance in his mind that by 2030 the first QRCs are going to be available.
SPEAKER_00Merch, Murch, you sound convinced. You sound scared. From when we first talked about this issue, you now said you're on board that this is a real threat.
SPEAKER_01No, I feel like I don't have enough information and it's really hard to evaluate the quality of the little information that we're getting. So I talked to a few colleagues about this in the context and they pointed out to me that all of the scaling And improvements that they've been doing have been on the non-quantum gates. Yeah, on the one hand, the things that we're hearing out of quantum computer research sound scary
SPEAKER_01and the governments setting very strict timelines on updating other things sound also scary. And my takeaway is we need to have a plan and I think we should work on some timelines and communicate timelines when we expect, for example, a new signature scheme Yeah. A concrete proposal for a signature scheme to be available. And when we expect a specific proposal for an output type or two to be available
SPEAKER_01and whether or not quantum computers come, there is certainly There will be a big fear of quantum computers that is becoming an issue that needs to be addressed regardless of whether quantum computers come. And we will need to have some sort of technical mitigation using post-quantum cryptography. And that needs to happen in the next few years, and preferably in the next couple years. But yeah, I am not directly involved in that research.
SPEAKER_01Some of my colleagues at localhost are working on post-quantum cryptography. Some of my friends that I used to work with are working on output types or And my hope is that they will finally say, okay, this is good enough for our first one. We should get something out, get it deployed on the network. If we maybe have significantly better post-quantum signature schemes
SPEAKER_01and then can create new output types that require much less block space or re-enable all of the nice wallet features that we're used to that will probably not be available with the hash-based signature schemes. So, for example, key derivation might be possible, but multisig is hard. Tweaking is not possible. Maybe key derivation also. I'm not sure if key derivation is actually possible with hash-based signatures.
SPEAKER_01A lot of the things that we currently just take for granted in wallets just won't work with hash-based signature schemes. Then they will be huge. They might require you to store states. Similarly, Lightning participants have to keep abreast of their Lightning states. Wallets would need to be aware of what they signed for. Yeah, so maybe we can roll out a good enough first post quantum signature scheme and output type. And then when lattice based cryptography
SPEAKER_01or isogeny based cryptography gets so much better that it, well, More reliable and better researched and more trusted, we might be able to do lattice or isogeny-based signature schemes and output types, which would allow us to do all of the cool wallet features that we used to have and things like silent payments again. That was my rant on postquatum.
SPEAKER_00No, it's good to hear that it sounds like the timeline for having at least a concrete plan is sped up and you guys are taking this more seriously.
SPEAKER_01Yeah, there's a lot to do and not all of it is in the purview of just developers. So other people should maybe also start talking about these things. Yeah, it's time that we address this, I think.
SPEAKER_00Yeah, yeah. I think developers aren't the ones that are going to have to answer all the questions, but they will be spearheading a lot of these conversations for the community and as a rally point for other stakeholders to interface with, which I know is, I think, a very hard position to be in, and many developers just don't want to do that. But... I feel like, unfortunately, with this, there's no way around it. Getting out of the spotlight, I mean. And honestly, I didn't even expect to talk about this for so long.
SPEAKER_00And we have had quantum computers and like the Bitcoin's quantum roadmap on our topic list for a while and this has encouraged me to elevate how quickly we do an episode on this. So let's put a pin in this conversation now and let's definitely bring it back for a future episode. For now, in the last couple of minutes of our show, I
SPEAKER_01didn't
SPEAKER_00expect that to be a big update from the Bitcoin
SPEAKER_01Research Week.
SPEAKER_00Yeah, but let's talk about the main topic for our conversation now, the great script restoration, because that's also been a little bit of an update in the Bitcoin developer community. We have a new overview of how Bitcoin could become programmable money again. Who thought November was that on your bingo card for 2026?
SPEAKER_01I take issue with that characterization at first. So A, Bitcoin has always aimed to be money and B, it's been programmable from the start. It might not be as expressive as we want, but it's definitely programmable money already. So I just want to log some resistance here.
SPEAKER_00I just want to say, Merch, that is not my words. Literally, Rusty Russell and Julian Block, who are the co-authors of The Great Script Restoration, in their articles, they talk about making Bitcoin programmable money through this proposal, which I agree. It doesn't make Bitcoin programmable. It makes it more programmable, as in there is a certain level of limited programmability that you can have with your transactions on Bitcoin. But there is a host of other ways in which to make your transactions more flexible
SPEAKER_00that Satoshi had envisioned in his original design for Bitcoin, but then has disabled later. Yes.
SPEAKER_01Right. So very concretely, Satoshi kicked out a bunch of upcodes in the 0.31 release. I think that was 2010.
SPEAKER_00Yeah.
SPEAKER_01So... Bitcoin script is a stack-based programming language that uses predicates. And predicates are functions or contracts that can strictly evaluate only to true or false. So when you evaluate a Bitcoin script, So the combination of an output script and an input script and that belong together, right? So when you pay money to a address, you're actually paying to a Bitcoin script.
SPEAKER_01Some of these Bitcoin scripts are standardized templates that are very simple, like this key has to sign. But as I said, Bitcoin has always been programmable. You could always write any script in the output script with all of the available opcodes and just have that evaluated when you then go and spend it in an input between the output script and the input script and And program any conditions that you could express with the language.
SPEAKER_01If it evaluated to true, so there was a single last element on the stack after both the output script and the input script had been completely processed, that was truthy. So, for example, op1. Then the script evaluated to allowed and otherwise it was invalid. And an invalid script obviously gets rejected. The transaction cannot be included in a block. When you say Bitcoin is not programmable money,
SPEAKER_01I bristle a little bit because it's very much programmable and every single transaction uses this script language in order to express spending conditions and runs a mini program to evaluate for every single input that a transaction has. And all of those must evaluate to true for the transaction to be able to be included in a block. Now, the opcodes that Satoshi kicked out back then reduced the expressivity quite a bit.
SPEAKER_01So, for example, there is the fabled opcat, the concatenation, which takes the top two stack elements, smooshes them together, and puts them back on the stack. There are a few upcodes that allow manipulation of substrings, both like just cutting off the left part, the right part, or part of the center of a stack item, reversing the, well, actually that's from a later, but like doing bit shift operations, downshifting, upshifting, dividing by two, dividing, multiplying by two, numerical operations,
SPEAKER_01multiplication, division, modulo, or XOR. I think I have most of them. Opinvert is in there still and opand. Okay. So I think I actually mentioned all 15 opcodes that got removed back then. And maybe there was... I don't know if the number that got removed is the same, but they're reintroducing or proposing. So Julian Moik and Rusty Russell are proposing to reintroduce these 15 opcodes. And what they're proposing is...
SPEAKER_01In pay2tap root, we have a number of different upgrade hooks, and one of them is the version of the script leaf. So when you do a script path payment, so you reveal the script tree and point at one specific branch and leaf of that script tree and say, this is the one that expresses the spend And in conditions that I'm going to satisfy, you can express which language this script leaf is using.
SPEAKER_01So far, only Tabscript version zero has been defined. And this Tabscript has slightly different semantics than legacy script. For example, it has the op-success opcodes, which I think is something a lot of people might have heard before. So what Rusty and Julian are proposing is to create a new version of Tabscript. And this new version of Tabscript would have Bip 440 and Bip and would you put been written up and published a while back already.
SPEAKER_01Bip 440 and BIP 441 have been written up and published a while back already. BIP440 introduces this new way of budgeting how big or how much computation the new scripts that use the new leaf script version can have. It's called the var ops budget for script runtime constraint. And it's basically based on the worst case for all of these opcodes and on all
SPEAKER_01of the existing stuff that you can do with script already. And it's strictly, it's more strict, strictly stricter. It should generally be more strict than the SIGUPS limit and the weight limit. So all of the things that you could do before would, well, at most the things that you could do before computationally would be available here again.
SPEAKER_00Okay, but so pulling it back. So 440, it implements a limit on the computation that these scripts are going to be using so that there's no DOS vectors with the new computations that you could do inside of your transactions. 441 re-enables the 15 disabled opcodes. And there's three others, right?
SPEAKER_01Yeah, 441 introduces the 15 opcodes. I wanted to very briefly say it also drops the limit on numerical values, which is important. 32-bit values only allow you signed 32-bit numerical values only allow you to express numbers up to 2 billion. 100 million sats is one Bitcoin. So if you want to express any contracts that calculate numbers of more than 20 Bitcoin, you need more than 32 bits.
SPEAKER_01So this is one of the reasons why I think it's being proposed to be dropped. Changes to stack limits and some input semantics change for existing opcodes in the new TabScript only. Okay, so the new stuff that It flew into our inboxes last week as two things that were OptiX that Rusty had mentioned before already in his email, I think. So OptiX is a introspection opcode,
SPEAKER_01colloquially also referred to as a covenant introspection opcode in the sense that it allows you to read parts of the spending transactions. And you create an output that is encumbered with an OptiX opcode. In the input script, when it gets evaluated, it would be able to access other aspects of the spending transaction, like the number of inputs, the amounts of the inputs, same for outputs, log time, weight, and so forth.
SPEAKER_01It would also be able to basically generalize the things that you can do with check template verify or op template hash. Which also commit to specific aspects of the child transaction. And it is quite similar to OptX hash, BIP346. In the sense that you sort of get this few bytes that you use as a mix of bitmass and toggles.
SPEAKER_00What exactly you're reading out and what sort of restrictions you apply to those.
SPEAKER_01So OptiX is the first new idea, or newly fleshed out idea previously mentioned. The second one is to extend the primitives. So not only are we now restoring script, but we're adding new functionality. OptiX does that too, but we are also proposing to introduce OptiX from stack, pip348. Up-tweak-add, which is bit449, and a new up code called up-byte-reverse,
SPEAKER_01or up-byte-rev, which just reverses the bytes of the top stack element. These extended primitives, a text-take from stack I mentioned already, plays, for example, very nicely with up-cat. It allows you to check a signature element It actually has a pretty dumb name. The name is very unfitting, and I shall explain. What we always do when we have object-sig is we check a signature that is
SPEAKER_01on the stack against something. But what object-sig from stack does differently is that the message that it is checked against is also on the stack. So the signature, instead of Referring to the whole transaction refers to the object on the stack. So really what is being provided and different is that the message that is being signed is also on the stack rather than the signature. So a check signature from stack is more like a check sign message from stack.
SPEAKER_00Why would that be beneficial from a user experience point of view?
SPEAKER_01For example, when we write an output script, the output script defines conditions that have to be fulfilled by the input script. But famously, the creation of the output script might precede the situation in which the output wants to be Satisfied by the input script. So it would potentially enable more flexibility to adhere to specific situations at the time of spending the output. Maybe you need an oracle to provide another signature, a cosigner,
SPEAKER_01or you could create events that are tied to other things that happened. Maybe bet on an election or things like that.
SPEAKER_00I like that this proposal bundles together a lot of one-off BIPs that all seek to improve Bitcoin's flexibility when it comes to programming your transaction to trigger it under certain conditions. It bundles all of them together and activates them all at once.
SPEAKER_01Well, to be determined. It proposes to activate. But that's the intent. That's the proposal. Yes, it proposes to activate.
SPEAKER_00It ignites the solidarity behind one of them into one big massive proposal and I think that makes more sense than activating or trying to get them through consensus one by one. Don't you agree?
SPEAKER_01I do think that there is quite a bit of merit to creating bundles that together address specific design needs or wishes. Yes. I think it makes it much easier to explain why you need it if you can actually do interesting things with them and you Bundling a few things together makes that much easier. And describing smaller, concrete proposals and then deploying them together has tradition and makes sense.
SPEAKER_00Taking a bird's eye view of everything that GSR will enable, do you think that that will significantly improve the user experience and the adoption of Bitcoin?
SPEAKER_01I, again, would push back on the future tense here and would use conditional. This is a proposal three of the five documents have not even been submitted. So we'll have to be able to read them first before we can speculate on whether this would even do all those things. And then we have been debating very heavily introspection upcodes for, I want to say, seven years. So I want to push back a little bit.
SPEAKER_01I'm doing expectation management. Just because someone writes up another proposal doesn't mean that it
SPEAKER_00will necessarily be adopted or adopted quickly.
SPEAKER_01I think what is currently ready or very close to ready is consensus cleanup. It's a very small I hear you. It has been heavily researched. One thing that is definitely on our plate right now is addressing quantum computers. I think that a lot of attention will be going towards that. I believe that great script restoration is an extremely big and ambitious proposal
SPEAKER_01and 40
SPEAKER_00% written. I hear you. GSR has a long way to go, but That aside, when you evaluate GSR, what is ready and the idea and the motivation behind it? Do you think that this is the direction that Bitcoin should be heading development wise?
SPEAKER_01I think that I can see that a lot of effort went into actually thinking about what issues to address and how to solve it. And I generally appreciate bibs that have done the work a lot more than those that didn't. I tentatively agree that the expressivity of Bitcoin script right now is insufficient. There are definitely a few things that I would like to see be easier on Bitcoin
SPEAKER_01and they require more introspection. So I'm getting to the point where I say, yes, more introspection definitely. I don't know whether GSR is the way to go or not. I don't have I have very strong opinions on covenants. I don't really work much on prototyping things that I could build with more introspection. What I do see is that there have been quite
SPEAKER_01a few people working on prototypes and demonstrating capabilities with TemplateHash. And TemplateHash similarly is proposed in a bundle with the rebindable signatures package, BIP448. Template hash is very similar to Check Template Verify in a lot of aspects. So things that could be built with Check Template Verify,
SPEAKER_01almost all of them would directly translate to template hash. Template hash is proposed in the bundle with check sick from stack and up internal key to form the rebindable signatures. So you could do a lot of the things that people want to get out of introspection. Vaults would probably get more doable to some extent. Well, there... A lot of things have been written about what you could build with CTV
SPEAKER_01or TemplateHash and TechSick from Stack. It would very specifically also enable LN symmetry as a new update mechanism for channels, which I've been interested in
SPEAKER_00getting for nigh a decade.
SPEAKER_01My perception is that TemplateHash has the most interest in the introspection discussion. I'm not throwing a lot of weight around in that discussion because I'm personally not super plugged into introspection research. GSR is way, way, way bigger, way more complicated. And I'm waiting for the other BIPs to actually get into my BIP editor inbox. Before I have any opinion at all.
SPEAKER_01So to get to one of the points, we haven't really talked about the last, the fifth part of GSR, which let me Which I should maybe do in a couple sentences. It defines a way of doing macros so you can have a sequence of script that repeats multiple times in an input. And you only define it once and then you just call the macro again, which basically just expands. It's basically just shorthand.
SPEAKER_01This shorthand means these five opcodes and you can use it multiple times. So that's the fifth part. On the one hand, I've heard a lot of people be super interested in big number calculations on Bitcoin. For example, being able to actually manipulate or reference input values, input amounts, output amounts in how a transaction is executed is very important in order to, for example, limit the throughput or Yeah,
SPEAKER_01it could be used for reactive security features such as proposed with the vaulting schemes and might be something people build security around in enterprise wallets. As we talked about earlier in this conversation, Bitcoin is programmable money, which means first it is money and then you can write programs, smart contracts that can be evaluated and we Can force certain outcomes on Bitcoin
SPEAKER_01and the onus is on the owners, wallet operators and wallet software developers to put in what sort of contracts they want to handle. Only thing the network does is, is the statement true or false? And then it works. Generally, the design principle of Bitcoin in this sense is very different than some other cryptocurrencies, where all the calculation and evaluation happens during block validation.
SPEAKER_01And transactions can be invalid during or can just be scratched, even though they are included in blocks. In Bitcoin, the design principle is the valuation sort of must have happened already at the sender and receiver. They must have created a contract that could evaluate to true, and then they prove that they did something correctly. And the only thing the network learns is, yes, they satisfied the requirements in a way that this predicate evaluates to true.
SPEAKER_01Now, if we got a few more opcodes that made script more expressive, I'm sure that people could build very cool stuff with that. But it might also n-shittify Bitcoin drastically, such as we've seen in some other networks. And I think one thing a lot of people are very scared and worried about is, foremost, they want Bitcoin to be money. And then secondarily, it is programmable money that allows you to write smart contracts and they are worried
SPEAKER_01that too much programmability would deteriorate the status of Bitcoin as money and make it maybe a platform to operate other networks on top of or to Do more NFTs, stablecoins, and other things that could make the system top-heavy so that the second layer or third layer or parasitic or sidechain stuff actually dominates the value of the system.
SPEAKER_01So this is sort of where a lot of the pushback on introspection and more opcodes and expressivity comes from is how much of this is the perfect amount. We do want some expressivity, but we don't want to get to a state where we can't decide for a decade whether our cryptocurrency is fuel or money.
SPEAKER_00But to clarify, in the context of GSR and what it would change about what you just talked about in terms of, what did you call it, predicates for Bitcoin? If you were to enable those opcodes, would it increase the onus that is on the protocol to verify?
SPEAKER_01No. So one aspect that I appreciate about GSR is they took a lot of effort in order to make sure that everything they enable theoretically is limited to be more strictly limited than before. So they did a lot of work and benchmarking how much computational effort all of the proposed opcodes would have. And To compare that with worst cases of the existing script and to pick
SPEAKER_01the wire-ups budget in a way that it, well, per their description, is limited more strictly. The nice thing about the predicate-based approach is you know ahead of time how long the computation will take. And you strictly know whether it was true or false. There's no open question when you process the block because things call each other and are order dependent and so forth, how long the computation might run.
SPEAKER_01So a lot of the budgeting that deals with gas, I think, in Ethereum is based on how much are you willing to spend for verification. And you might only know at the time that the transaction is executed how much it actually costs. Well, I guess you can probably predict somewhat. But with these opcodes, the approach of Bitcoin still remains the same, that the transaction has to be valid when it comes in and is immutable.
SPEAKER_01So there's no depending on other transactions or unless they're direct ancestors.
SPEAKER_00Okay, yeah. So it doesn't change anything about the predicate approach for Bitcoin. If anything, it probably could introduce more MEV-type games because of transactions that could be happening on future blocks. But GSR tries as best as it can to make sure that the Bitcoin protocol isn't bogged down by the complexity of increased programmability. And on the Ethereum side, you are right that it is more complex
SPEAKER_00and the protocol is bogged down by these smart contracts and the way that smart contracts are processed through the EVM. But I'll also note that it was built in 2015 and there's quite a lot of research that's going into things like zero-knowledge proofs that will try and push that computation to the edges rather than on the protocol itself. I don't really see it as a big problem and all the problems that are being solved around scalability and people wanting to use Ethereum
SPEAKER_00because it can offer this kind of programmability with decentralization is something that Bitcoin developers would have to figure out anyways if they also want to head down that road.
SPEAKER_01Honestly, it feels a little bit reading the news and what certain figures in Ethereum are mentioning that Ethereum is getting closer to Bitcoin. They're trying to push the computation to the edge of the network. They're trying to become, Ethereum is money now, again, instead of fuel for smart contracts. I don't know if you're seeing the same thing I'm seeing, but I think that Ethereum is getting closer to Bitcoin, not Bitcoin closer to Ethereum, but
SPEAKER_00With GSR, you don't think Bitcoin's trying to allow the same use cases that Ethereum currently allows?
SPEAKER_01No, it's very specifically different in the sense that you still need to do the computation at home and then just prove that you did the computation right and it gets executed. There's no smart contract running in the block or smart contracts calling each other. Basically, the entire core aspect of Ethereum that you want the computation to be executed at block time and to make smart contracts interconnected is still not possible.
SPEAKER_00No, I mean, but I'm talking about the use cases, like the reason why Bitcoin developers want GSR. Sure, let's talk about some use cases.
SPEAKER_01Which ones do you have in mind?
SPEAKER_00I'm asking you, you said that there were certain use cases that you would want from introspection, and those are the use cases that Ethereum already allows.
SPEAKER_01Yeah, so, for example, well, being able to evaluate amounts based on an input and output. So, for example, being able to have an address out of which you can only send 50-50 to two separate recipients. Is something that would be very hard to build right now on Bitcoin, but then would be possible. And these sort of little primitives then, of course, would be building stones for more complex systems where people might be able
SPEAKER_01to build more instant payment systems on top or maybe I don't know, a completely on chain betting market or decentralized exchange just in ways that more of the aspects can be directly enforced by the Bitcoin script. And that would make it easier to have trust-minimized custodial relationships or cosigners or vaults or transactions
SPEAKER_01that are based on oracles that provide a read on the exchange rate and so on. Still, all of the information would be coming from the edge of the network and provided when the transaction is written and not calculated in the block.
SPEAKER_00Yeah, I don't think it's a bad thing that there are things that Bitcoin wants to enable that they see is possible already on Ethereum. And it's not a bad thing for Ethereum to want some of the same technical properties as Bitcoin to strengthen the resilience of its own protocol. There's so much that can be learned from both development communities, no?
SPEAKER_01Sure. I mean, it's always good to look at the test networks, what's working well.
SPEAKER_00Okay, I want to timebox this discussion on GSR, but are there any other...
SPEAKER_0145 minutes, no, one hour over.
SPEAKER_00One hour over. Are there any other final remarks or thoughts that you wanted to share on this topic before we end, though?
SPEAKER_01Yeah, I mean, I'm looking forward to seeing the rest of the drafts. I mean, the mailing list post hasn't received an answer yet so far. So it's been submitted and it basically repeats some of the things that Rusty had mentioned before he wanted to do still. It sounds like they actually have drafts now. So presumably I'll have the actual drafts come through soon and see them in the BIPs repository. And then the main issue is not
SPEAKER_01whether or not we are interested in more introspection. The issue is what problems are we solving? How are we evaluating whether these problems get solved, by what upcodes, how well, and what exactly the right tradeoff is? And we're trying to have this conversation in this distributed ecosystem where Everybody has at least one opinion and none of them overlap.
SPEAKER_00Yeah. And I would add to that, you're having this conversation in terms of trade-offs and all the different ways and having it in a decentralized community in parallel to the discussions and the same kind of topics that are happening for other software proposals like the grain consensus cleanup, like I think that makes it also just hard.
SPEAKER_01I think it would be good if more people... Developers and otherwise had some sort of blog post where they talk about their timeline or their wish list or their positions in this. I think one of the big problems here is that many people just don't have an opinion or don't take a position, which makes it very hard for the people that are pushing for these proposals to even understand what the hang up is. Most specifically, I think I would like to see
SPEAKER_01that for Antoine actually recently sent a message with an update on consensus cleanup and that he might be proposing consensus cleanup for a late 2027 activation. And I think that is a great idea. I think it's fairly mature and feedback has been addressed pretty fully. There's an open pull request to Bitcoin Core that is being processed and is getting some traction.
SPEAKER_01So I could see that there might be a Bitcoin Core release in version 33 that has support for consensus cleanup without a deployment. And we might have a deployment proposal then merged in a point release to separate the features of the new release from Wanting to support the activation of a new software. So maybe that's something to look forward in version 33.
SPEAKER_00Maybe. Have you guys also thought about doing community calls?
SPEAKER_01We generally don't want to do video or calls because some of our developers are very private and we would exclude them. That's why we're on anachronistic text-based messaging systems mostly. Maybe that would be something people could do in their self-organized groups for their exploration of topics.
SPEAKER_00Yeah, I mean, it doesn't have to be definitely all the developers and it doesn't have to pretend to be representative of The majority of developers, but even if just a handful of more public developer figures could self-organize a call that is more geared towards other stakeholders and bringing them into the conversation, I feel like that might be helpful.
SPEAKER_01Maybe you should, well, you could tell me offline, but what exactly do you understand under community calls, like a call where anybody can join and like a town square?
SPEAKER_00Yeah, exactly. Exactly. And to be like, we're going to need some input on quantum, on great consensus cleanup.
SPEAKER_01It's an interesting idea to consider. Okay.
SPEAKER_00Well, thank you so much, Merge, for sticking around with me on this episode of Ready for Merge. And thank you for updating me and our listeners on the state of Bitcoin development and governance.
SPEAKER_01You're welcome. That was fun.
SPEAKER_00I look forward to checking back in with you after the Thanksgiving holidays.
SPEAKER_01Sure. See you in December.
SPEAKER_00See you in December. And as a heads up for our listeners, I do want to note that this show is going to be on a one-week hiatus during the week of American Thanksgiving, which is November 23rd. And no, that is not next week. So we're still going to have an episode next week, and that's going to be focused on Ethereum development. I'm going to be chatting with Nixo from ETH Coordinate. But then the following week after that, the show will be on break, and then we'll be back the first week of December. So yes, there you go.
SPEAKER_01You mean the week of the 23rd. Thanksgiving is on the 26th.
SPEAKER_00Oh, is it? Okay. Yes, the week of the 23rd. Thank you. Thanks, everyone, for listening to this episode of Ready for Merge, and I'll talk to you guys all again next week. Bye, everyone.
Summary: Christine and EthCoordinate’s Nixo Rokish record one final episode together on Ethereum protocol development. In this episode, Nixo shares updates on the status of the Glamsterdam and Hegota upgrades. She also...
Summary: In this episode, Christine D. Kim interviews Blockspace co-founder Drew Van der Werff about Ethereum’s blockspace market. Since the Merge, Ethereum’s transition to proof-of-stake, the blockspace market has...
In this episode, Christine D. Kim interviews Brandon Black (aka reardoncode), the lead maintainer of rbitcoin, an alternative Bitcoin client written in Rust. Brandon shares how he first learned about Bitcoin on Slashdot...
In this episode, EthCoordinate’s Nixo Rokish and the Ethereum Foundation’s Antonio Sanso join Christine D. Kim to discuss Ethereum’s post-quantum roadmap. Together, they discuss why Ethereum needs post-quantum security...
In this episode, Christine D. Kim interviews OpenSats’ Calvin Kim and Vinteum’s Davidson Souza about their work on the Utreexo project. They discuss recent breakthroughs in their research on scaling Bitcoin and progress...