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

Function plugins_all_in_state

lightningd/plugin.c:114–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114static bool plugins_all_in_state(const struct plugins *plugins,
115 enum plugin_state state)
116{
117 const struct plugin *p;
118
119 list_for_each(&plugins->plugins, p, list) {
120 if (p->plugin_state != state)
121 return false;
122 }
123 return true;
124}
125
126/* Once they've all replied with their manifests, we can order them. */
127static void check_plugins_manifests(struct plugins *plugins,

Callers 2

check_plugins_inittedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected