diff options
author | John Newbery <john@johnnewbery.com> | 2018-10-11 23:14:27 +0900 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2018-10-18 17:46:48 -0400 |
commit | c9f02955b2e9062808a9455c4ee7d52cf401eef5 (patch) | |
tree | 0b111c518e15bd3295c4d0ba29e7210db8e05b24 /doc/release-notes-14468.md | |
parent | aab81720de237b258ed4e15f1b1831c11abf74f0 (diff) | |
download | bitcoin-c9f02955b2e9062808a9455c4ee7d52cf401eef5.tar.xz |
[wallet] Deprecate the generate RPC method
Diffstat (limited to 'doc/release-notes-14468.md')
-rw-r--r-- | doc/release-notes-14468.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/release-notes-14468.md b/doc/release-notes-14468.md new file mode 100644 index 0000000000..fb0243aba8 --- /dev/null +++ b/doc/release-notes-14468.md @@ -0,0 +1,15 @@ +Wallet `generate` RPC method deprecated +--------------------------------------- + +The wallet's `generate` RPC method has been deprecated and will be fully +removed in v0.19. + +`generate` is only used for testing. The RPC call reaches across multiple +subsystems (wallet and mining), so is deprecated to simplify the wallet-node +interface. Projects that are using `generate` for testing purposes should +transition to using the `generatetoaddress` call, which does not require or use +the wallet component. Calling `generatetoaddress` with an address returned by +`getnewaddress` gives the same functionality as the old `generate` method. + +To continue using `generate` in v0.18, restart bitcoind with the +`-deprecatedrpc=generate` configuration. |