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

Function main

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

Source from the content-addressed store, hash-verified

678}
679
680int main(int argc, char *argv[])
681{
682 common_setup(argv[0]);
683 cmd = tal(tmpctx, struct command);
684 cmd->mode = CMD_NORMAL;
685 fail_msg = tal_arr(cmd, char, 10000);
686
687 zero_params();
688 sanity();
689 tok_tok();
690 null_params();
691 no_params();
692 bad_programmer();
693 dup_names();
694 five_hundred_params();
695 sendpay();
696 sendpay_nulltok();
697 advanced();
698 advanced_fail();
699 param_tests();
700 usage();
701 invalid_bech32m();
702
703 printf("run-params ok\n");
704 common_shutdown();
705}

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