Changeset View
Changeset View
Standalone View
Standalone View
doc/release-notes.md
Show All 37 Lines | - 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 RPC changes (primarily for testing) | ||||
Low-level Changes section below. | --------------------------------------------- | ||||
- 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` | ||||
Show All 25 Lines | - You import a watch-only address with the label "temporary". Later you | ||||
import the corresponding private key with the label "final". The | import the corresponding private key with the label "final". The | ||||
address's label will be changed to "final". | address's label will be changed to "final". | ||||
- You use the default settings to import a private key for an address that | - You use the default settings to import a private key for an address that | ||||
was not previously in the wallet. Its addresses will receive the default | was not previously in the wallet. Its addresses will receive the default | ||||
empty label (""). | empty label (""). | ||||
Descriptor import support | Descriptor import support | ||||
--------------------- | ------------------------- | ||||
The `importmulti` RPC now supports importing of addresses from descriptors. A "desc" parameter can be provided instead of the "scriptPubKey" in a request, as well as an optional range for ranged descriptors to specify the start and end of the range to import. More information about | The `importmulti` RPC now supports importing of addresses from descriptors. | ||||
descriptors can be found [here](https://github.com/Bitcoin-ABC/bitcoin-abc/blob/master/doc/descriptors.md). | A `desc` parameter can be provided instead of the `scriptPubKey` in a request, | ||||
as well as an optional range for ranged descriptors to specify the start and | |||||
end of the range to import. More information about descriptors can be found | |||||
[here](https://github.com/Bitcoin-ABC/bitcoin-abc/blob/master/doc/descriptors.md). | |||||
New RPC methods | New RPC methods | ||||
------------ | --------------- | ||||
- `deriveaddresses` returns one or more addresses corresponding to an [output descriptor](/doc/descriptors.md). | - `deriveaddresses` returns one or more addresses corresponding to an | ||||
[output descriptor](/doc/descriptors.md). | |||||
Miscellaneous Wallet changes | Miscellaneous Wallet changes | ||||
---------------------------- | ---------------------------- | ||||
- The key metadata will need to be upgraded the first time that the HD seed is | - The key metadata will need to be upgraded the first time that the HD seed is | ||||
available. For unencrypted wallets this will occur on wallet loading. For | available. For unencrypted wallets this will occur on wallet loading. For | ||||
encrypted wallets this will occur the first time the wallet is unlocked. | encrypted wallets this will occur the first time the wallet is unlocked. |