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

Function json_add_opt_disable_plugins

lightningd/plugin.c:2417–2424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2415}
2416
2417void json_add_opt_disable_plugins(struct json_stream *response,
2418 const struct plugins *plugins)
2419{
2420 json_array_start(response, "disable-plugin");
2421 for (size_t i = 0; i < tal_count(plugins->blacklist); i++)
2422 json_add_string(response, NULL, plugins->blacklist[i]);
2423 json_array_end(response);
2424}
2425
2426/**
2427 * Determine whether a plugin is subscribed to a given topic/method.

Callers

nothing calls this directly

Calls 3

json_array_startFunction · 0.85
json_array_endFunction · 0.85
json_add_stringFunction · 0.50

Tested by

no test coverage detected