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

Function jsonrpc_request_end

lightningd/jsonrpc.c:1599–1606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1597}
1598
1599void jsonrpc_request_end(struct jsonrpc_request *r)
1600{
1601 json_object_end(r->stream); /* closes '.params' */
1602 json_object_end(r->stream); /* closes '.' */
1603
1604 /* We guarantee to have \n\n at end of each response. */
1605 json_stream_append(r->stream, "\n\n", strlen("\n\n"));
1606}
1607
1608static struct command_result *json_check(struct command *cmd,
1609 const char *buffer,

Callers 13

json_checkmessageFunction · 0.70
plugin_send_getmanifestFunction · 0.70
plugin_configFunction · 0.70
plugin_set_dynamic_optFunction · 0.70
plugin_hook_call_nextFunction · 0.70
plugin_hook_db_syncFunction · 0.70
config_pluginFunction · 0.70
bitcoind_estimate_fees_Function · 0.70
bitcoind_sendrawtx_Function · 0.70
bitcoind_getchaininfo_Function · 0.70
bitcoind_getutxout_Function · 0.70

Calls 2

json_object_endFunction · 0.85
json_stream_appendFunction · 0.85

Tested by

no test coverage detected