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

Function plugin_config

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

Source from the content-addressed store, hash-verified

2195}
2196
2197static void
2198plugin_config(struct plugin *plugin)
2199{
2200 struct jsonrpc_request *req;
2201
2202 plugin_set_timeout(plugin);
2203 req = jsonrpc_request_start(plugin, "init", NULL,
2204 plugin->log, NULL, plugin_config_cb, plugin);
2205 plugin_populate_init_request(plugin, req);
2206 jsonrpc_request_end(req);
2207 plugin_request_send(plugin, req);
2208 plugin->plugin_state = AWAITING_INIT_RESPONSE;
2209}
2210
2211bool plugins_config(struct plugins *plugins)
2212{

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