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

Function plugin_manifest_timeout

lightningd/plugin.c:1610–1619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1608}
1609
1610static void plugin_manifest_timeout(struct plugin *plugin)
1611{
1612 bool startup = plugin->plugins->startup;
1613
1614 plugin_kill(plugin, LOG_UNUSUAL,
1615 "timed out %s", state_desc(plugin));
1616
1617 if (startup)
1618 fatal("Can't recover from plugin failure, terminating.");
1619}
1620
1621static const char *plugin_notifications_add(const char *buffer,
1622 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