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

Function plugin_set_timeout

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

Source from the content-addressed store, hash-verified

1954}
1955
1956static void plugin_set_timeout(struct plugin *p)
1957{
1958 /* Don't timeout if they're running a debugger. */
1959 if (debugging(p))
1960 p->timeout_timer = NULL;
1961 else {
1962 p->timeout_timer
1963 = new_reltimer(p->plugins->ld->timers, p,
1964 time_from_sec(PLUGIN_STARTUP_TIMEOUT),
1965 plugin_manifest_timeout, p);
1966 }
1967
1968}
1969const char *plugin_send_getmanifest(struct plugin *p, const char *cmd_id)
1970{
1971 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