MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / listCommands

Method listCommands

src/rpc/server.cpp:519–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

517}
518
519std::vector<std::string> CRPCTable::listCommands() const
520{
521 std::vector<std::string> commandList;
522 commandList.reserve(mapCommands.size());
523 for (const auto& i : mapCommands) commandList.emplace_back(i.first);
524 return commandList;
525}
526
527UniValue CRPCTable::dumpArgMap(const JSONRPCRequest& args_request) const
528{

Callers 2

GetRPCCommandsMethod · 0.80
listRpcCommandsMethod · 0.80

Calls 3

reserveMethod · 0.45
sizeMethod · 0.45
emplace_backMethod · 0.45

Tested by 1

GetRPCCommandsMethod · 0.64