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

Function jsonrpc_stream_success

plugins/libplugin.c:253–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253struct json_stream *jsonrpc_stream_success(struct command *cmd)
254{
255 struct json_stream *js = jsonrpc_stream_start(cmd);
256
257 json_object_start(js, "result");
258 return js;
259}
260
261struct json_stream *jsonrpc_stream_fail(struct command *cmd,
262 int code,

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
process_getutxoutFunction · 0.70

Calls 2

jsonrpc_stream_startFunction · 0.85
json_object_startFunction · 0.50

Tested by 2

json_peer_connectedFunction · 0.40
testrpc_cbFunction · 0.40