MCPcopy Create free account
hub / github.com/ElementsProject/lightning / get_cmdlist

Function get_cmdlist

lightningd/jsonrpc.c:316–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314static size_t num_cmdlist;
315
316static struct json_command **get_cmdlist(void)
317{
318 static struct json_command **cmdlist;
319 if (!cmdlist)
320 cmdlist = autodata_get(json_command, &num_cmdlist);
321
322 return cmdlist;
323}
324
325static void json_add_help_command(struct command *cmd,
326 struct json_stream *response,

Callers 1

jsonrpc_setupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected