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

Function plugin_manifest_timeout

lightningd/plugin.c:1394–1403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1392}
1393
1394static void plugin_manifest_timeout(struct plugin *plugin)
1395{
1396 bool startup = plugin->plugins->startup;
1397
1398 plugin_kill(plugin, LOG_UNUSUAL,
1399 "timed out %s", state_desc(plugin));
1400
1401 if (startup)
1402 fatal("Can't recover from plugin failure, terminating.");
1403}
1404
1405static const char *plugin_notifications_add(const char *buffer,
1406 const jsmntok_t *result,

Callers

nothing calls this directly

Calls 3

plugin_killFunction · 0.85
state_descFunction · 0.85
fatalFunction · 0.70

Tested by

no test coverage detected