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

Function command_complete

plugins/libplugin.c:284–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284static struct command_result *command_complete(struct command *cmd,
285 struct json_stream *result)
286{
287 /* Global object */
288 json_object_end(result);
289 json_stream_close(result, cmd);
290 ld_send(cmd->plugin, result);
291 tal_free(cmd);
292
293 return &complete;
294}
295
296struct command_result *command_finished(struct command *cmd,
297 struct json_stream *response)

Callers 4

command_finishedFunction · 0.85
command_done_rawFunction · 0.85
command_successFunction · 0.85
command_done_errFunction · 0.85

Calls 4

json_stream_closeFunction · 0.85
ld_sendFunction · 0.85
tal_freeFunction · 0.85
json_object_endFunction · 0.50

Tested by

no test coverage detected