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

Function jsonrpc_notification_end

lightningd/jsonrpc.c:1339–1346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1337}
1338
1339void jsonrpc_notification_end(struct jsonrpc_notification *n)
1340{
1341 json_object_end(n->stream); /* closes '.params' */
1342 json_object_end(n->stream); /* closes '.' */
1343
1344 /* We guarantee to have \n\n at end of each response. */
1345 json_stream_append(n->stream, "\n\n", strlen("\n\n"));
1346}
1347
1348struct jsonrpc_request *jsonrpc_request_start_(
1349 const tal_t *ctx, const char *method,

Callers 15

notify_connectFunction · 0.85
notify_disconnectFunction · 0.85
notify_warningFunction · 0.85
notify_invoice_paymentFunction · 0.85
notify_invoice_creationFunction · 0.85
notify_channel_openedFunction · 0.85
notify_forward_eventFunction · 0.85
notify_sendpay_successFunction · 0.85
notify_sendpay_failureFunction · 0.85
notify_coin_mvtFunction · 0.85

Calls 2

json_stream_appendFunction · 0.85
json_object_endFunction · 0.50

Tested by

no test coverage detected