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

Function json_stream_success

lightningd/jsonrpc.c:599–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

597}
598
599struct json_stream *json_stream_success(struct command *cmd)
600{
601 struct json_stream *r = json_start(cmd);
602 json_object_start(r, "result");
603 return r;
604}
605
606struct json_stream *json_stream_fail_nodata(struct command *cmd,
607 enum jsonrpc_errcode code,

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

json_startFunction · 0.85
json_object_startFunction · 0.50

Tested by

no test coverage detected