mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 07:09:15 +01:00
Merge #15647: [rpc] Remove deprecated functionality message from validateaddress help
be8b9c62bf[rpc] Remove deprecated functionality message from validateaddress help (John Newbery) Pull request description: This functionality was removed in v0.18. ACKs for commit be8b9c: MarcoFalke: utACKbe8b9c62bffanquake: utACKbe8b9c6Tree-SHA512: 7e30f1e56020aa3a59e736574075191155866788156d0d30eaf963c0a5015ad0de43787c6b73a765319f2dccec0117a2230a312d18ca3f9be3986ce3de4afdb3
This commit is contained in:
@@ -34,11 +34,7 @@ static UniValue validateaddress(const JSONRPCRequest& request)
|
||||
if (request.fHelp || request.params.size() != 1)
|
||||
throw std::runtime_error(
|
||||
RPCHelpMan{"validateaddress",
|
||||
"\nReturn information about the given bitcoin address.\n"
|
||||
"DEPRECATION WARNING: Parts of this command have been deprecated and moved to getaddressinfo. Clients must\n"
|
||||
"transition to using getaddressinfo to access this information before upgrading to v0.18. The following deprecated\n"
|
||||
"fields have moved to getaddressinfo and will only be shown here with -deprecatedrpc=validateaddress: ismine, iswatchonly,\n"
|
||||
"script, hex, pubkeys, sigsrequired, pubkey, addresses, embedded, iscompressed, account, timestamp, hdkeypath, kdmasterkeyid.\n",
|
||||
"\nReturn information about the given bitcoin address.\n",
|
||||
{
|
||||
{"address", RPCArg::Type::STR, RPCArg::Optional::NO, "The bitcoin address to validate"},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user