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

  • Bank of Japan Adjusts Bond Purchase Plan for July to September

    On June 16, the Bank of Japan announced plans to purchase 355 billion yen of 1 to 3-year Japanese government bonds twice a month from July to September (previously three times a month for 255 billion yen). The plan includes purchasing 320 billion yen of 3 to 5-year Japanese government bonds twice a month (previously three times a month for 230 billion yen). Additionally, the bank will buy 335 billion yen of 5 to 10-year Japanese government bonds twice a month (previously three times a month for 240 billion yen). It also plans to purchase 100 billion yen of 10 to 25-year Japanese government bonds twice a month (previously three times a month for 80 billion yen). Lastly, the plan includes purchasing 75 billion yen of ultra-long-term (remaining maturity of over 25 years) Japanese government bonds twice a month (previously twice a month for 75 billion yen).

  • Bank of Japan: Prepared to Modify Bond Purchase Reduction Plan if Necessary in Future Policy Meetings

    On June 16, the Bank of Japan stated that it will respond flexibly if long-term interest rates rise rapidly, such as by increasing the purchase of Japanese government bonds and implementing fixed-rate bond purchase operations. It is prepared to modify the bond purchase reduction plan in future policy meetings if necessary.

  • Bank of Japan: Need to Pay Special Attention to Future Developments in the Middle East and Their Impact on Financial Markets, Economy, and Prices

    On June 16, the Bank of Japan stated that it is currently necessary to pay special attention to the future developments in the Middle East and their impact on financial markets, foreign exchange markets, the economy, and prices. It is essential to monitor global demand related to artificial intelligence and the future fluctuations in foreign exchange rates and their effects on the Japanese economy and prices.

  • Bank of Japan: Accommodative Financial Environment Expected to Persist After Policy Rate Adjustment

    On June 16, the Bank of Japan stated that it expects the accommodative financial environment to continue after the adjustment of the policy rate, providing strong support for economic activities.

  • Morgan Stanley: Hard Drive Shortage to Last at Least Until 2028, Seagate and Western Digital Set for Major Gains

    On June 16, Morgan Stanley significantly raised the target prices for Seagate Technology and Western Digital in a notice to clients, citing a survey in Asia that indicates the hard drive cycle is extending, with shortages expected to last at least until 2028. Analyst Erik Woodring raised Seagate's target price from $767 to $1,035 and Western Digital's target price from $488 to $650, maintaining an overweight rating for both. Woodring stated, "Our surveys in Asia over the past three weeks clearly show that the hard drive cycle is extending—shortages are expected to last at least until 2028—and also indicate that hard drive prices are strengthening significantly and meaningfully." The firm estimates that HDD demand is growing by 40% to 50% annually, while supply is increasing closer to 30% to 35%. Morgan Stanley noted that this gap is driving the shortage to "last at least until 2028."

  • Bank of Japan Raises Interest Rate by 25 Basis Points as Expected

    On June 16, the Bank of Japan raised its interest rate by 25 basis points, increasing the target rate from 0.75% to 1.00%, the highest level in 31 years, in line with market expectations. This decision follows three consecutive meetings where rates remained unchanged.

  • Bank of Japan to Halt Bond Purchase Reduction from April 2027

    On June 16, the Bank of Japan announced that it will suspend the reduction of bond purchases starting from April 2027, maintaining the monthly purchase scale of Japanese government bonds at approximately 2 trillion yen. The current plan to reduce the monthly purchase scale of Japanese government bonds by 200 billion yen will remain unchanged until the first quarter of 2027.

  • Japan's Interest Rates May Enter '1 Era' for the First Time in Over 30 Years

    On June 16, the market widely expects that the Bank of Japan will raise its benchmark interest rate to the highest level since 1995 during a monetary policy meeting held without the presence of its governor. According to a survey by industry media, nearly all observers of the Bank of Japan anticipate that at the end of the two-day meeting on Tuesday, policymakers will increase the benchmark rate by 25 basis points to 1%. The Bank of Japan has previously stated that Governor Kazuo Ueda has been hospitalized for treatment of a liver cyst infection and will submit his opinions to the board in writing, without participating in the vote in person. This anticipated rate hike will be the first by the Bank of Japan since December of last year, coinciding with the central bank's efforts to address inflationary risks stemming from conflicts in the Middle East, despite a peace agreement being on the verge of formal signing. The market will closely monitor any clues regarding when the Bank of Japan may take further action, as traders are concerned that if the yen weakens, Japanese authorities may intervene in the foreign exchange market after the meeting concludes.

  • US Spot Ethereum ETF Sees Net Inflow of $22.58 Million Yesterday

    On June 16, according to monitoring by Trader T, the US spot Ethereum ETF experienced a net inflow of $22.58 million yesterday.

  • US Spot Bitcoin ETF Sees Net Outflow of $64.84 Million

    On June 16, according to monitoring by Trader T, the US spot Bitcoin ETF experienced a net outflow of $64.84 million yesterday.