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

Function plugins_any_in_state

lightningd/plugin.c:111–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111static bool plugins_any_in_state(const struct plugins *plugins,
112 enum plugin_state state)
113{
114 const struct plugin *p;
115
116 list_for_each(&plugins->plugins, p, list) {
117 if (p->plugin_state == state)
118 return true;
119 }
120 return false;
121}
122
123static bool plugins_all_in_state(const struct plugins *plugins,
124 enum plugin_state state)

Callers 1

check_plugins_manifestsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected