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

Function plugins_notify

lightningd/plugin.c:2045–2059  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2043}
2044
2045void plugins_notify(struct plugins *plugins,
2046 const struct jsonrpc_notification *n TAKES)
2047{
2048 struct plugin *p;
2049
2050 if (taken(n))
2051 tal_steal(tmpctx, n);
2052
2053 /* If we're shutting down, ld->plugins will be NULL */
2054 if (plugins) {
2055 list_for_each(&plugins->plugins, p, list) {
2056 plugin_single_notify(p, n);
2057 }
2058 }
2059}
2060
2061static void destroy_request(struct jsonrpc_request *req,
2062 struct plugin *plugin)

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

takenFunction · 0.85
plugin_single_notifyFunction · 0.85

Tested by

no test coverage detected