Changeset View
Changeset View
Standalone View
Standalone View
doc/release-notes.md
Bitcoin ABC version 0.21.8 is now available from: | Bitcoin ABC version 0.21.8 is now available from: | ||||
<https://download.bitcoinabc.org/0.21.8/> | <https://download.bitcoinabc.org/0.21.8/> | ||||
This release includes the following features and fixes: | This release includes the following features and fixes: | ||||
Deprecated or removed RPCs | |||||
-------------------------- | |||||
- The wallet's `generate` RPC method was deprecated in v0.18 and has now | |||||
nakihito: This is the version Core deprecated the RPC with. We deprecated with v0.21.5. | |||||
been fully removed. This RPC is only used for | |||||
testing, but its implementation reached across multiple subsystems | |||||
(wallet and mining), so it has been removed to simplify the | |||||
wallet-node interface. Projects that are using `generate` for testing | |||||
purposes should transition to using the `generatetoaddress` RPC, which | |||||
does not require or use the wallet component. Calling | |||||
`generatetoaddress` with an address returned by the `getnewaddress` | |||||
RPC gives the same functionality as the old `generate` RPC. | |||||
Updated RPCs | Updated RPCs | ||||
------------ | ------------ | ||||
- The `getrawtransaction` RPC no longer checks the unspent UTXO set for | - The `getrawtransaction` RPC no longer checks the unspent UTXO set for | ||||
a transaction. The remaining behaviors are as follows: 1. If a | a transaction. The remaining behaviors are as follows: 1. If a | ||||
blockhash is provided, check the corresponding block. 2. If no | blockhash is provided, check the corresponding block. 2. If no | ||||
blockhash is provided, check the mempool. 3. If no blockhash is | blockhash is provided, check the mempool. 3. If no blockhash is | ||||
provided but txindex is enabled, also check txindex. | provided but txindex is enabled, also check txindex. | ||||
Show All 22 Lines | |||||
- The `sendrawtransaction` and `testmempoolaccept` RPC methods previously | - The `sendrawtransaction` and `testmempoolaccept` RPC methods previously | ||||
accepted an `allowhighfees` parameter to fail the mempool acceptance in case | accepted an `allowhighfees` parameter to fail the mempool acceptance in case | ||||
the transaction's fee would exceed the value of the command line argument | the transaction's fee would exceed the value of the command line argument | ||||
`-maxtxfee`. To uncouple the RPCs from the global option, they now have a | `-maxtxfee`. To uncouple the RPCs from the global option, they now have a | ||||
hardcoded default for the maximum transaction fee, that can be changed for | hardcoded default for the maximum transaction fee, that can be changed for | ||||
both RPCs on a per-call basis with the `maxfeerate` parameter. The | both RPCs on a per-call basis with the `maxfeerate` parameter. The | ||||
`allowhighfees` boolean option has been removed and replaced by the | `allowhighfees` boolean option has been removed and replaced by the | ||||
`maxfeerate` numeric option. | `maxfeerate` numeric option. | ||||
Note: some low-level RPC changes mainly useful for testing are described in the | |||||
Low-level Changes section below. | |||||
majcostaAuthorUnsubmitted Done Inline Actionsthere is no low-level changes section below majcosta: there is no low-level changes section below | |||||
nakihitoUnsubmitted Not Done Inline ActionsThis change has nothing to do with the PR. nakihito: This change has nothing to do with the PR. | |||||
- The `sendmany` RPC had an argument `minconf` that was not well specified and | - The `sendmany` RPC had an argument `minconf` that was not well specified and | ||||
would lead to RPC errors even when the wallet's coin selection would succeed. | would lead to RPC errors even when the wallet's coin selection would succeed. | ||||
The `sendtoaddress` RPC never had this check, so to normalize the behavior, | The `sendtoaddress` RPC never had this check, so to normalize the behavior, | ||||
`minconf` is now ignored in `sendmany`. If the coin selection does not | `minconf` is now ignored in `sendmany`. If the coin selection does not | ||||
succeed due to missing coins, it will still throw an RPC error. Be reminded | succeed due to missing coins, it will still throw an RPC error. Be reminded | ||||
that coin selection is influenced by the `-spendzeroconfchange`, | that coin selection is influenced by the `-spendzeroconfchange`, | ||||
`-limitancestorcount`, `-limitdescendantcount` and `-walletrejectlongchains` | `-limitancestorcount`, `-limitdescendantcount` and `-walletrejectlongchains` | ||||
command line arguments. | command line arguments. | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |
This is the version Core deprecated the RPC with. We deprecated with v0.21.5.