|
1 |
| -See https://github.com/bitcoin-core/bitcoin-devwiki/wiki/28.0-Release-Notes-Draft |
| 1 | +Bitcoin Core version 28.0 is now available from: |
| 2 | + |
| 3 | + <https://bitcoincore.org/bin/bitcoin-core-28.0/> |
| 4 | + |
| 5 | +This release includes new features, various bug fixes and performance |
| 6 | +improvements, as well as updated translations. |
| 7 | + |
| 8 | +Please report bugs using the issue tracker at GitHub: |
| 9 | + |
| 10 | + <https://github.com/bitcoin/bitcoin/issues> |
| 11 | + |
| 12 | +To receive security and update notifications, please subscribe to: |
| 13 | + |
| 14 | + <https://bitcoincore.org/en/list/announcements/join/> |
| 15 | + |
| 16 | +How to Upgrade |
| 17 | +============== |
| 18 | + |
| 19 | +If you are running an older version, shut it down. Wait until it has completely |
| 20 | +shut down (which might take a few minutes in some cases), then run the |
| 21 | +installer (on Windows) or just copy over `/Applications/Bitcoin-Qt` (on macOS) |
| 22 | +or `bitcoind`/`bitcoin-qt` (on Linux). |
| 23 | + |
| 24 | +Upgrading directly from a version of Bitcoin Core that has reached its EOL is |
| 25 | +possible, but it might take some time if the data directory needs to be migrated. Old |
| 26 | +wallet versions of Bitcoin Core are generally supported. |
| 27 | + |
| 28 | +Running bitcoin core binaries on macOS requires self signing. |
| 29 | +``` |
| 30 | +cd /path/to/bitcoin-core/bin |
| 31 | +xattr -d com.apple.quarantine bitcoin-cli bitcoin-qt bitcoin-tx bitcoin-util bitcoin-wallet bitcoind test_bitcoin |
| 32 | +codesign -s - bitcoin-cli bitcoin-qt bitcoin-tx bitcoin-util bitcoin-wallet bitcoind test_bitcoin |
| 33 | +``` |
| 34 | + |
| 35 | +Compatibility |
| 36 | +============== |
| 37 | + |
| 38 | +Bitcoin Core is supported and extensively tested on operating systems |
| 39 | +using the Linux Kernel 3.17+, macOS 11.0+, and Windows 7 and newer. Bitcoin |
| 40 | +Core should also work on most other Unix-like systems but is not as |
| 41 | +frequently tested on them. It is not recommended to use Bitcoin Core on |
| 42 | +unsupported systems. |
| 43 | + |
| 44 | +Notable changes |
| 45 | +=============== |
| 46 | + |
| 47 | +Testnet4/BIP94 support |
| 48 | +----- |
| 49 | + |
| 50 | +Support for Testnet4 as specified in [BIP94](https://github.com/bitcoin/bips/blob/master/bip-0094.mediawiki) |
| 51 | +has been added. The network can be selected with the `-testnet4` option and |
| 52 | +the section header is also named `[testnet4]`. |
| 53 | + |
| 54 | +While the intention is to phase out support for Testnet3 in an upcoming |
| 55 | +version, support for it is still available via the known options in this |
| 56 | +release. |
| 57 | + |
| 58 | +Windows Data Directory |
| 59 | +---------------------- |
| 60 | + |
| 61 | +The default data directory on Windows has been moved from `C:\Users\Username\AppData\Roaming\Bitcoin` |
| 62 | +to `C:\Users\Username\AppData\Local\Bitcoin`. Bitcoin Core will check the existence |
| 63 | +of the old directory first and continue to use that directory for backwards |
| 64 | +compatibility if it is present. (#27064) |
| 65 | + |
| 66 | +P2P and network changes |
| 67 | +----------------------- |
| 68 | + |
| 69 | +- Previously if Bitcoin Core was listening for P2P connections, either using |
| 70 | + default settings or via `bind=addr:port` it would always also bind to |
| 71 | + `127.0.0.1:8334` to listen for Tor connections. It was not possible to switch |
| 72 | + this off, even if the node didn't use Tor. This has been changed and now |
| 73 | + `bind=addr:port` results in binding on `addr:port` only. The default behavior |
| 74 | + of binding to `0.0.0.0:8333` and `127.0.0.1:8334` has not been changed. |
| 75 | + |
| 76 | + If you are using a `bind=...` configuration without `bind=...=onion` and rely |
| 77 | + on the previous implied behavior to accept incoming Tor connections at |
| 78 | + `127.0.0.1:8334`, you need to now make this explicit by using |
| 79 | + `bind=... bind=127.0.0.1:8334=onion`. (#22729) |
| 80 | + |
| 81 | +- Bitcoin Core will now fail to start up if any of its P2P binds fail, rather |
| 82 | + than the previous behaviour where it would only abort startup if all P2P |
| 83 | + binds had failed. (#22729) |
| 84 | + |
| 85 | +- UNIX domain sockets can now be used for proxy connections. Set `-onion` or `-proxy` |
| 86 | +to the local socket path with the prefix `unix:` (e.g. `-onion=unix:/home/me/torsocket`). |
| 87 | +(#27375) |
| 88 | + |
| 89 | +- unix socket paths are now accepted for `-zmqpubrawblock` and `-zmqpubrawtx` with |
| 90 | +the format `-zmqpubrawtx=unix:/path/to/file` |
| 91 | + |
| 92 | +- Additional flags "in" and "out" have been added to `-whitelist` to control whether |
| 93 | + permissions apply to incoming connections and/or manual (default: incoming only). |
| 94 | + |
| 95 | +- Transactions that are too low feerate will be opportunistically paired with their child |
| 96 | +transactions and submitted as a package, thus enabling the node to download |
| 97 | +1-parent-1-child packages using the existing transaction relay protocol. Combined with |
| 98 | +other mempool policies, this allows limited "package relay" when a parent transaction |
| 99 | +is below mempool minimum feerate; TRUC parents are additionally allowed to be below |
| 100 | +minimum relay feerate (i.e. pay 0 fees). Use the `submitpackage` RPC to submit packages |
| 101 | +directly to the node. Warning: this p2p feature is limited (unlike the `submitpackage` |
| 102 | +interface, a child with multiple unconfirmed parents is not supported) and not yet |
| 103 | +reliable under adversarial conditions. (#28970) |
| 104 | + |
| 105 | +Mempool Policy Changes |
| 106 | +---------------------- |
| 107 | + |
| 108 | +- Transactions with version number set to 3 are now treated as standard on all networks (#29496), |
| 109 | + subject to Opt-in Topologically Restricted Until Confirmation (TRUC) Transactions policy as |
| 110 | + described in [BIP 431](https://github.com/bitcoin/bips/blob/master/bip-0431.mediawiki). The |
| 111 | + policy includes limits on spending unconfirmed outputs (#28948), eviction of a previous descendant |
| 112 | + if a more incentive-compatible one is submitted (#29306), and a maximum transaction size of 10,000vB |
| 113 | + (#29873). These restrictions simplify the assessment of incentive compatibility of accepting or |
| 114 | + replacing TRUC transactions, thus ensuring any replacements are more profitable for the node and |
| 115 | + making fee-bumping more reliable. |
| 116 | + |
| 117 | +- Pay To Anchor (P2A) is a new standard witness output type for spending, |
| 118 | + a newly recognised output template. This allows for key-less anchor |
| 119 | + outputs, with compact spending conditions for additional efficiencies on |
| 120 | + top of an equivalent `sh(OP_TRUE)` output, in addition to the txid stability |
| 121 | + of the spending transaction. |
| 122 | + N.B. propagation of this output spending on the network will be limited |
| 123 | + until a sufficient number of nodes on the network adopt this upgrade. |
| 124 | + |
| 125 | +- Limited package RBF is now enabled, where the proposed conflicting package would result in |
| 126 | + a connected component, aka cluster, of size 2 in the mempool. All clusters being conflicted |
| 127 | + against must be of size 2 or lower. |
| 128 | + |
| 129 | +- `mempoolfullrbf=1` is now set by default. |
| 130 | + |
| 131 | +Updated RPCs |
| 132 | +------------ |
| 133 | + |
| 134 | +- The JSON-RPC server now recognizes JSON-RPC 2.0 requests and responds with |
| 135 | +strict adherence to the [specification](https://www.jsonrpc.org/specification). |
| 136 | +See [JSON-RPC-interface.md](https://github.com/bitcoin/bitcoin/blob/master/doc/JSON-RPC-interface.md#json-rpc-11-vs-20) for details. |
| 137 | + |
| 138 | +- The `dumptxoutset` RPC now returns the UTXO set dump in a new and |
| 139 | + improved format. At the same time the `loadtxoutset` RPC now |
| 140 | + expects this new format in dumps it tries to load. Dumps with the |
| 141 | + old format are no longer supported and need to be recreated using |
| 142 | + the new format in order to be usable. |
| 143 | + |
| 144 | +- AssumeUTXO mainnet parameters have been added for height 840,000. |
| 145 | + This means the `loadtxoutset` RPC can now be used on mainnet with |
| 146 | + the matching UTXO set from that height. |
| 147 | + |
| 148 | +- The `warnings` field in `getblockchaininfo`, `getmininginfo` and |
| 149 | + `getnetworkinfo` now returns all the active node warnings as an array |
| 150 | + of strings, instead of just a single warning. The current behaviour |
| 151 | + can temporarily be restored by running bitcoind with configuration |
| 152 | + option `-deprecatedrpc=warnings`. |
| 153 | + |
| 154 | +- Previously when using the `sendrawtransaction` rpc and specifying outputs |
| 155 | + that are already in the UXTO set an RPC error code `-27` with RPC error |
| 156 | + text "Transaction already in block chain" was returned in response. |
| 157 | + The help text has been updated to "Transaction outputs already in utxo set" |
| 158 | + to more accurately describe the source of the issue. |
| 159 | + |
| 160 | +- The default mode for the `estimatesmartfee` RPC has been updated from `conservative` to `economical`. |
| 161 | + which is expected to reduce overestimation for many users, particularly if Replace-by-Fee is an option. |
| 162 | + For users that require high confidence in their fee estimates at the cost of potentially overestimating, |
| 163 | + the `conservative` mode remains available. |
| 164 | + |
| 165 | +- An item of `unspents`, of `scantxoutset`, has two new fields: `blockhash` |
| 166 | + and `confirmations`. `blockhash` is the hash of the block where the UTXO was |
| 167 | + created. `confirmations` is the number of confirmations of the UTXO. (#30515) |
| 168 | + |
| 169 | +- `maxfeerate` and `maxburnamount` arguments are added to submitpackage. |
| 170 | + |
| 171 | +Changes to wallet related RPCs can be found in the Wallet section below. |
| 172 | + |
| 173 | +New RPCs |
| 174 | +-------- |
| 175 | + |
| 176 | +Updated REST APIs |
| 177 | +----------------- |
| 178 | +- Parameter validation for `/rest/getutxos` has been improved by rejecting |
| 179 | + truncated or overly large txids and malformed outpoint indices by raising an |
| 180 | + HTTP_BAD_REQUEST "Parse error". Previously, these malformed requests would be |
| 181 | + silently handled. (#30482, #30444) |
| 182 | + |
| 183 | +Build System |
| 184 | +------------ |
| 185 | + |
| 186 | +- GCC 11.1 or later, or Clang 16.0 or later, |
| 187 | +are now required to compile Bitcoin Core. |
| 188 | + |
| 189 | +- The minimum required glibc to run Bitcoin Core is now |
| 190 | +2.31. This means that RHEL 8 and Ubuntu 18.04 (Bionic) |
| 191 | +are no-longer supported. (#29987) |
| 192 | + |
| 193 | +- `--enable-lcov-branch-coverage` has been removed, given |
| 194 | +incompatibilities between lcov version 1 & 2. `LCOV_OPTS` |
| 195 | +should be used to set any options instead. |
| 196 | + |
| 197 | +Updated settings |
| 198 | +---------------- |
| 199 | + |
| 200 | +- When running with `-alertnotify`, an alert can now be raised multiple |
| 201 | +times instead of just once. Previously, it was only raised when unknown |
| 202 | +new consensus rules were activated, whereas the scope has now been |
| 203 | +increased to include all kernel warnings. Specifically, alerts will now |
| 204 | +also be raised when an invalid chain with a large amount of work has |
| 205 | +been detected. Additional warnings may be added in the future. |
| 206 | +(#30058) |
| 207 | + |
| 208 | +Changes to GUI or wallet related settings can be found in the GUI or Wallet section below. |
| 209 | + |
| 210 | +New settings |
| 211 | +------------ |
| 212 | + |
| 213 | +Tools and Utilities |
| 214 | +------------------- |
| 215 | + |
| 216 | +Wallet |
| 217 | +------ |
| 218 | + |
| 219 | +- The wallet now detects when wallet transactions conflict with the mempool. Mempool |
| 220 | +conflicting transactions can be seen in the `"mempoolconflicts"` field of |
| 221 | +`gettransaction`. The inputs of mempool conflicted transactions can now be respent |
| 222 | +without manually abandoning the transactions when the parent transaction is dropped |
| 223 | +from the mempool, which can cause wallet balances to appear higher. |
| 224 | + |
| 225 | +- A new `max_tx_weight` option has been added to the RPCs `fundrawtransaction`, `walletcreatefundedpsbt`, and `send`. |
| 226 | +It specifies the maximum transaction weight. If the limit is exceeded during funding, the transaction will not be built. |
| 227 | +The default value is 4,000,000 WU. |
| 228 | + |
| 229 | +- A new RPC `createwalletdescriptor` is added which allows users to add new automatically |
| 230 | +generated descriptors to their wallet. This can be used to upgrade wallets created prior to |
| 231 | +the introduction of a new standard descriptor, such as taproot. |
| 232 | + |
| 233 | +- A new RPC `gethdkeys` is added which will list all of the BIP 32 HD keys in use by all |
| 234 | +of the descriptors in the wallet. These keys can be used in conjunction with `createwalletdescriptor` |
| 235 | +to create and add single key descriptors to the wallet for a particular key that the wallet |
| 236 | +already knows. |
| 237 | + |
| 238 | +- The `sendall` RPC can spend unconfirmed change and will include additional fees as necessary |
| 239 | +for the resulting transaction to bump the unconfirmed transactions' feerates to the specified feerate. |
| 240 | + |
| 241 | +- If a `fee_rate` is specified when using the `bumpfee` RPC, the feerate is no longer restricted to |
| 242 | +following the wallet's incremental feerate of 5 sat/vb. The feerate must still be at least the sum |
| 243 | +of the original fee and the mempool's incremental feerate. |
| 244 | + |
| 245 | +GUI changes |
| 246 | +----------- |
| 247 | + |
| 248 | +- The "Migrate Wallet" menu allows users to migrate any legacy wallet in their wallet |
| 249 | +directory, regardless of the wallets loaded. (gui#824) |
| 250 | + |
| 251 | +- The "Information" window now displays the maximum mempool size along with the |
| 252 | +mempool usage. (gui#825) |
| 253 | + |
| 254 | +Low-level changes |
| 255 | +================= |
| 256 | + |
| 257 | +RPC |
| 258 | +--- |
| 259 | + |
| 260 | +Tests |
| 261 | +----- |
| 262 | + |
| 263 | +- The BIP94 timewarp attack mitigation is now active on the `regtest` network |
| 264 | + |
| 265 | +- `-testdatadir` is added to `test_bitcoin` to allow specifying the location for unit test data directories. |
| 266 | + |
| 267 | +Blockstorage |
| 268 | +------------ |
| 269 | + |
| 270 | +- Block files are now XOR'd by default with a key stored in the blocksdir. |
| 271 | +Previous releases of Bitcoin Core or previous external software will not be able to read the blocksdir with a non-zero XOR-key. |
| 272 | +Refer to the `-blocksxor` help for more details. |
| 273 | + |
| 274 | +Credits |
| 275 | +======= |
| 276 | + |
| 277 | +Thanks to everyone who directly contributed to this release: |
| 278 | +- 0xb10c |
| 279 | +- Alfonso Roman Zubeldia |
| 280 | +- Andrew Toth |
| 281 | +- AngusP |
| 282 | +- Anthony Towns |
| 283 | +- Antoine Poinsot |
| 284 | +- Anton A |
| 285 | +- Ava Chow |
| 286 | +- Ayush Singh |
| 287 | +- Ben Westgate |
| 288 | +- Brandon Odiwuor |
| 289 | +- brunoerg |
| 290 | +- bstin |
| 291 | +- Charlie |
| 292 | +- Christopher Bergqvist |
| 293 | +- Cory Fields |
| 294 | +- crazeteam |
| 295 | +- Daniela Brozzoni |
| 296 | +- David Gumberg |
| 297 | +- dergoegge |
| 298 | +- Edil Medeiros |
| 299 | +- Epic Curious |
| 300 | +- Fabian Jahr |
| 301 | +- fanquake |
| 302 | +- furszy |
| 303 | +- glozow |
| 304 | +- Greg Sanders |
| 305 | +- hanmz |
| 306 | +- Hennadii Stepanov |
| 307 | +- Hernan Marino |
| 308 | +- Hodlinator |
| 309 | +- ishaanam |
| 310 | +- ismaelsadeeq |
| 311 | +- Jadi |
| 312 | +- Jon Atack |
| 313 | +- josibake |
| 314 | +- jrakibi |
| 315 | +- kevkevin |
| 316 | +- kevkevinpal |
| 317 | +- Konstantin Akimov |
| 318 | +- laanwj |
| 319 | +- Larry Ruane |
| 320 | +- Lőrinc |
| 321 | +- Luis Schwab |
| 322 | +- Luke Dashjr |
| 323 | +- MarcoFalke |
| 324 | +- marcofleon |
| 325 | +- Marnix |
| 326 | +- Martin Saposnic |
| 327 | +- Martin Zumsande |
| 328 | +- Matt Corallo |
| 329 | +- Matthew Zipkin |
| 330 | +- Matt Whitlock |
| 331 | +- Max Edwards |
| 332 | +- Michael Dietz |
| 333 | +- Murch |
| 334 | +- nanlour |
| 335 | +- pablomartin4btc |
| 336 | +- Peter Todd |
| 337 | +- Pieter Wuille |
| 338 | +- @RandyMcMillan |
| 339 | +- RoboSchmied |
| 340 | +- Roman Zeyde |
| 341 | +- Ryan Ofsky |
| 342 | +- Sebastian Falbesoner |
| 343 | +- Sergi Delgado Segura |
| 344 | +- Sjors Provoost |
| 345 | +- spicyzboss |
| 346 | +- StevenMia |
| 347 | +- stickies-v |
| 348 | +- stratospher |
| 349 | +- Suhas Daftuar |
| 350 | +- sunerok |
| 351 | +- tdb3 |
| 352 | +- TheCharlatan |
| 353 | +- umiumi |
| 354 | +- Vasil Dimov |
| 355 | +- virtu |
| 356 | +- willcl-ark |
| 357 | + |
| 358 | +As well as to everyone that helped with translations on |
| 359 | +[Transifex](https://www.transifex.com/bitcoin/bitcoin/). |
0 commit comments