diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2020-09-17 15:06:39 +0200 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2020-09-17 15:29:52 +0200 |
commit | efc9b85e6f4aa431d308089874a18f0bbdcdd0fd (patch) | |
tree | 0f85ac4abe54a240bd9a82c4b8e9e923ea4fba10 | |
parent | be3af4f31089726267ce2dbdd6c9c153bb5aeae1 (diff) | |
download | bitcoin-efc9b85e6f4aa431d308089874a18f0bbdcdd0fd.tar.xz |
Mark send RPC experimental
-rw-r--r-- | doc/release-notes-16378.md | 5 | ||||
-rw-r--r-- | src/wallet/rpcwallet.cpp | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/release-notes-16378.md b/doc/release-notes-16378.md index b006ea1a56..958633e780 100644 --- a/doc/release-notes-16378.md +++ b/doc/release-notes-16378.md @@ -1,5 +1,6 @@ RPC --- - A new `send` RPC with similar syntax to `walletcreatefundedpsbt`, including - support for coin selection and a custom fee rate. Using the new `send` method - is encouraged: `sendmany` and `sendtoaddress` may be deprecated in a future release. + support for coin selection and a custom fee rate. The `send` RPC is experimental + and may change in subsequent releases. Using it is encouraged once it's no + longer experimental: `sendmany` and `sendtoaddress` may be deprecated in a future release. diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 62a3206802..0191f8372b 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -3874,6 +3874,7 @@ static UniValue listlabels(const JSONRPCRequest& request) static RPCHelpMan send() { return RPCHelpMan{"send", + "\nEXPERIMENTAL warning: this call may be changed in future releases.\n" "\nSend a transaction.\n", { {"outputs", RPCArg::Type::ARR, RPCArg::Optional::NO, "a json array with outputs (key-value pairs), where none of the keys are duplicated.\n" |