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

Function plugins_any_in_state

lightningd/plugin.c:102–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102static bool plugins_any_in_state(const struct plugins *plugins,
103 enum plugin_state state)
104{
105 const struct plugin *p;
106
107 list_for_each(&plugins->plugins, p, list) {
108 if (p->plugin_state == state)
109 return true;
110 }
111 return false;
112}
113
114static bool plugins_all_in_state(const struct plugins *plugins,
115 enum plugin_state state)

Callers 1

check_plugins_manifestsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected