MCPcopy Create free account
hub / github.com/ElementsProject/elements / IsDeprecatedRPCEnabled

Function IsDeprecatedRPCEnabled

src/rpc/server.cpp:352–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352bool IsDeprecatedRPCEnabled(const std::string& method)
353{
354 const std::vector<std::string> enabled_methods = gArgs.GetArgs("-deprecatedrpc");
355
356 return find(enabled_methods.begin(), enabled_methods.end(), method) != enabled_methods.end();
357}
358
359static UniValue JSONRPCExecOne(JSONRPCRequest jreq, const UniValue& req)
360{

Callers 4

FUZZ_TARGETFunction · 0.85
blockchain.cppFile · 0.85
getblockchaininfoFunction · 0.85
rpcEnableDeprecatedMethod · 0.85

Calls 3

GetArgsMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by 1

FUZZ_TARGETFunction · 0.68