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

Function json_dev_report_fds

lightningd/connect_control.c:957–969  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

955AUTODATA(json_command, &dev_suppress_gossip);
956
957static struct command_result *json_dev_report_fds(struct command *cmd,
958 const char *buffer,
959 const jsmntok_t *obj UNNEEDED,
960 const jsmntok_t *params)
961{
962 if (!param(cmd, buffer, params, NULL))
963 return command_param_failed();
964
965 subd_send_msg(cmd->ld->connectd,
966 take(towire_connectd_dev_report_fds(NULL)));
967
968 return command_success(cmd, json_stream_success(cmd));
969}
970
971static const struct json_command dev_report_fds = {
972 "dev-report-fds",

Callers

nothing calls this directly

Calls 5

command_param_failedFunction · 0.70
subd_send_msgFunction · 0.70
command_successFunction · 0.70
json_stream_successFunction · 0.70
paramFunction · 0.50

Tested by

no test coverage detected