Cointime

Download App
iOS & Android

Bitcoin Core 24.0: Full-RBF, Miniscripts and Random UTXO Selection

Bitcoin Core versions with a full number are usually “major releases” — they bring extensive innovations that the developers polish through the following versions until the next full number. So it is with 24.0.

The release 24.0 is overshadowed by a controversy about Replace-By-Fee. However, the release contains some other exciting news, which I will present first, before I turn to the controversy.

1. Miniscript

One of the most promising new features is the implementation of Miniscript. Miniscript is a kind of programming language to write bitcoin scripts.

Of course, it is already possible to “program” bitcoin transactions through scripts. But this is complex, tedious and in inexperienced hands also unsafe. Miniscript simplifies and structures this by introducing so-called descriptors that map specific scripts.

The initial implementation introduced for Bitcoin 24.0 is very rudimentary. Users can create a new wallet that can import miniscript descriptors for P2SWH addresses. The wallet can receive bitcoins, but not send them yet.

The feature is thus only intended for developers who are willing to experiment. There is still a long way to go before it is fully implemented in user practice. But the first step has been taken.

2. Sendall and random inputs

With the following two changes, Core gives users tools to strengthen their privacy.

First, there is the RPC call “Sendall.” This sends all bitcoins in the entire wallet or in selected UTXOs to a receiving address. This can be handy. Most importantly, it helps improve privacy, as no change is created in the process.

Second, Core now randomly selects the UTXOs that a transaction issues. This makes it more difficult for blockchain analysts to identify a wallet based on UTXO selection and detect patterns that identify change.

For this, the wallet will select a random number between the single and triple size of the payment. This number will then determine which UTXO it will issue. With this, sometimes the UTXO will only be a little larger than the amount, while other times it will be significantly larger.

Now we come to the controversial new feature of Core 24.0: the expansion of Replace-By-Fee (RBF) to Full-RBF.

In case you’re not familiar with it, RBF allows you to replace one transaction with another at a higher fee. This has always been possible in itself — even with a different receiver — because miners can pick and choose which transactions they confirm. However, it has long been made more difficult, for example by the rule that nodes only forward the transaction they saw first (first-lake rule).

RBF now dismantles this rule on the one hand, and allows users on the other hand to mark transactions as RBF and replace them with another one. This helps, for example, to increase fees after the fact, which Core maps to a “bumb fee” button in the user interface.

Core 24.0 now brings two new features into play, which the term “full-RBF” refers to: First, users can configure their nodes to replace transactions even if they are not marked with the RBF flag. This option is turned off by default. Second, RBF transactions become the default instead of being enabled as before.

This new feature was discussed lively and controversially back in October. I have already reported about it.

For example, Sergej Kotlar of Bitrefill complained that his voucher card marketplace would be forced by Core 24.0 not to accept unconfirmed onchain transactions, instead instructing users to use either an escrow wallet or Lightning.

In general, the change was unusually controversial for Core. John Carvalho of Bitrefill, for instance, complains that several respected developers, such as Suhas Daftuar, David Harding, Antoine Raird, and Jon Atack, think it was wrong to introduce full-RBF in Core 24.0. With the mempool currently emptier than it has been in a long time, there would have been no need to force it.

It so happens that Core provides argumentative justification for the change in the release notes, which happens very rarely: Some Bitcoin service providers, the release notes say, expected the first version of an unconfirmed transaction they see to be confirmed. But this is not covered by the Bitcoin protocol, it said. Miners could replace that transaction at any time. Nevertheless, several traders and service providers relied on this assumption today. Core developers strongly advised against it.

Thus, the core developers are taking on a risk assessment for the traders and service providers. This, as Sergej Kotlar points out in the mailing list, doesn’t really meet reality: “I think we had one incident in eight years of operation that someone successfully fooled our server into accepting a payment that ended up not being confirmed.” It is possible in most cases, even in the more delicate trade of gift cards, to control the risk of a double spend. In other words, it was. Core 24.0 makes that risk control much more difficult, if not impossible.

In the long run, however, full-RBF is less controversial than it might seem. Pretty much everyone agrees that real-time transactions should go through Lightning rather than onchain, and that, especially as block rewards decrease, it will be necessary to make the risks of double spends transparent rather than lulling users into a false sense of security. The only question is whether it would have been necessary now.

Comments

All Comments

