MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / help

Function help

src/rpcserver.cpp:219–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219UniValue help(const UniValue& params, bool fHelp)
220{
221 if (fHelp || params.size() > 1)
222 throw runtime_error(
223 "help ( \"command\" )\n"
224 "\nList all commands, or get help for a specified command.\n"
225 "\nArguments:\n"
226 "1. \"command\" (string, optional) The command to get help on\n"
227 "\nResult:\n"
228 "\"text\" (string) The help text\n"
229 );
230
231 string strCommand;
232 if (params.size() > 0)
233 strCommand = params[0].get_str();
234
235 return tableRPC.help(strCommand);
236}
237
238
239UniValue stop(const UniValue& params, bool fHelp)

Callers

nothing calls this directly

Calls 3

get_strMethod · 0.80
helpMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected