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

Function command_finished

plugins/libplugin.c:296–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296struct command_result *command_finished(struct command *cmd,
297 struct json_stream *response)
298{
299 /* "result" or "error" object */
300 json_object_end(response);
301
302 return command_complete(cmd, response);
303}
304
305struct command_result *WARN_UNUSED_RESULT
306command_still_pending(struct command *cmd)

Callers 15

htlc_accepted_continueFunction · 0.70
sendpsbt_doneFunction · 0.70
finish_txprepareFunction · 0.70
unreserve_doneFunction · 0.70
json_paystatusFunction · 0.70
listsendpays_doneFunction · 0.70
on_payment_successFunction · 0.70
on_payment_failureFunction · 0.70
process_getutxoutFunction · 0.70

Calls 2

command_completeFunction · 0.85
json_object_endFunction · 0.50

Tested by 2

json_peer_connectedFunction · 0.40
testrpc_cbFunction · 0.40