mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-12 23:13:25 +02:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user