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

  • Cointime May 5th News Express

    1.The Federal Reserve reduced its balance sheet by $77 billion in April, and the size of its balance sheet fell below $7.4 trillion2.Former Bitmex CEO: Bitcoin will trade between $60,000 and $70,000 before August 3.SLERF total destruction exceeds 7 million USD4.ether.fi large staker initiates pledge withdrawal application for 37,140 ETH5.Web3 digital asset company Alpha Transform Holdings makes strategic investments in Arhasi and Cloudbench 6.A trader spent 402 ETH to buy 732,326 FRIEND, with an unrealized profit of $653,0007.A certain address has sold a total of 677,197 FRIEND airdrops through BunnySwap, making a profit of approximately $1.15 million8.A multi-signature wallet withdrew 915.85 billion PEPE from Binance9.The NFT project Blob team engraved the rune EPIC•EPIC•EPIC•EPIC on the Epic Satoshi block of Bitcoin’s fourth halving10.On-Chain Analyst Predicts Six to Twelve Months of 'Parabolic Advance' for Bitcoin

  • Bitcoin opens $63K futures gap as thin liquidity threatens BTC price

    Bitcoin market participants are doubting the staying power of the ongoing BTC price relief bounce.

  • Cointime May 4th News Express

    1. Hong Kong Bitcoin Spot ETF has held 4,218 BTC since its listing three days ago

  • Blockchain Asset Management announces launch of a dedicated blockchain fund for accredited investors

    Blockchain Asset Management, a cryptocurrency fund with a scale of $100 million, announced the launch of an exclusive blockchain fund for qualified investors. The specific amount of funds raised by the fund has not been disclosed yet, but it is said to have reached "eight figures", which means it is in the tens of millions of dollars. In addition, the investment threshold for the new fund is $100,000, and all investors are required to meet the approved standards (annual income exceeding $200,000, net assets exceeding $1 million).

  • Renault's BWT Alpine F1 Team announces partnership with ApeCoinDAO

    The BWT Alpine F1 team under Renault announced a partnership with ApeCoinDAO on X platform, which will introduce APE into the Alpine F1 ecosystem and collaborate with global token holders to launch peripheral products and digital assets inspired by the first ApeCoin. It is reported that according to the cooperation between the two parties, in the future, BAYC NFTs may be able to wear equipment and clothing with the Alpine team logo.

  • BTC breaks through $63,000

    The market shows BTC has broken through $63,000 and is currently trading at $63,014.9, with a daily increase of 6.11%. The market is volatile, so please exercise caution in risk management.

  • The total gas consumption on the Base chain exceeds 10,000 ETH

    According to the blockchain analysis platform Dune Analytics, the total gas consumption on the Base chain has exceeded 10,000 ETH, reaching 10,839.5062 ETH at the time of writing (equivalent to over $33.6 million at current prices). The average gas usage amount is about $0.1754 per transaction (0.000059661 ETH), and the total number of blocks has reached 13.41 million, with an average transaction volume of about 14.63 transactions per block. In addition, the data shows that the total transaction volume on the Base chain has exceeded 196.2 million, with over 8.366 million users and over 184 million user transactions at the time of writing. Furthermore, the total number of contracts created on the Base chain has exceeded 64 million, reaching 64,056,573 in the current period.

  • A wallet received 2,000 ETH from Alemeda/FTX

    As monitored by The Data Nerd, 6 hours ago, wallet 0xaEa received 2,000 ETH (approximately $6.23 million) from Alemeda/FTX. Within a week, it received a total of 8,000 ETH (approximately $24.71 million) from Alameda and deposited 6,000 ETH into Binance.

  • A single transaction with a transaction fee of up to 1.5 BTC appeared on the Bitcoin chain

    According to on-chain data tracking service monitoring , there has been a single transaction on the Bitcoin network with a transaction fee as high as 1.5 BTC, worth about $100,254. It is reported that the sender of the transaction is an address starting with "bc1p4n" and the recipient is an address starting with "bc1pqv".

  • 2 wallets deposited 211 billion SHIB into Coinbase within 10 hours

    According to The Data Nerd's monitoring, within 10 hours, 2 wallets (with the same amount of SHIB) deposited a total of 211 billion SHIB (about 5.16 million US dollars) into Coinbase. These wallets accumulated these SHIBs last week, and if sold at the current price, it would cause a small loss (about 120,000 US dollars).