mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-11 21:20:39 +02:00
wallet: rpc: deprecate removeprunedfunds
This RPC has no helpful use while being both dangerous and a maintenance burden. Despite what the name says, it allows the deletion of arbitrary transactions, and `importprunedfunds` does not allow the importing of transactions not belonging to the user, and `listtransactions` does not list transactions not belonging to the wallet, so this RPC can only be used to delete transactions actually belonging to the wallet, and in the unlikely event that transactions not belonging to the wallet are present, they cause no harm except for occupying a few bytes on the users disk.
This commit is contained in:
6
doc/release-notes-removeprunedfunds.md
Normal file
6
doc/release-notes-removeprunedfunds.md
Normal file
@@ -0,0 +1,6 @@
|
||||
Updated RPCs
|
||||
------------
|
||||
|
||||
- The `removeprunedfunds` RPC has been deprecated and will be removed in the
|
||||
next major release. In order to continue using it, `bitcoind` must be started
|
||||
with the `-deprecatedrpc=removeprunedfunds` option.
|
||||
Reference in New Issue
Block a user