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

Function json_listincoming

plugins/topology.c:575–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

573}
574
575static struct command_result *json_listincoming(struct command *cmd,
576 const char *buffer,
577 const jsmntok_t *params)
578{
579 struct out_req *req;
580
581 if (!param(cmd, buffer, params, NULL))
582 return command_param_failed();
583
584 /* Add local info */
585 req = jsonrpc_request_start(cmd, "listpeerchannels",
586 listpeerchannels_listincoming_done,
587 plugin_broken_cb, NULL);
588 return send_outreq(req);
589}
590
591static void memleak_mark(struct plugin *p, struct htable *memtable)
592{

Callers

nothing calls this directly

Calls 3

command_param_failedFunction · 0.70
send_outreqFunction · 0.70
paramFunction · 0.50

Tested by

no test coverage detected