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

Function json_testrpc

tests/plugins/test_libplugin.c:92–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92static struct command_result *json_testrpc(struct command *cmd,
93 const char *buf,
94 const jsmntok_t *params)
95{
96 struct out_req *req;
97
98 if (!param(cmd, buf, params, NULL))
99 return command_param_failed();
100
101 req = jsonrpc_request_start(cmd->plugin, cmd, "getinfo", testrpc_cb,
102 testrpc_cb, NULL);
103 return send_outreq(cmd->plugin, req);
104}
105
106#if DEVELOPER
107static void memleak_mark(struct plugin *p, struct htable *memtable)

Callers

nothing calls this directly

Calls 3

paramFunction · 0.50
command_param_failedFunction · 0.50
send_outreqFunction · 0.50

Tested by

no test coverage detected