Changeset View
Changeset View
Standalone View
Standalone View
doc/release-notes.md
Bitcoin ABC version 0.15.0 is now available from: | Bitcoin ABC version 0.15.0 is now available from: | ||||
<https://download.bitcoinabc.org/0.15.0/> | <https://download.bitcoinabc.org/0.15.0/> | ||||
This release includes the following features and fixes: | This release includes the following features and fixes: | ||||
- Low level RPC error code changes (D500 / backport of PR9853) | |||||
Low-level RPC changes (D500) | |||||
---------------------------- | |||||
- Error codes have been updated to be more accurate for the following error cases: | |||||
- `getblock` now returns RPC_MISC_ERROR if the block can't be found on disk (for | |||||
example if the block has been pruned). Previously returned RPC_INTERNAL_ERROR. | |||||
- `pruneblockchain` now returns RPC_MISC_ERROR if the blocks cannot be pruned | |||||
because the node is not in pruned mode. Previously returned RPC_METHOD_NOT_FOUND. | |||||
- `pruneblockchain` now returns RPC_INVALID_PARAMETER if the blocks cannot be pruned | |||||
because the supplied timestamp is too late. Previously returned RPC_INTERNAL_ERROR. | |||||
- `pruneblockchain` now returns RPC_MISC_ERROR if the blocks cannot be pruned | |||||
because the blockchain is too short. Previously returned RPC_INTERNAL_ERROR. | |||||
- `setban` now returns RPC_CLIENT_INVALID_IP_OR_SUBNET if the supplied IP address | |||||
or subnet is invalid. Previously returned RPC_CLIENT_NODE_ALREADY_ADDED. | |||||
- `setban` now returns RPC_CLIENT_INVALID_IP_OR_SUBNET if the user tries to unban | |||||
a node that has not previously been banned. Previously returned RPC_MISC_ERROR. | |||||
- `removeprunedfunds` now returns RPC_WALLET_ERROR if bitcoind is unable to remove | |||||
the transaction. Previously returned RPC_INTERNAL_ERROR. | |||||
- `removeprunedfunds` now returns RPC_INVALID_PARAMETER if the transaction does not | |||||
exist in the wallet. Previously returned RPC_INTERNAL_ERROR. | |||||
- `fundrawtransaction` now returns RPC_INVALID_ADDRESS_OR_KEY if an invalid change | |||||
address is provided. Previously returned RPC_INVALID_PARAMETER. | |||||
- `fundrawtransaction` now returns RPC_WALLET_ERROR if bitcoind is unable to create | |||||
the transaction. The error message provides further details. Previously returned | |||||
RPC_INTERNAL_ERROR. |