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

Function jsonrpc_notification_start

lightningd/jsonrpc.c:1521–1527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

notify_startFunction · 0.85

Calls 2

json_object_startFunction · 0.85

Tested by

no test coverage detected