26.0 Release Notes ==================
Bitcoin Core version 26.0 is now available from:
<https://bitcoincore.org/bin/bitcoin-core-26.0/>
This release includes new features, various bug fixes and performance improvements, as well as updated translations.
Please report bugs using the issue tracker at GitHub:
<https://github.com/bitcoin/bitcoin/issues>
To receive security and update notifications, please subscribe to:
<https://bitcoincore.org/en/list/announcements/join/>
How to Upgrade ==============
If you are running an older version, shut it down. Wait until it has completely
shut down (which might take a few minutes in some cases), then run the
installer (on Windows) or just copy over /Applications/Bitcoin-Qt (on macOS)
or bitcoind/bitcoin-qt (on Linux).
Upgrading directly from a version of Bitcoin Core that has reached its EOL is possible, but it might take some time if the data directory needs to be migrated. Old wallet versions of Bitcoin Core are generally supported.
Compatibility ==============
Bitcoin Core is supported and extensively tested on operating systems using the Linux kernel, macOS 11.0+, and Windows 7 and newer. Bitcoin Core should also work on most other Unix-like systems but is not as frequently tested on them. It is not recommended to use Bitcoin Core on unsupported systems.
Notable changes ===============
P2P and network changes
BIP324 was added.
It is off by default, but when enabled using -v2transport it will be negotiated
on a per-connection basis with other peers that support it too. The existing
v1 transport protocol remains fully supported.
outbound connection to each network. This improves individual resistance to eclipse attacks and network level resistance to partition attacks. Users no longer need to perform active measures to ensure being connected to multiple enabled networks. (#27213)
Pruning
-prune, the prune budget may be exceeded if it is set lower than 1100MB (i.e. MIN_DISK_SPACE_FOR_BLOCK_FILES * 2). Prune budget is normally
split evenly across each chainstate, unless the resulting prune budget per chainstate
is beneath MIN_DISK_SPACE_FOR_BLOCK_FILES in which case that value will be used. (#27596)
Updated RPCs
-rpcserialversion=0 is deprecated and will be removed in a future release. It can currently still be used by also adding
the -deprecatedrpc=serialversion option. (#28448)
hash_serialized_2 value has been removed from gettxoutsetinfo since the value it calculated contained a bug and did not take all data into account. It is superseded by
hash_serialized_3 which provides the same functionality but serves the correctly calculated hash. (#28685)
transport_protocol_type and session_id were added to the getpeerinfo RPC to indicatewhether the v2 transport protocol is in use, and if so, what the session id is.
v2transport was added to the addnode RPC to indicate whether a v2 transaction connectionis to be attempted with the peer.
finalizepsbt is now able to finalize a PSBT with inputs spending Miniscript-compatible Taproot leaves. (#27255)Changes to wallet related RPCs can be found in the Wallet section below.
New RPCs
loadtxoutset has been added, which allows loading a UTXO snapshot of the format generated by dumptxoutset. Once this snapshot is loaded, its contents will be
deserialized into a second chainstate data structure, which is then used to sync to
the network's tip.
Meanwhile, the original chainstate will complete the initial block download process in the background, eventually validating up to the block that the snapshot is based upon.
The result is a usable bitcoind instance that is current with the network tip in a matter of minutes rather than hours. UTXO snapshot are typically obtained via third-party sources (HTTP, torrent, etc.) which is reasonable since their contents are always checked by hash.
You can find more information on this process in the assumeutxo design
document (<https://github.com/bitcoin/bitcoin/blob/master/doc/design/assumeutxo.md>).
getchainstates has been added to aid in monitoring the assumeutxo sync process.
getprioritisedtransactions RPC has been added. It returns a map of all fee deltas created by theuser with prioritisetransaction, indexed by txid. The map also indicates whether each transaction is present in the mempool. (#27501)
submitpackage, has been added. It can be used to submit a list of raw hextransactions to the mempool to be evaluated as a package using consensus and mempool policy rules. These policies include package CPFP, allowing a child with high fees to bump a parent below the mempool minimum feerate (but not minimum relay feerate). (#27609)
- Warning: successful submission does not mean the transactions will propagate throughout the network, as package relay is not supported.
- Not all features are available. The package is limited to a child with all of its unconfirmed parents, and no parent may spend the output of another parent. Also, package RBF is not supported. Refer to doc/policy/packages.md for more details on package policies and limitations.
- This RPC is experimental. Its interface may change.
getaddrmaninfo has been added to view the distribution of addresses in the new and tried table of thenode's address manager across different networks(ipv4, ipv6, onion, i2p, cjdns). The RPC returns count of addresses in new and tried table as well as their sum for all networks. (#27511)
importmempool RPC has been added. It loads a valid mempool.dat file and attempts to add its contents to the mempool. This can be useful to import mempool data from another node
without having to modify the datadir contents and without having to restart the node. (#27460)
- Warning: Importing untrusted files is dangerous, especially if metadata from the file is taken over.
- If you want to apply fee deltas, it is recommended to use the getprioritisedtransactions and
prioritisetransaction RPCs instead of the apply_fee_delta_priority option to avoid
double-prioritising any already-prioritised transactions in the mempool.
Updated settings
bitcoind and bitcoin-qt will now raise an error on startupif a datadir that is being used contains a bitcoin.conf file that will be ignored, which can happen when a datadir= line is used in a bitcoin.conf file. The error message is just a diagnostic intended to prevent accidental misconfiguration, and it can be disabled to restore the previous behavior of using the datadir while ignoring the bitcoin.conf contained in it. (#27302)
-debug, -debugexclude, or -loglevel logging configurationoption now raises an error, rather than logging an easily missed warning. (#27632)
Changes to GUI or wallet related settings can be found in the GUI or Wallet section below.
New settings
Tools and Utilities
bitcoinconsensus_verify_script_with_spent_outputs function is available in libconsensus which optionally accepts the spent outputs of the transaction being verified.bitcoinconsensus_SCRIPT_FLAGS_VERIFY_TAPROOT flag is available in libconsensus that will verify scripts with the Taproot spending rules.Wallet
previously loaded (with warnings) may no longer load. For example, wallets with corrupted address book entries may no longer load. If this happens, it is recommended load the wallet in a previous version of Bitcoin Core and import the data into a new wallet. Please also report an issue to help improve the software and make wallet loading more robust in these cases. (#24914)
createwallet RPC will no longer create legacy (BDB) wallets when setting descriptors=false without also providing the
-deprecatedrpc=create_bdb option. This is because the legacy wallet is
being deprecated in a future release. (#28597)
gettransaction, listtransactions, listsinceblock RPCs now return the abandoned field for all transactions. Previously, the "abandoned" field
was only returned for sent transactions. (#25158)
listdescriptors, decodepsbt and similar RPC methods now show h rather than apostrophe (') to indicate hardened derivation. This does not apply when using the private parameter, which
matches the marker used when descriptor was generated or imported. Newly created
wallets use h. This change makes it easier to handle descriptor strings manually.
E.g. the importdescriptors RPC call is easiest to use h as the marker: '["desc": ".../0h/..."]'.
With this change listdescriptors will use h, so you can copy-paste the result,
without having to add escape characters or switch ' to 'h' manually.
Note that this changes the descriptor checksum.
For legacy wallets the hdkeypath field in getaddressinfo is unchanged,
nor is the serialization format of wallet dumps. (#26076)
getbalances RPC now returns a lastprocessedblock JSON object which contains the wallet's last processed blockhash and height at the time the balances were calculated. This result shouldn't be cached because importing new keys could invalidate it. (#26094)
gettransaction RPC now returns a lastprocessedblock JSON object which contains the wallet's last processed blockhash and height at the time the transaction information was generated. (#26094)
getwalletinfo RPC now returns a lastprocessedblock JSON object which contains the wallet's last processed blockhash and height at the time the wallet information was generated. (#26094)
options parameters ((importmulti, listunspent, fundrawtransaction, bumpfee, send, sendall, walletcreatefundedpsbt,
simulaterawtransaction), it is now possible to pass the options as named
parameters without the need for a nested object. (#26485)
This means it is possible make calls like:
src/bitcoin-cli -named bumpfee txid fee_rate=100
instead of
src/bitcoin-cli -named bumpfee txid options='{"fee_rate": 100}'
deprecatedrpc=walletwarningfield configuration option has been removed. The createwallet, loadwallet, restorewallet and unloadwallet RPCs no
longer return the "warning" string field. The same information is provided
through the "warnings" field added in v25.0, which returns a JSON array of
strings. The "warning" string field was deprecated also in v25.0. (#27757)
signrawtransactionwithkey, signrawtransactionwithwallet, walletprocesspsbt and descriptorprocesspsbt calls now return the more
specific RPCINVALIDPARAMETER error instead of RPCMISCERROR if their
sighashtype argument is malformed. (#28113)
walletprocesspsbt, and descriptorprocesspsbt return object now includes field hex (if the transaction
is complete) containing the serialized transaction
suitable for RPC sendrawtransaction. (#28414)
Descriptors
public keys are an exotic public key encoding not supported by output descriptors (as specified in BIP380 and documented in doc/descriptors.md). Bitcoin Core would previously incorrectly accept descriptors containing such hybrid keys. (#28587)
GUI changes
Contrib
bitcoin*.bash-completion to bitcoin*.bash. This means completions can be automatically loaded on demand
based on invoked commands' names when they are put into the completion
directory (found with `pkg-config --variable=completionsdir
bash-completion`) without requiring renaming. (#28507)
Low-level changes =================
Tests
for relay and mempool acceptance. The previous behaviour can be
re-enabled by setting -acceptnonstdtxn=1. (#28354)
Credits =======
Thanks to everyone who directly contributed to this release:
As well as to everyone that helped with translations on Transifex.