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

Function main

plugins/pay.c:1260–1270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1258};
1259
1260int main(int argc, char *argv[])
1261{
1262 setup_locale();
1263 plugin_main(argv, init, PLUGIN_RESTARTABLE, true, NULL, commands,
1264 ARRAY_SIZE(commands), NULL, 0, NULL, 0,
1265 notification_topics, ARRAY_SIZE(notification_topics),
1266 plugin_option("disable-mpp", "flag",
1267 "Disable multi-part payments.",
1268 flag_option, &disablempp),
1269 NULL);
1270}

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