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

Function jsonrpc_notification_start

lightningd/jsonrpc.c:1518–1524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1516}
1517
1518struct jsonrpc_notification *jsonrpc_notification_start(const tal_t *ctx, const char *method)
1519{
1520 struct jsonrpc_notification *n = jsonrpc_notification_start_noparams(ctx, method);
1521 json_object_start(n->stream, "params");
1522
1523 return n;
1524}
1525
1526void jsonrpc_notification_end(struct jsonrpc_notification *n)
1527{

Callers 1

notify_startFunction · 0.85

Calls 2

json_object_startFunction · 0.85

Tested by

no test coverage detected