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

Function command_hook_success

plugins/libplugin.c:2654–2661  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2652}
2653
2654struct command_result *WARN_UNUSED_RESULT
2655command_hook_success(struct command *cmd)
2656{
2657 struct json_stream *response = jsonrpc_stream_success(cmd);
2658 assert(cmd->type == COMMAND_TYPE_HOOK);
2659 json_add_string(response, "result", "continue");
2660 return command_finished(cmd, response);
2661}
2662
2663struct command *aux_command(const struct command *cmd)
2664{

Callers 15

fail_invreq_levelFunction · 0.70
createinvoice_doneFunction · 0.70
handle_errorFunction · 0.70
handle_invreq_responseFunction · 0.70
invoice_paymentFunction · 0.70
fail_inv_levelFunction · 0.70
pay_doneFunction · 0.70
send_peers_scbFunction · 0.70

Calls 3

jsonrpc_stream_successFunction · 0.70
command_finishedFunction · 0.70
json_add_stringFunction · 0.50

Tested by

no test coverage detected