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

Function plugin_config

lightningd/plugin.c:2209–2221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2207}
2208
2209static void
2210plugin_config(struct plugin *plugin)
2211{
2212 struct jsonrpc_request *req;
2213
2214 plugin_set_timeout(plugin);
2215 req = jsonrpc_request_start(plugin, "init", NULL,
2216 plugin->log, NULL, plugin_config_cb, plugin);
2217 plugin_populate_init_request(plugin, req);
2218 jsonrpc_request_end(req);
2219 plugin_request_send(plugin, req);
2220 plugin->plugin_state = AWAITING_INIT_RESPONSE;
2221}
2222
2223bool plugins_config(struct plugins *plugins)
2224{

Callers 1

plugins_configFunction · 0.85

Calls 4

plugin_set_timeoutFunction · 0.85
jsonrpc_request_endFunction · 0.70
plugin_request_sendFunction · 0.70

Tested by

no test coverage detected