Remove/ignore tx version in utxo and undo
[bitcoinplatinum.git] / doc / release-notes.md
blob075c7c391104c6c5c70e6113431054f4dbc20201
1 (note: this is a temporary file, to be added-to by anybody, and moved to
2 release-notes at release time)
4 Bitcoin Core version *version* is now available from:
6   <https://bitcoin.org/bin/bitcoin-core-*version*/>
8 This is a new major version release, including new features, various bugfixes
9 and performance improvements, as well as updated translations.
11 Please report bugs using the issue tracker at github:
13   <https://github.com/bitcoin/bitcoin/issues>
15 To receive security and update notifications, please subscribe to:
17   <https://bitcoincore.org/en/list/announcements/join/>
19 Compatibility
20 ==============
22 Bitcoin Core is extensively tested on multiple operating systems using
23 the Linux kernel, macOS 10.8+, and Windows Vista and later.
25 Microsoft ended support for Windows XP on [April 8th, 2014](https://www.microsoft.com/en-us/WindowsForBusiness/end-of-xp-support).
26 No attempt is made to prevent installing or running the software on Windows XP, you
27 can still do so at your own risk but be aware that there are known instabilities.
28 Please do not report issues about Windows XP to the issue tracker.
30 Bitcoin Core should also work on most other Unix-like systems but is not
31 frequently tested on them.
33 Notable changes
34 ===============
36 Low-level RPC changes
37 ---------------------
39 - The new database model no longer stores information about transaction
40   versions of unspent outputs. This means that:
41   - The `gettxout` RPC no longer has a `version` field in the response.
42   - The `gettxoutsetinfo` RPC reports `hash_serialized_2` instead of `hash_serialized`,
43     which does not commit to the transaction versions of unspent outputs, but does
44     commit to the height and coinbase information.
45   - The `getutxos` REST path no longer reports the `txvers` field in JSON format,
46     and always reports 0 for transaction versions in the binary format
48 - Error codes have been updated to be more accurate for the following error cases:
49   - `getblock` now returns RPC_MISC_ERROR if the block can't be found on disk (for
50   example if the block has been pruned). Previously returned RPC_INTERNAL_ERROR.
51   - `pruneblockchain` now returns RPC_MISC_ERROR if the blocks cannot be pruned
52   because the node is not in pruned mode. Previously returned RPC_METHOD_NOT_FOUND.
53   - `pruneblockchain` now returns RPC_INVALID_PARAMETER if the blocks cannot be pruned
54   because the supplied timestamp is too late. Previously returned RPC_INTERNAL_ERROR.
55   - `pruneblockchain` now returns RPC_MISC_ERROR if the blocks cannot be pruned
56   because the blockchain is too short. Previously returned RPC_INTERNAL_ERROR.
57   - `setban` now returns RPC_CLIENT_INVALID_IP_OR_SUBNET if the supplied IP address
58   or subnet is invalid. Previously returned RPC_CLIENT_NODE_ALREADY_ADDED.
59   - `setban` now returns RPC_CLIENT_INVALID_IP_OR_SUBNET if the user tries to unban
60   a node that has not previously been banned. Previously returned RPC_MISC_ERROR.
61   - `removeprunedfunds` now returns RPC_WALLET_ERROR if bitcoind is unable to remove
62   the transaction. Previously returned RPC_INTERNAL_ERROR.
63   - `removeprunedfunds` now returns RPC_INVALID_PARAMETER if the transaction does not
64   exist in the wallet. Previously returned RPC_INTERNAL_ERROR.
65   - `fundrawtransaction` now returns RPC_INVALID_ADDRESS_OR_KEY if an invalid change
66   address is provided. Previously returned RPC_INVALID_PARAMETER.
67   - `fundrawtransaction` now returns RPC_WALLET_ERROR if bitcoind is unable to create
68   the transaction. The error message provides further details. Previously returned
69   RPC_INTERNAL_ERROR.
70   - `bumpfee` now returns RPC_INVALID_PARAMETER if the provided transaction has
71   descendants in the wallet. Previously returned RPC_MISC_ERROR.
72   - `bumpfee` now returns RPC_INVALID_PARAMETER if the provided transaction has
73   descendants in the mempool. Previously returned RPC_MISC_ERROR.
74   - `bumpfee` now returns RPC_WALLET_ERROR if the provided transaction has
75   has been mined or conflicts with a mined transaction. Previously returned
76   RPC_INVALID_ADDRESS_OR_KEY.
77   - `bumpfee` now returns RPC_WALLET_ERROR if the provided transaction is not
78   BIP 125 replaceable. Previously returned RPC_INVALID_ADDRESS_OR_KEY.
79   - `bumpfee` now returns RPC_WALLET_ERROR if the provided transaction has already
80   been bumped by a different transaction. Previously returned RPC_INVALID_REQUEST.
81   - `bumpfee` now returns RPC_WALLET_ERROR if the provided transaction contains
82   inputs which don't belong to this wallet. Previously returned RPC_INVALID_ADDRESS_OR_KEY.
83   - `bumpfee` now returns RPC_WALLET_ERROR if the provided transaction has multiple change
84   outputs. Previously returned RPC_MISC_ERROR.
85   - `bumpfee` now returns RPC_WALLET_ERROR if the provided transaction has no change
86   output. Previously returned RPC_MISC_ERROR.
87   - `bumpfee` now returns RPC_WALLET_ERROR if the fee is too high. Previously returned
88   RPC_MISC_ERROR.
89   - `bumpfee` now returns RPC_WALLET_ERROR if the fee is too low. Previously returned
90   RPC_MISC_ERROR.
91   - `bumpfee` now returns RPC_WALLET_ERROR if the change output is too small to bump the
92   fee. Previously returned RPC_MISC_ERROR.
94 Credits
95 =======
97 Thanks to everyone who directly contributed to this release:
100 As well as everyone that helped translating on [Transifex](https://www.transifex.com/projects/p/bitcoin/).