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

Function command_success

lightningd/jsonrpc.c:459–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457}
458
459struct command_result *command_success(struct command *cmd,
460 struct json_stream *result)
461{
462 assert(cmd);
463 assert(cmd->json_stream == result);
464 json_object_end(result);
465 json_object_end(result);
466
467 return command_raw_complete(cmd, result);
468}
469
470struct command_result *command_failed(struct command *cmd,
471 struct json_stream *result)

Callers 15

handle_tx_broadcastFunction · 0.70
handle_dry_run_finishedFunction · 0.70
handle_psbt_changedFunction · 0.70
handle_commit_receivedFunction · 0.70
json_listconfigsFunction · 0.70
json_feeratesFunction · 0.70
json_parse_feerateFunction · 0.70
channel_cleanup_commandsFunction · 0.70
json_signmessageFunction · 0.70
listnodes_doneFunction · 0.70
json_checkmessageFunction · 0.70
peer_disconnect_doneFunction · 0.70

Calls 2

command_raw_completeFunction · 0.85
json_object_endFunction · 0.50

Tested by

no test coverage detected