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

Function json_testrpc

tests/plugins/test_libplugin.c:152–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152static struct command_result *json_testrpc(struct command *cmd,
153 const char *buf,
154 const jsmntok_t *params)
155{
156 struct out_req *req;
157
158 if (!param(cmd, buf, params, NULL))
159 return command_param_failed();
160
161 req = jsonrpc_request_start(cmd, "getinfo", testrpc_cb,
162 testrpc_cb, NULL);
163 return send_outreq(req);
164}
165
166static struct command_result *listdatastore_ok(struct command *cmd,
167 const char *method,

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