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

Function init

plugins/commando.c:731–740  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

729}
730
731static const char *init(struct command *init_cmd,
732 const char *buf UNUSED, const jsmntok_t *config UNUSED)
733{
734 plugin = init_cmd->plugin;
735 outgoing_commands = tal_arr(plugin, struct commando *, 0);
736 incoming_commands = tal_arr(plugin, struct commando *, 0);
737 plugin_set_memleak_handler(plugin, memleak_mark_globals);
738
739 return NULL;
740}
741
742static const struct plugin_command commands[] = { {
743 "commando",

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected