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

Function main

plugins/fetchinvoice.c:1838–1851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1836};
1837
1838int main(int argc, char *argv[])
1839{
1840 setup_locale();
1841 plugin_main(argv, init, PLUGIN_RESTARTABLE, true, NULL,
1842 commands, ARRAY_SIZE(commands),
1843 /* No notifications */
1844 NULL, 0,
1845 hooks, ARRAY_SIZE(hooks),
1846 NULL, 0,
1847 plugin_option("fetchinvoice-noconnect", "flag",
1848 "Don't try to connect directly to fetch an invoice.",
1849 flag_option, &disable_connect),
1850 NULL);
1851}

Callers

nothing calls this directly

Calls 3

setup_localeFunction · 0.85
plugin_mainFunction · 0.85
plugin_optionClass · 0.70

Tested by

no test coverage detected