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

Function plugin_set_timeout

lightningd/plugin.c:1968–1980  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1966}
1967
1968static void plugin_set_timeout(struct plugin *p)
1969{
1970 /* Don't timeout if they're running a debugger. */
1971 if (debugging(p))
1972 p->timeout_timer = NULL;
1973 else {
1974 p->timeout_timer
1975 = new_reltimer(p->plugins->ld->timers, p,
1976 time_from_sec(PLUGIN_STARTUP_TIMEOUT),
1977 plugin_manifest_timeout, p);
1978 }
1979
1980}
1981const char *plugin_send_getmanifest(struct plugin *p, const char *cmd_id)
1982{
1983 char **cmd;

Callers 2

plugin_send_getmanifestFunction · 0.85
plugin_configFunction · 0.85

Calls 2

time_from_secFunction · 0.85
debuggingFunction · 0.70

Tested by

no test coverage detected