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

Function jsonrpc_request_end

lightningd/jsonrpc.c:1602–1609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1600}
1601
1602void jsonrpc_request_end(struct jsonrpc_request *r)
1603{
1604 json_object_end(r->stream); /* closes '.params' */
1605 json_object_end(r->stream); /* closes '.' */
1606
1607 /* We guarantee to have \n\n at end of each response. */
1608 json_stream_append(r->stream, "\n\n", strlen("\n\n"));
1609}
1610
1611static struct command_result *json_check(struct command *cmd,
1612 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