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

Function opt_clear_plugins

lightningd/options.c:521–532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

519}
520
521static char *opt_clear_plugins(struct lightningd *ld)
522{
523 clear_plugins(ld->plugins);
524
525 /* Remove from configvars too! */
526 for (size_t i = 0; i < tal_count(ld->configvars); i++) {
527 if (streq(ld->configvars[i]->optvar, "plugin")
528 || streq(ld->configvars[i]->optvar, "plugin-dir"))
529 ld->configvars[i]->overridden = true;
530 }
531 return NULL;
532}
533
534static char *opt_important_plugin(const char *arg, struct lightningd *ld)
535{

Callers

nothing calls this directly

Calls 1

clear_pluginsFunction · 0.85

Tested by

no test coverage detected