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

Function plugin_register_all_complete

lightningd/plugin.c:180–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180struct command_result *plugin_register_all_complete(struct lightningd *ld,
181 struct plugin_command *pcmd)
182{
183 if (plugins_all_in_state(ld->plugins, INIT_COMPLETE))
184 return plugin_cmd_all_complete(ld->plugins, pcmd);
185
186 tal_arr_expand(&ld->plugins->plugin_cmds, pcmd);
187 return NULL;
188}
189
190static void tell_connectd_custommsgs(struct plugins *plugins)
191{

Callers 2

plugin_dynamic_startdirFunction · 0.85

Calls 2

plugins_all_in_stateFunction · 0.85
plugin_cmd_all_completeFunction · 0.85

Tested by

no test coverage detected