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

Function main

plugins/pay.c:1188–1200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1186};
1187
1188int main(int argc, char *argv[])
1189{
1190 setup_locale();
1191 plugin_main(argv, init, NULL, PLUGIN_RESTARTABLE, true, NULL, commands,
1192 ARRAY_SIZE(commands), notification_subs,
1193 ARRAY_SIZE(notification_subs), NULL, 0, notification_topics,
1194 ARRAY_SIZE(notification_topics),
1195 plugin_option("disable-mpp", "flag",
1196 "Disable multi-part payments.", flag_option,
1197 flag_jsonfmt, &disablempp),
1198 NULL);
1199 io_poll_override(libplugin_pay_poll);
1200}

Callers

nothing calls this directly

Calls 3

setup_localeFunction · 0.85
plugin_mainFunction · 0.70
plugin_optionClass · 0.70

Tested by

no test coverage detected