aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2018-10-11 23:14:27 +0900
committerJohn Newbery <john@johnnewbery.com>2018-10-18 17:46:48 -0400
commitc9f02955b2e9062808a9455c4ee7d52cf401eef5 (patch)
tree0b111c518e15bd3295c4d0ba29e7210db8e05b24 /doc
parentaab81720de237b258ed4e15f1b1831c11abf74f0 (diff)
downloadbitcoin-c9f02955b2e9062808a9455c4ee7d52cf401eef5.tar.xz
[wallet] Deprecate the generate RPC method
Diffstat (limited to 'doc')
-rw-r--r--doc/release-notes-14468.md15
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.