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

Function command_check_done

lightningd/jsonrpc.c:53–62  ·  view source on GitHub ↗

We immediately respond with success if we reach here. */

Source from the content-addressed store, hash-verified

51
52/* We immediately respond with success if we reach here. */
53struct command_result *command_check_done(struct command *cmd)
54{
55 struct json_stream *response;
56
57 assert(cmd->mode == CMD_CHECK);
58
59 response = json_stream_success(cmd);
60 json_add_string(response, "command_to_check", cmd->json_cmd->name);
61 return command_success(cmd, response);
62}
63
64struct command_result *command_its_complicated(const char *relationship_details
65 UNNEEDED)

Callers 15

json_openchannel_abortFunction · 0.70
json_openchannel_bumpFunction · 0.70
json_openchannel_signedFunction · 0.70
json_openchannel_updateFunction · 0.70
json_openchannel_initFunction · 0.70
json_queryratesFunction · 0.70
json_signmessageFunction · 0.70
json_checkmessageFunction · 0.70
json_disconnectFunction · 0.70
json_setchannelFunction · 0.70
json_dev_reenable_commitFunction · 0.70
json_dev_forget_channelFunction · 0.70

Calls 3

json_stream_successFunction · 0.70
command_successFunction · 0.70
json_add_stringFunction · 0.50

Tested by

no test coverage detected