scripted-diff: rpc: Rename RPCHelpMan to RPCMethod

Since this class defines the functionality of the RPC method, not
just its help text, this better reflects reality.

-BEGIN VERIFY SCRIPT-
sed -i -e 's/\bRPCHelpMan\b/RPCMethod/g' $(git grep -l RPCHelpMan src/)
-END VERIFY SCRIPT-
This commit is contained in:
Anthony Towns
2026-02-20 21:06:23 +10:00
parent 2fe76ed832
commit 4e789299af
27 changed files with 577 additions and 577 deletions

View File

@@ -711,7 +711,7 @@ static bool rest_block_filter(const std::any& context, HTTPRequest* req, const s
}
// A bit of a hack - dependency on a function defined in rpc/blockchain.cpp
RPCHelpMan getblockchaininfo();
RPCMethod getblockchaininfo();
static bool rest_chaininfo(const std::any& context, HTTPRequest* req, const std::string& uri_part)
{
@@ -738,7 +738,7 @@ static bool rest_chaininfo(const std::any& context, HTTPRequest* req, const std:
}
RPCHelpMan getdeploymentinfo();
RPCMethod getdeploymentinfo();
static bool rest_deploymentinfo(const std::any& context, HTTPRequest* req, const std::string& str_uri_part)
{