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

Function notify_plugin_shutdown

lightningd/notification.c:667–674  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

665REGISTER_NOTIFICATION(shutdown, NULL);
666
667bool notify_plugin_shutdown(struct lightningd *ld, struct plugin *p)
668{
669 struct jsonrpc_notification *n =
670 jsonrpc_notification_start(NULL, "shutdown");
671
672 jsonrpc_notification_end(n);
673 return plugin_single_notify(p, take(n));
674}

Callers 2

shutdown_pluginsFunction · 0.85
plugin_dynamic_stopFunction · 0.85

Calls 3

jsonrpc_notification_endFunction · 0.85
plugin_single_notifyFunction · 0.85

Tested by

no test coverage detected