From 01df011ca2bf46ee4c988b03a130eea6df692325 Mon Sep 17 00:00:00 2001 From: Jon Atack Date: Wed, 22 Mar 2023 15:28:55 -0700 Subject: [PATCH] doc: release note for wallet RPCs "warning" field deprecation --- doc/release-notes-27279.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/release-notes-27279.md diff --git a/doc/release-notes-27279.md b/doc/release-notes-27279.md new file mode 100644 index 00000000000..b664aee755d --- /dev/null +++ b/doc/release-notes-27279.md @@ -0,0 +1,10 @@ +Wallet +------ + +- In the createwallet, loadwallet, unloadwallet, and restorewallet RPCs, the + "warning" string field is deprecated in favor of a "warnings" field that + returns a JSON array of strings to better handle multiple warning messages and + for consistency with other wallet RPCs. The "warning" field will be fully + removed from these RPCs in v26. It can be temporarily re-enabled during the + deprecation period by launching bitcoind with the configuration option + `-deprecatedrpc=walletwarningfield`. (#27279)