mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-09 15:15:12 +01:00
[rpc] remove deprecated generate method
This commit is contained in:
11
doc/release-notes-15492.md
Normal file
11
doc/release-notes-15492.md
Normal file
@@ -0,0 +1,11 @@
|
||||
Deprecated or removed RPCs
|
||||
--------------------------
|
||||
- The wallet's `generate` RPC method was deprecated in v0.18 and has now
|
||||
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.
|
||||
Reference in New Issue
Block a user