Recommended for you

  • Web3 AI training company FLock raises $6 million in seed funding

    Web3 artificial intelligence training company FLock has raised $6 million in seed funding led by Lightspeed Faction and Tagus Capital. FLock will use these funds to develop its team and build a federated learning-driven artificial intelligence training platform.

  • Prisma: Vault owners need to prohibit delegation of contracts related to LST and LRT

    The LSD stablecoin protocol Prisma Finance stated in a post that for vault owners, please prohibit delegating authorization of the LST contract starting with 0xcC72 and the LRT contract starting with 0xC3eA.

  • MAS: Singapore is working on global first-tier fund tokenization regulation

    Chia Der Jiun, Managing Director of the Monetary Authority of Singapore, introduced some fund tokenization pilots at an event for asset managers. These pilots are part of the Project Guardian and MAS Global Layer 1 (GL1) tokenization plans. Chia Der Jiun emphasized the advantages of tokenization in real-time settlement and process automation, which can improve efficiency and achieve greater customization of funds. UK asset management company Schroders and fund distribution platform Calastone are exploring this as part of the Project Guardian public blockchain trial in Singapore. A recent survey by Calastone showed that 96% of asset management companies in the Asia-Pacific region plan to launch tokenized products within three years. Chia stated that as these Project Guardian pilot projects approach commercialization, MAS is working with the pilot project managers to study the legal and regulatory treatment and impact of tokenized investment funds."

  • Indonesia's Financial Services Authority to Regulate Crypto Industry in 2025 with Evaluation in Regulatory Sandbox

    Indonesia's Financial Services Authority (OJK) will take over regulation of the crypto industry from the commodities agency Bappebti. Crypto firms must undergo evaluation in a regulatory sandbox before being licensed to operate in the country. The OJK aims to prioritize consumer protection and education, and firms operating without evaluation in the sandbox will be considered illegal. The sandbox provides a safe and isolated environment for testing and innovation development, helping to enhance security and responsible management in the financial sector. Once under OJK's oversight, crypto assets will likely be reclassified as financial instruments.

  • The Shenzhen Illegal Fund Raising Prevention Office issued a risk warning on the "DDO digital options" business

    The Shenzhen Office for Preventing and Dealing with Illegal Fundraising issued a risk warning regarding the "DDO digital option" business. The activities related to the DDO digital option business conducted in the name of Dingyifeng International are essentially the issuance and trading of virtual currencies. According to the "Notice on Further Preventing and Dealing with Risks of Speculation in Virtual Currency Trading" jointly issued by ten departments including the People's Bank of China in September 2021, it is clear that virtual currency-related business activities are illegal financial activities, and overseas virtual currency exchanges providing services to residents within China are also illegal financial activities. The activities conducted by Dingyifeng International in the name of serving residents within China are suspected of illegal fundraising and other illegal financial activities. Our office has organized relevant departments to carry out work, resolutely deal with illegal fundraising and criminal activities, and seriously investigate the legal responsibilities of relevant personnel. (Shenzhen Local Financial Supervision and Administration Bureau)

  • The Hong Kong Legislative Council plans to review the relevant stable currency consultation and sandbox legislation at the end of this year or next year

    Hong Kong legislator Wu Jiezhuang revealed that Hong Kong will release stablecoin consultation and sandbox (computer security mechanism), which will allow the industry to innovate digital asset projects in the sandbox environment. Relevant legislation will be reviewed in the Legislative Council at the end of this year or next year, which will help the entire digital asset industry ecosystem. Hong Kong has been improving the digital asset (virtual asset) market on different legal levels. Last year, there were regulations on virtual currency trading platforms and issuance systems.

  • Vitalik: Humanity needs to create a world where blockchain and artificial intelligence work together

    Vitalik Buterin, the founder of Ethereum, stated at BiddleAsia 2024 held at Signiel Seoul in the Songpa district on March 28 that artificial intelligence is a huge market and its importance is increasing day by day. We need to create a world where blockchain and artificial intelligence work together. Artificial intelligence can now create applications with 100 to 500 lines of code. Vitalik also stated that the ability to write 10,000 lines of code can eliminate most of the bugs in the Ethereum virtual machine.

  • South Korean RWA blockchain technology development company PARAMETA completed a new round of financing of approximately US$7.5 million

    South Korean RWA blockchain technology development company PARAMETA announced the completion of a new round of financing of KRW 9 billion (approximately $7.5 million), with Shinhan Hyperconnect Investment Fund under Shinhan Venture Investment and Korea Asset Investment & Securities participating. As of now, the company's total financing has reached KRW 25 billion (approximately $20.8 million). PARAMETA plans to use this investment to expand its own blockchain technology research and development capabilities to meet RWA technology needs and expand from core technologies such as engines/chains to service applications. Relevant services are expected to be launched within the year.

  • Incheon, South Korea launches blockchain hub city

    South Korea announced on the 28th that it will establish a blockchain technology innovation support center in the Songdo Michu Building in the second half of this year. Incheon was finally selected as a participant in the "2024 Regional Blockchain Technology Innovation Support Center Construction Project" jointly organized by the Korean Ministry of Science, ICT and Future Planning and the Korea Internet & Security Agency (KISA). Incheon is the third region to be selected after Busan and Daegu. In February last year, Incheon established a dedicated blockchain department and formulated a four-year plan to create a blockchain center city, which was promised by Incheon Mayor Liu Zhengfu. After being selected, Incheon will receive KRW 1.8 billion in government funding.

  • The Oklahoma Legislature yesterday passed a bill to protect Bitcoin rights

    Mining company Hiveon posted on social media, saying that yesterday, the Oklahoma State Council passed a bill with a vote of 81:1 aimed at protecting Bitcoin rights, the result of efforts by Dennis Porter, Satoshi Action Fund, and the Oklahoma Bitcoin Association. The rights bill includes mining, buying and selling Bitcoin, self-custody, and running nodes; the bill was passed by the Senate and signed by the governor. The "mining rights" bill had previously passed in Montana and Missouri in 2023.