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

Function main

common/test/run-param.c:616–643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

614}
615
616int main(int argc, char *argv[])
617{
618 common_setup(argv[0]);
619 cmd = tal(tmpctx, struct command);
620 cmd->mode = CMD_NORMAL;
621 fail_msg = tal_arr(cmd, char, 10000);
622
623 zero_params();
624 sanity();
625 tok_tok();
626 null_params();
627 no_params();
628#if DEVELOPER
629 bad_programmer();
630#endif
631 dup_names();
632 five_hundred_params();
633 sendpay();
634 sendpay_nulltok();
635 advanced();
636 advanced_fail();
637 param_tests();
638 usage();
639 deprecated_rename();
640
641 printf("run-params ok\n");
642 common_shutdown();
643}

Callers

nothing calls this directly

Calls 15

common_setupFunction · 0.85
zero_paramsFunction · 0.85
tok_tokFunction · 0.85
null_paramsFunction · 0.85
no_paramsFunction · 0.85
bad_programmerFunction · 0.85
dup_namesFunction · 0.85
five_hundred_paramsFunction · 0.85
sendpayFunction · 0.85
sendpay_nulltokFunction · 0.85
advancedFunction · 0.85
advanced_failFunction · 0.85

Tested by

no test coverage detected