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

Function command_hook_success

plugins/libplugin.c:2664–2671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2662}
2663
2664struct command_result *WARN_UNUSED_RESULT
2665command_hook_success(struct command *cmd)
2666{
2667 struct json_stream *response = jsonrpc_stream_success(cmd);
2668 assert(cmd->type == COMMAND_TYPE_HOOK);
2669 json_add_string(response, "result", "continue");
2670 return command_finished(cmd, response);
2671}
2672
2673struct command *aux_command(const struct command *cmd)
2674{

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